Build #1747927 2025-02-13 17:23:02
# rustc version
rustc 1.86.0-nightly (ef148cd7e 2025-02-12)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/socketlabs-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/socketlabs-0.2.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250212-1.86.0-nightly-ef148cd7e\", \"--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] 1377ead287192e31d6e589b9689565bb037742f2a23b571688fdcc8d48a8448f
[INFO] running `Command { std: "docker" "start" "-a" "1377ead287192e31d6e589b9689565bb037742f2a23b571688fdcc8d48a8448f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr] --> src/request.rs:32:87
[INFO] [stderr] |
[INFO] [stderr] 29 | impl<'a> Request<'a> {
[INFO] [stderr] | -- lifetime `'a` declared here
[INFO] [stderr] ...
[INFO] [stderr] 32 | pub fn new(server_id: u16, api_key: String, messages: Vec<Message<'a>>) -> Result<Request> {
[INFO] [stderr] | ^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stderr]
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] = note: `#[warn(bare_trait_objects)]` 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: 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 10 warnings (run `cargo fix --lib -p socketlabs` to apply 1 suggestion)
[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.42s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/socketlabs/index.html
[INFO] running `Command { std: "docker" "inspect" "1377ead287192e31d6e589b9689565bb037742f2a23b571688fdcc8d48a8448f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1377ead287192e31d6e589b9689565bb037742f2a23b571688fdcc8d48a8448f", kill_on_drop: false }`
[INFO] [stdout] 1377ead287192e31d6e589b9689565bb037742f2a23b571688fdcc8d48a8448f