[INFO] fetching crate pokemon_tcg_sdk_rs 0.1.0... [INFO] building pokemon_tcg_sdk_rs-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate pokemon_tcg_sdk_rs 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pokemon_tcg_sdk_rs 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.18 [INFO] [stderr] Downloaded ntest_test_cases v0.9.3 [INFO] [stderr] Downloaded ntest_timeout v0.9.3 [INFO] [stderr] Downloaded ntest v0.9.3 [INFO] [stderr] Downloaded native-tls v0.2.12 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded openssl-sys v0.9.104 [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded winnow v0.6.24 [INFO] [stderr] Downloaded toml_edit v0.22.22 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded openssl v0.10.68 [INFO] [stderr] Downloaded cc v1.2.10 [INFO] [stderr] Downloaded unicode-segmentation v1.11.0 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] [stderr] Downloaded rustix v0.38.43 [INFO] [stderr] Downloaded proc-macro-crate v3.2.0 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded bytes v1.9.0 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bab621b9aa4c35ce022db6c3bbff185395207057964d9227fb37f001ba598722 [INFO] running `Command { std: "docker" "start" "-a" "bab621b9aa4c35ce022db6c3bbff185395207057964d9227fb37f001ba598722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bab621b9aa4c35ce022db6c3bbff185395207057964d9227fb37f001ba598722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab621b9aa4c35ce022db6c3bbff185395207057964d9227fb37f001ba598722", kill_on_drop: false }` [INFO] [stdout] bab621b9aa4c35ce022db6c3bbff185395207057964d9227fb37f001ba598722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d028c95a2401d70966f03779501d3fe57db243b0c50b60b3923446cb8a292f8e [INFO] running `Command { std: "docker" "start" "-a" "d028c95a2401d70966f03779501d3fe57db243b0c50b60b3923446cb8a292f8e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling ntest v0.9.3 [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] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.98s [INFO] running `Command { std: "docker" "inspect" "d028c95a2401d70966f03779501d3fe57db243b0c50b60b3923446cb8a292f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d028c95a2401d70966f03779501d3fe57db243b0c50b60b3923446cb8a292f8e", kill_on_drop: false }` [INFO] [stdout] d028c95a2401d70966f03779501d3fe57db243b0c50b60b3923446cb8a292f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29f1b4a304b9df5b586ec83419a196673f80655babd6de361ddf7f5288c10b3 [INFO] running `Command { std: "docker" "start" "-a" "a29f1b4a304b9df5b586ec83419a196673f80655babd6de361ddf7f5288c10b3", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "a29f1b4a304b9df5b586ec83419a196673f80655babd6de361ddf7f5288c10b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29f1b4a304b9df5b586ec83419a196673f80655babd6de361ddf7f5288c10b3", kill_on_drop: false }` [INFO] [stdout] a29f1b4a304b9df5b586ec83419a196673f80655babd6de361ddf7f5288c10b3