[INFO] fetching crate animality 1.0.0... [INFO] testing animality-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate animality 1.0.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate animality 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11368b1be3e0339a6499f7d71afaf74c6be89d96168a6a2db2b7edcb666401b2 [INFO] running `Command { std: "docker" "start" "-a" "11368b1be3e0339a6499f7d71afaf74c6be89d96168a6a2db2b7edcb666401b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11368b1be3e0339a6499f7d71afaf74c6be89d96168a6a2db2b7edcb666401b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11368b1be3e0339a6499f7d71afaf74c6be89d96168a6a2db2b7edcb666401b2", kill_on_drop: false }` [INFO] [stdout] 11368b1be3e0339a6499f7d71afaf74c6be89d96168a6a2db2b7edcb666401b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc169da5e21ae396d1a796431712bdafa1d993bd8ba5e736a5f64f9adb9f0fbd [INFO] running `Command { std: "docker" "start" "-a" "cc169da5e21ae396d1a796431712bdafa1d993bd8ba5e736a5f64f9adb9f0fbd", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling native-tls v0.2.14 [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 21.19s [INFO] running `Command { std: "docker" "inspect" "cc169da5e21ae396d1a796431712bdafa1d993bd8ba5e736a5f64f9adb9f0fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc169da5e21ae396d1a796431712bdafa1d993bd8ba5e736a5f64f9adb9f0fbd", kill_on_drop: false }` [INFO] [stdout] cc169da5e21ae396d1a796431712bdafa1d993bd8ba5e736a5f64f9adb9f0fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce39931f284a6f1d24de0ebaa67f200fd7db40043425afac93dbbfeda7710d08 [INFO] running `Command { std: "docker" "start" "-a" "ce39931f284a6f1d24de0ebaa67f200fd7db40043425afac93dbbfeda7710d08", 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" "ce39931f284a6f1d24de0ebaa67f200fd7db40043425afac93dbbfeda7710d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce39931f284a6f1d24de0ebaa67f200fd7db40043425afac93dbbfeda7710d08", kill_on_drop: false }` [INFO] [stdout] ce39931f284a6f1d24de0ebaa67f200fd7db40043425afac93dbbfeda7710d08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6f44424c73a20a3c15b209b91b689a8b4f36fff6d77e8564828c2337c5a849e [INFO] running `Command { std: "docker" "start" "-a" "c6f44424c73a20a3c15b209b91b689a8b4f36fff6d77e8564828c2337c5a849e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/animality-0e99c9c7ea734661) [INFO] [stderr] Doc-tests animality [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] 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] [stdout] [INFO] [stderr] | [INFO] [stdout] running 14 tests [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] test src/error.rs - error::HttpError (line 29) ... FAILED [INFO] [stdout] test src/error.rs - error::RequestError (line 137) ... FAILED [INFO] [stdout] test src/error.rs - error::HttpError::message (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - Animality::fact_async (line 315) ... FAILED [INFO] [stdout] test src/lib.rs - Animality (line 78) ... 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/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - Animality::image (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - Animality::new (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - Animality::image_async (line 279) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/animal.rs - animal::Animal::from_str (line 133) ... ok [INFO] [stdout] test src/lib.rs - Animality::fact (line 238) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 33 | 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 + 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] 141 | 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 + 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] 92 | 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 + 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] 19 | 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 + 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] 316 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_315_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 322 | 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] 316 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_315_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 326 | 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] 319 | 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 + 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 (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] 82 | 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 + 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] 66 | 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 + 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] 36 | 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] 41 | 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 + 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] 40 | 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/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] 201 | 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 + 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] 100 | 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 + 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] 280 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 280 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_279_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 290 | 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] 283 | 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 + 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::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] 242 | 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 + 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.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6f44424c73a20a3c15b209b91b689a8b4f36fff6d77e8564828c2337c5a849e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f44424c73a20a3c15b209b91b689a8b4f36fff6d77e8564828c2337c5a849e", kill_on_drop: false }` [INFO] [stdout] c6f44424c73a20a3c15b209b91b689a8b4f36fff6d77e8564828c2337c5a849e