[INFO] fetching crate animality 1.0.0...
[INFO] testing animality-1.0.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate animality 1.0.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate animality 1.0.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b17d758e06ef5ef38f55de5cd3493ef835f696a0575910a0d4297992f77e0fc
[INFO] running `Command { std: "docker" "start" "-a" "3b17d758e06ef5ef38f55de5cd3493ef835f696a0575910a0d4297992f77e0fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b17d758e06ef5ef38f55de5cd3493ef835f696a0575910a0d4297992f77e0fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b17d758e06ef5ef38f55de5cd3493ef835f696a0575910a0d4297992f77e0fc", kill_on_drop: false }`
[INFO] [stdout] 3b17d758e06ef5ef38f55de5cd3493ef835f696a0575910a0d4297992f77e0fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56866aa1d4d6a20c97d016c137aaec7a3078ca521530b4a17501591b51dfd85a
[INFO] running `Command { std: "docker" "start" "-a" "56866aa1d4d6a20c97d016c137aaec7a3078ca521530b4a17501591b51dfd85a", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[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 57.02s
[INFO] running `Command { std: "docker" "inspect" "56866aa1d4d6a20c97d016c137aaec7a3078ca521530b4a17501591b51dfd85a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56866aa1d4d6a20c97d016c137aaec7a3078ca521530b4a17501591b51dfd85a", kill_on_drop: false }`
[INFO] [stdout] 56866aa1d4d6a20c97d016c137aaec7a3078ca521530b4a17501591b51dfd85a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01882287a344d1b299c3da49cf8d938b482070f63719af98012ac7a9568b0e68
[INFO] running `Command { std: "docker" "start" "-a" "01882287a344d1b299c3da49cf8d938b482070f63719af98012ac7a9568b0e68", 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.96s
[INFO] running `Command { std: "docker" "inspect" "01882287a344d1b299c3da49cf8d938b482070f63719af98012ac7a9568b0e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01882287a344d1b299c3da49cf8d938b482070f63719af98012ac7a9568b0e68", kill_on_drop: false }`
[INFO] [stdout] 01882287a344d1b299c3da49cf8d938b482070f63719af98012ac7a9568b0e68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9fa279e93b872864a5ce530622974e2b53141be31cb4a0c316a717d36715a850
[INFO] running `Command { std: "docker" "start" "-a" "9fa279e93b872864a5ce530622974e2b53141be31cb4a0c316a717d36715a850", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/animality-901a151b9789fbec)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests animality
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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 - (line 34) ... FAILED
[INFO] [stdout] test src/error.rs - error::HttpError::status_code (line 62) ... 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/error.rs - error::RequestError (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::fact (line 238) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality (line 78) ... FAILED
[INFO] [stdout] test src/error.rs - error::HttpError::message (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::image (line 197) ... FAILED
[INFO] [stdout] test src/animal.rs - animal::Animal::from_str (line 133) ... ok
[INFO] [stdout] test src/animal.rs - animal::Animal (line 30) ... ok
[INFO] [stdout] test src/lib.rs - Animality::fact_async (line 315) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::image_async (line 279) ... FAILED
[INFO] [stdout] test src/lib.rs - Animality::new (line 96) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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/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/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/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 - 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/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::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/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] ---- 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] 
[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.83s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9fa279e93b872864a5ce530622974e2b53141be31cb4a0c316a717d36715a850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fa279e93b872864a5ce530622974e2b53141be31cb4a0c316a717d36715a850", kill_on_drop: false }`
[INFO] [stdout] 9fa279e93b872864a5ce530622974e2b53141be31cb4a0c316a717d36715a850
