[INFO] fetching crate some-random-api 0.3.0...
[INFO] testing some-random-api-0.3.0 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate some-random-api 0.3.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate some-random-api 0.3.0 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate some-random-api 0.3.0
[INFO] finished tweaking crates.io crate some-random-api 0.3.0
[INFO] tweaked toml for crates.io crate some-random-api 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 149 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76a8562ff05bcb59d8f4b5c1717197e901cef5d3173585d2595523c71ccb1fd5
[INFO] running `Command { std: "docker" "start" "-a" "76a8562ff05bcb59d8f4b5c1717197e901cef5d3173585d2595523c71ccb1fd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76a8562ff05bcb59d8f4b5c1717197e901cef5d3173585d2595523c71ccb1fd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76a8562ff05bcb59d8f4b5c1717197e901cef5d3173585d2595523c71ccb1fd5", kill_on_drop: false }`
[INFO] [stdout] 76a8562ff05bcb59d8f4b5c1717197e901cef5d3173585d2595523c71ccb1fd5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6ff8410fac75772bcd36c3772506b8b97d7b6fdcb76874540bf124378091c59
[INFO] running `Command { std: "docker" "start" "-a" "e6ff8410fac75772bcd36c3772506b8b97d7b6fdcb76874540bf124378091c59", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling tokio v1.42.0
[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 icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling h2 v0.3.26
[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 hyper v0.14.31
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.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 reqwest v0.11.27
[INFO] [stderr]    Compiling some-random-api v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.61s
[INFO] running `Command { std: "docker" "inspect" "e6ff8410fac75772bcd36c3772506b8b97d7b6fdcb76874540bf124378091c59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6ff8410fac75772bcd36c3772506b8b97d7b6fdcb76874540bf124378091c59", kill_on_drop: false }`
[INFO] [stdout] e6ff8410fac75772bcd36c3772506b8b97d7b6fdcb76874540bf124378091c59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a9bdce6e592a1bcfe73401949874b98c0a62b4c83589d0e21dff0540e2dd0d3
[INFO] running `Command { std: "docker" "start" "-a" "8a9bdce6e592a1bcfe73401949874b98c0a62b4c83589d0e21dff0540e2dd0d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling some-random-api v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s
[INFO] running `Command { std: "docker" "inspect" "8a9bdce6e592a1bcfe73401949874b98c0a62b4c83589d0e21dff0540e2dd0d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a9bdce6e592a1bcfe73401949874b98c0a62b4c83589d0e21dff0540e2dd0d3", kill_on_drop: false }`
[INFO] [stdout] 8a9bdce6e592a1bcfe73401949874b98c0a62b4c83589d0e21dff0540e2dd0d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0a624ded584cf401173b6e683c21b9786e2f754aab75a55e9082d3ad333b2cd2
[INFO] running `Command { std: "docker" "start" "-a" "0a624ded584cf401173b6e683c21b9786e2f754aab75a55e9082d3ad333b2cd2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/some_random_api-a332f64751dda722)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests some_random_api
[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] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/structs/welcome_image.rs - structs::welcome_image::WelcomeImage::new (line 85) ... FAILED
[INFO] [stdout] test src/endpoints/welcome.rs - endpoints::welcome::WelcomeEndpoint (line 9) ... FAILED
[INFO] [stdout] test src/endpoints/animal.rs - endpoints::animal::AnimalEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/fact.rs - endpoints::fact::FactEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/others.rs - endpoints::others::OthersEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/pokemon.rs - endpoints::pokemon::PokemonEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/image.rs - endpoints::image::ImageEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/animu.rs - endpoints::animu::AnimuEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/structs/rank_card.rs - structs::rank_card::RankCard::new (line 59) ... FAILED
[INFO] [stdout] test src/endpoints/chatbot.rs - endpoints::chatbot::ChatBotEndpoint (line 8) ... FAILED
[INFO] [stdout] test src/endpoints/premium.rs - endpoints::premium::PremiumEndpoint (line 9) ... FAILED
[INFO] [stdout] test src/endpoints/canvas/mod.rs - endpoints::canvas::CanvasEndpoint (line 13) ... FAILED
[INFO] [stdout] test src/structs/tweet.rs - structs::tweet::Tweet::new (line 25) ... ok
[INFO] [stdout] test src/client.rs - client::Client::new (line 26) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/structs/welcome_image.rs - structs::welcome_image::WelcomeImage::new (line 85) stdout ----
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"avatar url"`
[INFO] [stdout]   --> src/structs/welcome_image.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     "discriminator"
[INFO] [stdout]    |                    -
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                    help: missing `,`
[INFO] [stdout] 10 |     "avatar url",
[INFO] [stdout]    |     ^^^^^^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/welcome.rs - endpoints::welcome::WelcomeEndpoint (line 9) stdout ----
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"avatar url"`
[INFO] [stdout]   --> src/endpoints/welcome.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 "discriminator"
[INFO] [stdout]    |                                -
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                                help: missing `,`
[INFO] [stdout] 16 |                 "avatar url",
[INFO] [stdout]    |                 ^^^^^^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
[INFO] [stdout]   --> src/endpoints/welcome.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |             .set_leave(true);
[INFO] [stdout]    |                             ^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
[INFO] [stdout]   --> src/endpoints/welcome.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |         ).await?,
[INFO] [stdout]    |                 ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/animal.rs - endpoints::animal::AnimalEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/animal.rs:12:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_animal_rs_8_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).animal.bird().await?;
[INFO] [stdout]   |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/fact.rs - endpoints::fact::FactEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/fact.rs:12:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_fact_rs_8_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).fact.bird().await?;
[INFO] [stdout]   |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/others.rs - endpoints::others::OthersEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/others.rs:12:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_others_rs_8_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).others.joke().await?;
[INFO] [stdout]   |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/pokemon.rs - endpoints::pokemon::PokemonEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/pokemon.rs:12:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_pokemon_rs_8_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).pokemon.pokedex("pikachu").await?;
[INFO] [stdout]   |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/image.rs - endpoints::image::ImageEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/image.rs:12:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_image_rs_8_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).image.bird().await?;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/animu.rs - endpoints::animu::AnimuEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/animu.rs:12:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_animu_rs_8_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | Client::new(None::<String>).animu.wink().await?;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structs/rank_card.rs - structs::rank_card::RankCard::new (line 59) stdout ----
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `"avatar url"`
[INFO] [stdout]   --> src/structs/rank_card.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     "discriminator"
[INFO] [stdout]    |                    -
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                    help: missing `,`
[INFO] [stdout] 10 |     "avatar url",
[INFO] [stdout]    |     ^^^^^^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/structs/rank_card.rs:70:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_structs_rank_card_rs_59_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | .set_background_color(0x000000)?
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Infallible>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_structs_rank_card_rs_59_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use some_random_api::RankCard;
[INFO] [stdout] ...
[INFO] [stdout] 15 | .set_text_color(0xff0000)?;
[INFO] [stdout] 16 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/structs/rank_card.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_structs_rank_card_rs_59_0() {
[INFO] [stdout]    |                                      ------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 | .set_text_color(0xff0000)?;
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Infallible>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_structs_rank_card_rs_59_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use some_random_api::RankCard;
[INFO] [stdout] ...
[INFO] [stdout] 15 | .set_text_color(0xff0000)?;
[INFO] [stdout] 16 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/chatbot.rs - endpoints::chatbot::ChatBotEndpoint (line 8) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/endpoints/chatbot.rs:13:64
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_chatbot_rs_8_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | Client::new(Some("xxxxxxxxxx")).chatbot.chatbot("Hello there").await?;
[INFO] [stdout]   |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/premium.rs - endpoints::premium::PremiumEndpoint (line 9) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/endpoints/premium.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_premium_rs_9_0() {
[INFO] [stdout]    |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         .petpet("avatar url").await?,
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/endpoints/premium.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_premium_rs_9_0() {
[INFO] [stdout]    |                                      ----------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 | )?;
[INFO] [stdout]    |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_premium_rs_9_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use some_random_api::Client;
[INFO] [stdout] ...
[INFO] [stdout] 13 | )?;
[INFO] [stdout] 14 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/endpoints/canvas/mod.rs - endpoints::canvas::CanvasEndpoint (line 13) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/endpoints/canvas/mod.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_canvas_mod_rs_13_0() {
[INFO] [stdout]    |                                      --------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |         .jail("avatar url").await?,
[INFO] [stdout]    |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/endpoints/canvas/mod.rs:24:2
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_canvas_mod_rs_13_0() {
[INFO] [stdout]    |                                      --------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | )?;
[INFO] [stdout]    |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoints_canvas_mod_rs_13_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use some_random_api::Client;
[INFO] [stdout] ...
[INFO] [stdout] 14 | )?;
[INFO] [stdout] 15 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/endpoints/animal.rs - endpoints::animal::AnimalEndpoint (line 8)
[INFO] [stdout]     src/endpoints/animu.rs - endpoints::animu::AnimuEndpoint (line 8)
[INFO] [stdout]     src/endpoints/canvas/mod.rs - endpoints::canvas::CanvasEndpoint (line 13)
[INFO] [stdout]     src/endpoints/chatbot.rs - endpoints::chatbot::ChatBotEndpoint (line 8)
[INFO] [stdout]     src/endpoints/fact.rs - endpoints::fact::FactEndpoint (line 8)
[INFO] [stdout]     src/endpoints/image.rs - endpoints::image::ImageEndpoint (line 8)
[INFO] [stdout]     src/endpoints/others.rs - endpoints::others::OthersEndpoint (line 8)
[INFO] [stdout]     src/endpoints/pokemon.rs - endpoints::pokemon::PokemonEndpoint (line 8)
[INFO] [stdout]     src/endpoints/premium.rs - endpoints::premium::PremiumEndpoint (line 9)
[INFO] [stdout]     src/endpoints/welcome.rs - endpoints::welcome::WelcomeEndpoint (line 9)
[INFO] [stdout]     src/structs/rank_card.rs - structs::rank_card::RankCard::new (line 59)
[INFO] [stdout]     src/structs/welcome_image.rs - structs::welcome_image::WelcomeImage::new (line 85)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.56s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0a624ded584cf401173b6e683c21b9786e2f754aab75a55e9082d3ad333b2cd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a624ded584cf401173b6e683c21b9786e2f754aab75a55e9082d3ad333b2cd2", kill_on_drop: false }`
[INFO] [stdout] 0a624ded584cf401173b6e683c21b9786e2f754aab75a55e9082d3ad333b2cd2
