[INFO] fetching crate pokemon_tcg_sdk_rs 0.1.0... [INFO] building pokemon_tcg_sdk_rs-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate pokemon_tcg_sdk_rs 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pokemon_tcg_sdk_rs 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntest v0.9.3 [INFO] [stderr] Downloaded ntest_test_cases v0.9.3 [INFO] [stderr] Downloaded ntest_timeout v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d701a96b2afe2128fa4c9dbf62ee2ea940d3756ae164204c949ef6f656da9d1 [INFO] running `Command { std: "docker" "start" "-a" "3d701a96b2afe2128fa4c9dbf62ee2ea940d3756ae164204c949ef6f656da9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d701a96b2afe2128fa4c9dbf62ee2ea940d3756ae164204c949ef6f656da9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d701a96b2afe2128fa4c9dbf62ee2ea940d3756ae164204c949ef6f656da9d1", kill_on_drop: false }` [INFO] [stdout] 3d701a96b2afe2128fa4c9dbf62ee2ea940d3756ae164204c949ef6f656da9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8eb3a76e308cc164128f8ace809f93fc97aedf0562310047a007ee2e483bab [INFO] running `Command { std: "docker" "start" "-a" "ea8eb3a76e308cc164128f8ace809f93fc97aedf0562310047a007ee2e483bab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling 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] Compiling tokio v1.43.0 [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 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 derive_more v1.0.0 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [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 43.32s [INFO] running `Command { std: "docker" "inspect" "ea8eb3a76e308cc164128f8ace809f93fc97aedf0562310047a007ee2e483bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8eb3a76e308cc164128f8ace809f93fc97aedf0562310047a007ee2e483bab", kill_on_drop: false }` [INFO] [stdout] ea8eb3a76e308cc164128f8ace809f93fc97aedf0562310047a007ee2e483bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4e687c4c13cb394cf6829a638a5d463df67e79865a1e0f91c5a86bb4c11b305 [INFO] running `Command { std: "docker" "start" "-a" "b4e687c4c13cb394cf6829a638a5d463df67e79865a1e0f91c5a86bb4c11b305", kill_on_drop: false }` [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] [stderr] Compiling pokemon_tcg_sdk_rs v0.1.0 (/opt/rustwide/workdir) [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.55s [INFO] running `Command { std: "docker" "inspect" "b4e687c4c13cb394cf6829a638a5d463df67e79865a1e0f91c5a86bb4c11b305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e687c4c13cb394cf6829a638a5d463df67e79865a1e0f91c5a86bb4c11b305", kill_on_drop: false }` [INFO] [stdout] b4e687c4c13cb394cf6829a638a5d463df67e79865a1e0f91c5a86bb4c11b305