# rustc version rustc 1.94.0-nightly (fecb335cb 2026-01-07)
# docs.rs version docsrs 0.1.0 (7bfb09c2 2026-01-03 )
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/socketlabs-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/socketlabs-0.2.1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260107-1.94.0-nightly-fecb335cb\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa1a1634d23952fc97f35b63eedfe6549b91a1b75a8067f32170df1c4d525131 [INFO] running `Command { std: "docker" "start" "-a" "fa1a1634d23952fc97f35b63eedfe6549b91a1b75a8067f32170df1c4d525131", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stderr] 47 | pub enum ErrorKind { [INFO] [stderr] | --------- `ErrorKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stderr] 47 | pub enum ErrorKind { [INFO] [stderr] | --------- `ErrorKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/request.rs:32:87 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(server_id: u16, api_key: String, messages: Vec<Message<'a>>) -> Result<Request> { [INFO] [stderr] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(server_id: u16, api_key: String, messages: Vec<Message<'a>>) -> Result<Request<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/request.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn send(&self) -> Result<Response> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn send(&self) -> Result<Response<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PostMessageErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] | | -------------------- `PostMessageErrorCode` is not local [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PostMessageErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] | | -------------------- `PostMessageErrorCode` is not local [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MessageResultErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 103 | | (MessageResultErrorCode, deserialize_messageresult, [INFO] [stderr] | | ---------------------- `MessageResultErrorCode` is not local [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MessageResultErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 103 | | (MessageResultErrorCode, deserialize_messageresult, [INFO] [stderr] | | ---------------------- `MessageResultErrorCode` is not local [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AddressResultErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 117 | | (AddressResultErrorCode, deserialize_addressresult, [INFO] [stderr] | | ---------------------- `AddressResultErrorCode` is not local [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/response.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, Deserialize, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AddressResultErrorCode` [INFO] [stderr] ... [INFO] [stderr] 85 | / create_error_codes! { [INFO] [stderr] 86 | | /// Return codes within the Response object, specifying the status of the injection request. [INFO] [stderr] 87 | | (PostMessageErrorCode, deserialize_postmessage, [INFO] [stderr] 88 | | ((Success, "Success."), [INFO] [stderr] ... | [INFO] [stderr] 117 | | (AddressResultErrorCode, deserialize_addressresult, [INFO] [stderr] | | ---------------------- `AddressResultErrorCode` is not local [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` which comes from the expansion of the macro `create_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `socketlabs` (lib) generated 11 warnings (run `cargo fix --lib -p socketlabs` to apply 3 suggestions) [INFO] [stderr] Scraping socketlabs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting socketlabs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/message.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | /// http://www.socketlabs.com/blog/introducing-api-templates/. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 106 | /// <http://www.socketlabs.com/blog/introducing-api-templates/.> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `socketlabs` (lib doc) generated 1 warning (run `cargo fix --lib -p socketlabs` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/socketlabs/index.html [INFO] running `Command { std: "docker" "inspect" "fa1a1634d23952fc97f35b63eedfe6549b91a1b75a8067f32170df1c4d525131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1a1634d23952fc97f35b63eedfe6549b91a1b75a8067f32170df1c4d525131", kill_on_drop: false }` [INFO] [stdout] fa1a1634d23952fc97f35b63eedfe6549b91a1b75a8067f32170df1c4d525131