Build #2018278 2025-04-20 12:11:36
# rustc version
rustc 1.88.0-nightly (077cedc2a 2025-04-19)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/animality-1.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/animality-1.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250419-1.88.0-nightly-077cedc2a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 99c991f373f3aa1f95e4095e26bf7a919b0986ae77ccf235aa2851454de3ebf1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "99c991f373f3aa1f95e4095e26bf7a919b0986ae77ccf235aa2851454de3ebf1", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting animality v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `native_tls::TlsStream::write_all`
[INFO] [stderr] --> src/error.rs:160:18
[INFO] [stderr] |
[INFO] [stderr] 160 | /// Whenever [`native_tls::TlsStream::write_all`] fails.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `TlsStream` has no field or associated item named `write_all`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `native_tls::TlsStream::read_to_string`
[INFO] [stderr] --> src/error.rs:163:18
[INFO] [stderr] |
[INFO] [stderr] 163 | /// Whenever [`native_tls::TlsStream::read_to_string`] fails.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `TlsStream` has no field or associated item named `read_to_string`
[INFO] [stderr]
[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/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: 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: `animality` (lib doc) generated 15 warnings
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/animality/index.html
[INFO] running `Command { std: "docker" "inspect" "99c991f373f3aa1f95e4095e26bf7a919b0986ae77ccf235aa2851454de3ebf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99c991f373f3aa1f95e4095e26bf7a919b0986ae77ccf235aa2851454de3ebf1", kill_on_drop: false }`
[INFO] [stdout] 99c991f373f3aa1f95e4095e26bf7a919b0986ae77ccf235aa2851454de3ebf1