[INFO] fetching crate animality 1.0.0...
[INFO] testing animality-1.0.0 against 1.90.0 for beta-1.91-2
[INFO] extracting crate animality 1.0.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate animality 1.0.0
[INFO] finished tweaking crates.io crate animality 1.0.0
[INFO] tweaked toml for crates.io crate animality 1.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate animality 1.0.0 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 45 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded schannel v0.1.28
[INFO] [stderr]   Downloaded r-efi v5.3.0
[INFO] [stderr]   Downloaded security-framework v2.11.1
[INFO] [stderr]   Downloaded wasi v0.14.7+wasi-0.2.4
[INFO] [stderr]   Downloaded serde_json v1.0.145
[INFO] [stderr]   Downloaded core-foundation v0.9.4
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.7
[INFO] [stderr]   Downloaded security-framework-sys v2.15.0
[INFO] [stderr]   Downloaded wit-bindgen v0.46.0
[INFO] [stderr]   Downloaded wasip2 v1.0.1+wasi-0.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32c070001ec51cbf61aa2af7296b64ca25d5c7f47b88bb39a5f5b3510b9277c1
[INFO] running `Command { std: "docker" "start" "-a" "32c070001ec51cbf61aa2af7296b64ca25d5c7f47b88bb39a5f5b3510b9277c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32c070001ec51cbf61aa2af7296b64ca25d5c7f47b88bb39a5f5b3510b9277c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32c070001ec51cbf61aa2af7296b64ca25d5c7f47b88bb39a5f5b3510b9277c1", kill_on_drop: false }`
[INFO] [stdout] 32c070001ec51cbf61aa2af7296b64ca25d5c7f47b88bb39a5f5b3510b9277c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a3bfc8f04c0d40900378c54a5363dcb0b1fae61ed81554bf58b3f17de8d1784
[INFO] running `Command { std: "docker" "start" "-a" "3a3bfc8f04c0d40900378c54a5363dcb0b1fae61ed81554bf58b3f17de8d1784", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling serde_core v1.0.227
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling animality v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.12s
[INFO] running `Command { std: "docker" "inspect" "3a3bfc8f04c0d40900378c54a5363dcb0b1fae61ed81554bf58b3f17de8d1784", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a3bfc8f04c0d40900378c54a5363dcb0b1fae61ed81554bf58b3f17de8d1784", kill_on_drop: false }`
[INFO] [stdout] 3a3bfc8f04c0d40900378c54a5363dcb0b1fae61ed81554bf58b3f17de8d1784
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0b415eb08bda7cb145c0ec13cb13cb483d98afd7cb76ed92011f42a76d63710
[INFO] running `Command { std: "docker" "start" "-a" "a0b415eb08bda7cb145c0ec13cb13cb483d98afd7cb76ed92011f42a76d63710", kill_on_drop: false }`
[INFO] [stderr]    Compiling animality v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "a0b415eb08bda7cb145c0ec13cb13cb483d98afd7cb76ed92011f42a76d63710", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0b415eb08bda7cb145c0ec13cb13cb483d98afd7cb76ed92011f42a76d63710", kill_on_drop: false }`
[INFO] [stdout] a0b415eb08bda7cb145c0ec13cb13cb483d98afd7cb76ed92011f42a76d63710
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0e66ee40f3d4005f91db6eef01e59878318cc5c8ffcd7ef2df968951bb7a9393
[INFO] running `Command { std: "docker" "start" "-a" "0e66ee40f3d4005f91db6eef01e59878318cc5c8ffcd7ef2df968951bb7a9393", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/animality-92e76bfebc23400b)
[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 animality
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]   --> src/lib.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / //! # animality.rs
[INFO] [stderr]  2 | | //! 
[INFO] [stderr]  3 | | //! A simple Rust API wrapper that generates images & facts of any animal.
[INFO] [stderr]  4 | | //! 
[INFO] [stderr] ...  |
[INFO] [stderr] 54 | | //! }
[INFO] [stderr] 55 | | //! ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]   --> src/error.rs:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | / /// If the client receives an invalid HTTP status code, the error would be this.
[INFO] [stderr] 24 | | ///
[INFO] [stderr] 25 | | /// # Examples
[INFO] [stderr] 26 | | ///
[INFO] [stderr] ...  |
[INFO] [stderr] 43 | | /// }
[INFO] [stderr] 44 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]   --> src/error.rs:56:3
[INFO] [stderr]    |
[INFO] [stderr] 56 | /   /// Retrieves the HTTP error status code.
[INFO] [stderr] 57 | |   /// 
[INFO] [stderr] 58 | |   /// # Examples
[INFO] [stderr] 59 | |   ///
[INFO] [stderr] ...  |
[INFO] [stderr] 76 | |   /// }
[INFO] [stderr] 77 | |   /// ```
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/error.rs:82:3
[INFO] [stderr]     |
[INFO] [stderr]  82 | /   /// Retrieves the HTTP error status message.
[INFO] [stderr]  83 | |   /// 
[INFO] [stderr]  84 | |   /// # Examples
[INFO] [stderr]  85 | |   ///
[INFO] [stderr] ...   |
[INFO] [stderr] 102 | |   /// }
[INFO] [stderr] 103 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/error.rs:131:1
[INFO] [stderr]     |
[INFO] [stderr] 131 | / /// The error whenever the client fails to initiate a request (for various reasons)
[INFO] [stderr] 132 | | /// 
[INFO] [stderr] 133 | | /// # Examples
[INFO] [stderr] 134 | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 144 | | /// eprintln!("error! {}", error);
[INFO] [stderr] 145 | | /// ```
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]   --> src/animal.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr]  4 | / /// Represents a list of animals supported by the Animality API.
[INFO] [stderr]  5 | | /// 
[INFO] [stderr]  6 | | /// List of supported animals:
[INFO] [stderr]  7 | | /// - `cat` (`Animal::Cat`)
[INFO] [stderr] ...  |
[INFO] [stderr] 34 | | /// let dog = Animal::Dog;
[INFO] [stderr] 35 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/animal.rs:105:3
[INFO] [stderr]     |
[INFO] [stderr] 105 | /   /// Converts a string to an [`Animal`]. This conversion is case-insensitive.
[INFO] [stderr] 106 | |   /// 
[INFO] [stderr] 107 | |   /// # Errors
[INFO] [stderr] 108 | |   /// 
[INFO] [stderr] ...   |
[INFO] [stderr] 137 | |   /// let animal: Animal = "cat".parse().unwrap();
[INFO] [stderr] 138 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]   --> src/lib.rs:72:1
[INFO] [stderr]    |
[INFO] [stderr] 72 | / /// The Animality HTTPS client. This struct handles every request sent and received to the [Animality API](https://animality.xyz).
[INFO] [stderr] 73 | | ///
[INFO] [stderr] 74 | | /// # Examples
[INFO] [stderr] 75 | | ///
[INFO] [stderr] ...  |
[INFO] [stderr] 82 | | /// let animality = Animality::new("your user token");
[INFO] [stderr] 83 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/lib.rs:90:3
[INFO] [stderr]     |
[INFO] [stderr]  90 | /   /// Creates the animality HTTP client. This requires a token to use.
[INFO] [stderr]  91 | |   ///
[INFO] [stderr]  92 | |   /// # Examples
[INFO] [stderr]  93 | |   ///
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |   /// let animality = Animality::new("your user token");
[INFO] [stderr] 101 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/lib.rs:179:3
[INFO] [stderr]     |
[INFO] [stderr] 179 | /   /// Fetches a random animal image from the Animality API.
[INFO] [stderr] 180 | |   /// This request blocks the current process. To use an async version, use [`Animality::image_async`].
[INFO] [stderr] 181 | |   ///
[INFO] [stderr] 182 | |   /// # Errors
[INFO] [stderr] ...   |
[INFO] [stderr] 208 | |   /// let cat_image = client.image(cat).unwrap();
[INFO] [stderr] 209 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/lib.rs:220:3
[INFO] [stderr]     |
[INFO] [stderr] 220 | /   /// Fetches a random animal fact from the Animality API.
[INFO] [stderr] 221 | |   /// This request blocks the current process. To use an async version, use [`Animality::fact_async`].
[INFO] [stderr] 222 | |   ///
[INFO] [stderr] 223 | |   /// # Errors
[INFO] [stderr] ...   |
[INFO] [stderr] 249 | |   /// let cat_fact = client.fact(cat).unwrap();
[INFO] [stderr] 250 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/lib.rs:261:3
[INFO] [stderr]     |
[INFO] [stderr] 261 | /   /// Fetches a random animal image from the Animality API asynchronously.
[INFO] [stderr] 262 | |   /// To use the blocking version, use [`Animality::image`].
[INFO] [stderr] 263 | |   ///
[INFO] [stderr] 264 | |   /// # Errors
[INFO] [stderr] ...   |
[INFO] [stderr] 290 | |   /// let cat_image = client.image_async(cat).await?;
[INFO] [stderr] 291 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown attribute `norun`
[INFO] [stderr]    --> src/lib.rs:297:3
[INFO] [stderr]     |
[INFO] [stderr] 297 | /   /// Fetches a random animal fact from the Animality API asynchronously.
[INFO] [stderr] 298 | |   /// To use the blocking version, use [`Animality::fact`].
[INFO] [stderr] 299 | |   ///
[INFO] [stderr] 300 | |   /// # Errors
[INFO] [stderr] ...   |
[INFO] [stderr] 326 | |   /// let cat_fact = client.fact_async(cat).await?;
[INFO] [stderr] 327 | |   /// ```
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `no_run` to compile, but not run, the code sample during testing
[INFO] [stderr]     = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
[INFO] [stderr] 
[INFO] [stderr] warning: 13 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/lib.rs - Animality::fact (line 238) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 34) ... FAILED
[INFO] [stdout] test src/error.rs - error::RequestError (line 137) ... FAILED
[INFO] [stdout] test src/error.rs - error::HttpError (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::image (line 197) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::fact_async (line 315) ... FAILED
[INFO] [stdout] test src/error.rs - error::HttpError::message (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::new (line 96) ... FAILED
[INFO] [stdout] test src/error.rs - error::HttpError::status_code (line 62) ... FAILED
[INFO] [stdout] test src/animal.rs - animal::Animal (line 30) ... ok
[INFO] [stdout] test src/animal.rs - animal::Animal::from_str (line 133) ... ok
[INFO] [stdout] test src/lib.rs - Animality::image_async (line 279) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Animality::fact (line 238) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:242:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 34) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `tokio`
[INFO] [stdout]  --> src/lib.rs:36:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate tokio;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:41:31
[INFO] [stdout]     |
[INFO] [stdout]   8 |   let client = Animality::new("your token here");
[INFO] [stdout]     |                -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:40:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() -> Result<(), RequestError> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0463, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::RequestError (line 137) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/error.rs:141:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::HttpError (line 29) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/error.rs:33:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 14) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:19:31
[INFO] [stdout]     |
[INFO] [stdout]   6 |   let client = Animality::new("your token here");
[INFO] [stdout]     |                -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Animality::image (line 197) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Animality::fact_async (line 315) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:322:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_315_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let dog_fact = client.fact_async(Animal::Dog).await?;
[INFO] [stdout]   |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:326:39
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_315_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let cat_fact = client.fact_async(cat).await?;
[INFO] [stdout]    |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:319:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/error.rs - error::HttpError::message (line 88) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/error.rs:92:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Animality (line 78) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:82:32
[INFO] [stdout]     |
[INFO] [stdout]   6 | let animality = Animality::new("your user token");
[INFO] [stdout]     |                 -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Animality::new (line 96) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout]   6 | let animality = Animality::new("your user token");
[INFO] [stdout]     |                 -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error::HttpError::status_code (line 62) stdout ----
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/error.rs:66:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Animality::image_async (line 279) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:286:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let dog_image = client.image_async(Animal::Dog).await?;
[INFO] [stdout]   |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:290:41
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | let cat_image = client.image_async(cat).await?;
[INFO] [stdout]    |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:283:29
[INFO] [stdout]     |
[INFO] [stdout]   6 | let client = Animality::new("your user token");
[INFO] [stdout]     |              -------------- ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Animality::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub fn new<K: AsRef<str> + Display>(key: &K) -> Self {
[INFO] [stdout]     |              ^ required by the implicit `Sized` requirement on this type parameter in `Animality::new`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/error.rs - error::HttpError (line 29)
[INFO] [stdout]     src/error.rs - error::HttpError::message (line 88)
[INFO] [stdout]     src/error.rs - error::HttpError::status_code (line 62)
[INFO] [stdout]     src/error.rs - error::RequestError (line 137)
[INFO] [stdout]     src/lib.rs - (line 14)
[INFO] [stdout]     src/lib.rs - (line 34)
[INFO] [stdout]     src/lib.rs - Animality (line 78)
[INFO] [stdout]     src/lib.rs - Animality::fact (line 238)
[INFO] [stdout]     src/lib.rs - Animality::fact_async (line 315)
[INFO] [stdout]     src/lib.rs - Animality::image (line 197)
[INFO] [stdout]     src/lib.rs - Animality::image_async (line 279)
[INFO] [stdout]     src/lib.rs - Animality::new (line 96)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0e66ee40f3d4005f91db6eef01e59878318cc5c8ffcd7ef2df968951bb7a9393", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e66ee40f3d4005f91db6eef01e59878318cc5c8ffcd7ef2df968951bb7a9393", kill_on_drop: false }`
[INFO] [stdout] 0e66ee40f3d4005f91db6eef01e59878318cc5c8ffcd7ef2df968951bb7a9393
