[INFO] fetching crate wp-mini 0.1.4... [INFO] testing wp-mini-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wp-mini 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate wp-mini 0.1.4 [INFO] finished tweaking crates.io crate wp-mini 0.1.4 [INFO] tweaked toml for crates.io crate wp-mini 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wp-mini 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wp-mini 0.1.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac37aab1bc072ad1c6988afaf08e60a4a678d5eed67bdfb628b149dc0ee8fca [INFO] running `Command { std: "docker" "start" "-a" "8ac37aab1bc072ad1c6988afaf08e60a4a678d5eed67bdfb628b149dc0ee8fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac37aab1bc072ad1c6988afaf08e60a4a678d5eed67bdfb628b149dc0ee8fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac37aab1bc072ad1c6988afaf08e60a4a678d5eed67bdfb628b149dc0ee8fca", kill_on_drop: false }` [INFO] [stdout] 8ac37aab1bc072ad1c6988afaf08e60a4a678d5eed67bdfb628b149dc0ee8fca [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae8caa5b15ce0389f6837b3f49a9b022a81b7f2bac7722807ad3ec174367367b [INFO] running `Command { std: "docker" "start" "-a" "ae8caa5b15ce0389f6837b3f49a9b022a81b7f2bac7722807ad3ec174367367b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling hyper v1.8.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling wp-mini v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `requires_auth` and `maybe_param` are never used [INFO] [stdout] --> src/client.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl<'a> WattpadRequestBuilder<'a> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub(crate) fn requires_auth(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub(crate) fn maybe_param(mut self, key: &'static str, value: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.97s [INFO] running `Command { std: "docker" "inspect" "ae8caa5b15ce0389f6837b3f49a9b022a81b7f2bac7722807ad3ec174367367b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8caa5b15ce0389f6837b3f49a9b022a81b7f2bac7722807ad3ec174367367b", kill_on_drop: false }` [INFO] [stdout] ae8caa5b15ce0389f6837b3f49a9b022a81b7f2bac7722807ad3ec174367367b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba59ca6c371bb4e8763b2e517edc395f4b68f22c31d1960171e74dbed0e4cd79 [INFO] running `Command { std: "docker" "start" "-a" "ba59ca6c371bb4e8763b2e517edc395f4b68f22c31d1960171e74dbed0e4cd79", kill_on_drop: false }` [INFO] [stderr] Compiling wp-mini v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `requires_auth` and `maybe_param` are never used [INFO] [stdout] --> src/client.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl<'a> WattpadRequestBuilder<'a> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub(crate) fn requires_auth(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub(crate) fn maybe_param(mut self, key: &'static str, value: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `requires_auth` and `maybe_param` are never used [INFO] [stdout] --> src/client.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 249 | impl<'a> WattpadRequestBuilder<'a> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub(crate) fn requires_auth(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub(crate) fn maybe_param(mut self, key: &'static str, value: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "ba59ca6c371bb4e8763b2e517edc395f4b68f22c31d1960171e74dbed0e4cd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba59ca6c371bb4e8763b2e517edc395f4b68f22c31d1960171e74dbed0e4cd79", kill_on_drop: false }` [INFO] [stdout] ba59ca6c371bb4e8763b2e517edc395f4b68f22c31d1960171e74dbed0e4cd79 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 120542261c7d3bcf939163ee63e4e1b6610d98db11f9fb7536c0779513041c72 [INFO] running `Command { std: "docker" "start" "-a" "120542261c7d3bcf939163ee63e4e1b6610d98db11f9fb7536c0779513041c72", kill_on_drop: false }` [INFO] [stderr] warning: methods `requires_auth` and `maybe_param` are never used [INFO] [stderr] --> src/client.rs:281:19 [INFO] [stderr] | [INFO] [stderr] 249 | impl<'a> WattpadRequestBuilder<'a> { [INFO] [stderr] | ---------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 281 | pub(crate) fn requires_auth(mut self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 289 | pub(crate) fn maybe_param(mut self, key: &'static str, value: Option) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `wp-mini` (lib) generated 1 warning [INFO] [stderr] warning: `wp-mini` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wp_mini-6220a3bdcd4ad5d3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wp_mini [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_json (line 162) - compile ... FAILED [INFO] [stdout] test src/endpoints/user.rs - endpoints::user::UserClient::get_user_info (line 38) - compile ... FAILED [INFO] [stdout] test src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_raw (line 125) - compile ... FAILED [INFO] [stdout] test src/model/part_reference.rs - model::part_reference::PartReference::fetch_full_part (line 36) - compile ... FAILED [INFO] [stdout] test src/endpoints/story.rs - endpoints::story::StoryClient::get_story_content_zip (line 205) - compile ... FAILED [INFO] [stdout] test src/endpoints/story.rs - endpoints::story::StoryClient::get_part_info (line 80) - compile ... FAILED [INFO] [stdout] test src/model/user_stub.rs - model::user_stub::UserStub::fetch_full_profile (line 41) - compile ... FAILED [INFO] [stdout] test src/model/part_stub.rs - model::part_stub::PartStub::fetch_full_part (line 69) - compile ... FAILED [INFO] [stdout] test src/field/macros.rs - field::macros::impl_field_display (line 20) ... FAILED [INFO] [stdout] test src/endpoints/story.rs - endpoints::story::StoryClient::get_story_info (line 35) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_json (line 162) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | use wattpad::WattpadClient; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/story.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/story.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/endpoints/user.rs - endpoints::user::UserClient::get_user_info (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/user.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use wattpad::{WattpadClient, field::UserField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/user.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use wattpad::{WattpadClient, field::UserField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/user.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/user.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/user.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_raw (line 125) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use wattpad::WattpadClient; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/story.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 127 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/endpoints/story.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | let content = client.story.get_part_content_raw(part_id).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 133 | println!("Fetched content snippet: {}...", content.chars().take(100).collect::()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `content` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let content: /* Type */ = client.story.get_part_content_raw(part_id).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/story.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/part_reference.rs - model::part_reference::PartReference::fetch_full_part (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/model/part_reference.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/model/part_reference.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | async fn main() -> Result<(), wp_mini::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/endpoints/story.rs - endpoints::story::StoryClient::get_story_content_zip (line 205) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | use wattpad::WattpadClient; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/story.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/endpoints/story.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | let zip_bytes = client.story.get_story_content_zip(story_id).await?; [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/endpoints/story.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let zip_bytes = client.story.get_story_content_zip(story_id).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/endpoints/story.rs:214:67 [INFO] [stdout] | [INFO] [stdout] 214 | let zip_bytes = client.story.get_story_content_zip(story_id).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/story.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/endpoints/story.rs - endpoints::story::StoryClient::get_part_info (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use wattpad::{WattpadClient, field::PartField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use wattpad::{WattpadClient, field::PartField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/story.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/story.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/user_stub.rs - model::user_stub::UserStub::fetch_full_profile (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/model/user_stub.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/model/user_stub.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | async fn main() -> Result<(), wp_mini::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model/part_stub.rs - model::part_stub::PartStub::fetch_full_part (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/model/part_stub.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/model/part_stub.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | async fn main() -> Result<(), wp_mini::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/field/macros.rs - field::macros::impl_field_display (line 20) stdout ---- [INFO] [stdout] error[E0599]: the method `to_string` exists for reference `&_doctest_main_src_field_macros_rs_20_0::UserField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/field/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum UserField { [INFO] [stdout] | -------------- doesn't satisfy `_: Display` or `_: ToString` [INFO] [stdout] ... [INFO] [stdout] 42 | impl_field_display!(StoryField, User => "user"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `&_doctest_main_src_field_macros_rs_20_0::UserField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `_doctest_main_src_field_macros_rs_20_0::UserField: std::fmt::Display` [INFO] [stdout] which is required by `_doctest_main_src_field_macros_rs_20_0::UserField: ToString` [INFO] [stdout] `&_doctest_main_src_field_macros_rs_20_0::UserField: std::fmt::Display` [INFO] [stdout] which is required by `&_doctest_main_src_field_macros_rs_20_0::UserField: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1007:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] = note: this error originates in the macro `impl_field_display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/endpoints/story.rs - endpoints::story::StoryClient::get_story_info (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use wattpad::{WattpadClient, field::StoryField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use wattpad::{WattpadClient, field::StoryField}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/endpoints/story.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/endpoints/story.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] --> src/endpoints/story.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | async fn main() -> Result<(), wattpad::WattpadError> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wattpad` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wattpad`, use `cargo add wattpad` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_json (line 162) [INFO] [stdout] src/endpoints/story.rs - endpoints::story::StoryClient::get_part_content_raw (line 125) [INFO] [stdout] src/endpoints/story.rs - endpoints::story::StoryClient::get_part_info (line 80) [INFO] [stdout] src/endpoints/story.rs - endpoints::story::StoryClient::get_story_content_zip (line 205) [INFO] [stdout] src/endpoints/story.rs - endpoints::story::StoryClient::get_story_info (line 35) [INFO] [stdout] src/endpoints/user.rs - endpoints::user::UserClient::get_user_info (line 38) [INFO] [stdout] src/field/macros.rs - field::macros::impl_field_display (line 20) [INFO] [stdout] src/model/part_reference.rs - model::part_reference::PartReference::fetch_full_part (line 36) [INFO] [stdout] src/model/part_stub.rs - model::part_stub::PartStub::fetch_full_part (line 69) [INFO] [stdout] src/model/user_stub.rs - model::user_stub::UserStub::fetch_full_profile (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.95s; merged doctests compilation took 0.38s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "120542261c7d3bcf939163ee63e4e1b6610d98db11f9fb7536c0779513041c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120542261c7d3bcf939163ee63e4e1b6610d98db11f9fb7536c0779513041c72", kill_on_drop: false }` [INFO] [stdout] 120542261c7d3bcf939163ee63e4e1b6610d98db11f9fb7536c0779513041c72