[INFO] fetching crate reddish-shift 0.1.2... [INFO] documenting reddish-shift-0.1.2 against beta-2024-12-08 for beta-rustdoc-1.84.0-4-retry [INFO] extracting crate reddish-shift 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate reddish-shift 0.1.2 on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate reddish-shift 0.1.2 [INFO] finished tweaking crates.io crate reddish-shift 0.1.2 [INFO] tweaked toml for crates.io crate reddish-shift 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate reddish-shift 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2249f9108f6fe9e2b0a69b67e3a8faec990f60fa9620ff60b65938f891fa1c48 [INFO] running `Command { std: "docker" "start" "-a" "2249f9108f6fe9e2b0a69b67e3a8faec990f60fa9620ff60b65938f891fa1c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2249f9108f6fe9e2b0a69b67e3a8faec990f60fa9620ff60b65938f891fa1c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2249f9108f6fe9e2b0a69b67e3a8faec990f60fa9620ff60b65938f891fa1c48", kill_on_drop: false }` [INFO] [stdout] 2249f9108f6fe9e2b0a69b67e3a8faec990f60fa9620ff60b65938f891fa1c48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ffd9b1bab7eeb1b17519fad20f438337b4265fc5be63a37a64c6fde2579f0e0 [INFO] running `Command { std: "docker" "start" "-a" "8ffd9b1bab7eeb1b17519fad20f438337b4265fc5be63a37a64c6fde2579f0e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking linux-raw-sys v0.6.4 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling vergen v8.3.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking drm-ffi v0.8.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling reddish-shift v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Documenting reddish-shift v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Module that holds Coproduct data structures, traits, and implementations [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! Think of "Coproduct" as ad-hoc enums; allowing you to do something like this [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 69 | | //! # } [INFO] [stdout] 70 | | //! ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W rustdoc::private-doc-tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / /// Enum type representing a Coproduct. Think of this as a Result, but capable [INFO] [stdout] 85 | | /// of supporting any arbitrary number of types instead of just 2. [INFO] [stdout] 86 | | /// [INFO] [stdout] 87 | | /// To construct a Coproduct, you would typically declare a type using the `Coprod!` type [INFO] [stdout] ... | [INFO] [stdout] 102 | | /// # } [INFO] [stdout] 103 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / /// Instantiate a coproduct from an element. [INFO] [stdout] 123 | | /// [INFO] [stdout] 124 | | /// This is generally much nicer than nested usage of `Coproduct::{Inl, Inr}`. [INFO] [stdout] 125 | | /// The method uses a trick with type inference to automatically build the correct variant [INFO] [stdout] ... | [INFO] [stdout] 167 | | /// # } [INFO] [stdout] 168 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / /// Borrow an element from a coproduct by type. [INFO] [stdout] 178 | | /// [INFO] [stdout] 179 | | /// # Example [INFO] [stdout] 180 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | /// # } [INFO] [stdout] 200 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Retrieve an element from a coproduct by type, ignoring all others. [INFO] [stdout] 210 | | /// [INFO] [stdout] 211 | | /// # Example [INFO] [stdout] 212 | | /// [INFO] [stdout] ... | [INFO] [stdout] 231 | | /// # } [INFO] [stdout] 232 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | / /// Attempt to extract a value from a coproduct (or get the remaining possibilities). [INFO] [stdout] 242 | | /// [INFO] [stdout] 243 | | /// By chaining calls to this, one can exhaustively match all variants of a coproduct. [INFO] [stdout] 244 | | /// [INFO] [stdout] ... | [INFO] [stdout] 306 | | /// assert_eq!(handle_i32_f32(I32F32::inject(3.0)), "float!"); [INFO] [stdout] 307 | | /// # } [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / /// Extract a subset of the possible types in a coproduct (or get the remaining possibilities) [INFO] [stdout] 319 | | /// [INFO] [stdout] 320 | | /// This is basically [`uninject`] on steroids. It lets you remove a number [INFO] [stdout] 321 | | /// of types from a coproduct at once, leaving behind the remainder in an `Err`. [INFO] [stdout] ... | [INFO] [stdout] 399 | | /// # } [INFO] [stdout] 400 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | / /// Convert a coproduct into another that can hold its variants. [INFO] [stdout] 415 | | /// [INFO] [stdout] 416 | | /// This converts a coproduct into another one which is capable of holding each [INFO] [stdout] 417 | | /// of its types. The most well-supported use-cases (i.e. those where type inference [INFO] [stdout] ... | [INFO] [stdout] 461 | | /// # } [INFO] [stdout] 462 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | / /// Borrow each variant of the Coproduct. [INFO] [stdout] 472 | | /// [INFO] [stdout] 473 | | /// # Example [INFO] [stdout] 474 | | /// [INFO] [stdout] ... | [INFO] [stdout] 486 | | /// # } [INFO] [stdout] 487 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / /// Borrow each variant of the `Coproduct` mutably. [INFO] [stdout] 497 | | /// [INFO] [stdout] 498 | | /// # Example [INFO] [stdout] 499 | | /// [INFO] [stdout] ... | [INFO] [stdout] 511 | | /// # } [INFO] [stdout] 512 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | / /// Use functions to transform a Coproduct into a single value. [INFO] [stdout] 522 | | /// [INFO] [stdout] 523 | | /// A variety of types are supported for the `Folder` argument: [INFO] [stdout] 524 | | /// [INFO] [stdout] ... | [INFO] [stdout] 584 | | /// # } [INFO] [stdout] 585 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | / /// Apply a function to each variant of a Coproduct. [INFO] [stdout] 595 | | /// [INFO] [stdout] 596 | | /// The transforms some `Coprod!(A, B, C, ..., E)` into some [INFO] [stdout] 597 | | /// `Coprod!(T, U, V, ..., Z)`. A variety of types are supported for the [INFO] [stdout] ... | [INFO] [stdout] 663 | | /// assert_eq!(co.map(mapper), BoolBool::Inl(true)); [INFO] [stdout] 664 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | / /// Extract the value from a coproduct with only one variant. [INFO] [stdout] 676 | | /// [INFO] [stdout] 677 | | /// # Example [INFO] [stdout] 678 | | /// [INFO] [stdout] ... | [INFO] [stdout] 687 | | /// # } [INFO] [stdout] 688 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | /// See https://github.com/mietek/ease-tween [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 287 | /// See [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.67s [INFO] [stderr] Generated /opt/rustwide/target/doc/reddish_shift/index.html [INFO] running `Command { std: "docker" "inspect" "8ffd9b1bab7eeb1b17519fad20f438337b4265fc5be63a37a64c6fde2579f0e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffd9b1bab7eeb1b17519fad20f438337b4265fc5be63a37a64c6fde2579f0e0", kill_on_drop: false }` [INFO] [stdout] 8ffd9b1bab7eeb1b17519fad20f438337b4265fc5be63a37a64c6fde2579f0e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c3ee8e7db9f37cf06f13a1b6ae176b58832e10e707e3b91a0fcdae4de557bfd [INFO] running `Command { std: "docker" "start" "-a" "0c3ee8e7db9f37cf06f13a1b6ae176b58832e10e707e3b91a0fcdae4de557bfd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling vergen v8.3.1 [INFO] [stderr] Compiling reddish-shift v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Documenting reddish-shift v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coproduct.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Module that holds Coproduct data structures, traits, and implementations [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! Think of "Coproduct" as ad-hoc enums; allowing you to do something like this [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 69 | | //! # } [INFO] [stdout] 70 | | //! ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W rustdoc::private-doc-tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / /// Enum type representing a Coproduct. Think of this as a Result, but capable [INFO] [stdout] 85 | | /// of supporting any arbitrary number of types instead of just 2. [INFO] [stdout] 86 | | /// [INFO] [stdout] 87 | | /// To construct a Coproduct, you would typically declare a type using the `Coprod!` type [INFO] [stdout] ... | [INFO] [stdout] 102 | | /// # } [INFO] [stdout] 103 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / /// Instantiate a coproduct from an element. [INFO] [stdout] 123 | | /// [INFO] [stdout] 124 | | /// This is generally much nicer than nested usage of `Coproduct::{Inl, Inr}`. [INFO] [stdout] 125 | | /// The method uses a trick with type inference to automatically build the correct variant [INFO] [stdout] ... | [INFO] [stdout] 167 | | /// # } [INFO] [stdout] 168 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / /// Borrow an element from a coproduct by type. [INFO] [stdout] 178 | | /// [INFO] [stdout] 179 | | /// # Example [INFO] [stdout] 180 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | /// # } [INFO] [stdout] 200 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Retrieve an element from a coproduct by type, ignoring all others. [INFO] [stdout] 210 | | /// [INFO] [stdout] 211 | | /// # Example [INFO] [stdout] 212 | | /// [INFO] [stdout] ... | [INFO] [stdout] 231 | | /// # } [INFO] [stdout] 232 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | / /// Attempt to extract a value from a coproduct (or get the remaining possibilities). [INFO] [stdout] 242 | | /// [INFO] [stdout] 243 | | /// By chaining calls to this, one can exhaustively match all variants of a coproduct. [INFO] [stdout] 244 | | /// [INFO] [stdout] ... | [INFO] [stdout] 306 | | /// assert_eq!(handle_i32_f32(I32F32::inject(3.0)), "float!"); [INFO] [stdout] 307 | | /// # } [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / /// Extract a subset of the possible types in a coproduct (or get the remaining possibilities) [INFO] [stdout] 319 | | /// [INFO] [stdout] 320 | | /// This is basically [`uninject`] on steroids. It lets you remove a number [INFO] [stdout] 321 | | /// of types from a coproduct at once, leaving behind the remainder in an `Err`. [INFO] [stdout] ... | [INFO] [stdout] 399 | | /// # } [INFO] [stdout] 400 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | / /// Convert a coproduct into another that can hold its variants. [INFO] [stdout] 415 | | /// [INFO] [stdout] 416 | | /// This converts a coproduct into another one which is capable of holding each [INFO] [stdout] 417 | | /// of its types. The most well-supported use-cases (i.e. those where type inference [INFO] [stdout] ... | [INFO] [stdout] 461 | | /// # } [INFO] [stdout] 462 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | / /// Borrow each variant of the Coproduct. [INFO] [stdout] 472 | | /// [INFO] [stdout] 473 | | /// # Example [INFO] [stdout] 474 | | /// [INFO] [stdout] ... | [INFO] [stdout] 486 | | /// # } [INFO] [stdout] 487 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / /// Borrow each variant of the `Coproduct` mutably. [INFO] [stdout] 497 | | /// [INFO] [stdout] 498 | | /// # Example [INFO] [stdout] 499 | | /// [INFO] [stdout] ... | [INFO] [stdout] 511 | | /// # } [INFO] [stdout] 512 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | / /// Use functions to transform a Coproduct into a single value. [INFO] [stdout] 522 | | /// [INFO] [stdout] 523 | | /// A variety of types are supported for the `Folder` argument: [INFO] [stdout] 524 | | /// [INFO] [stdout] ... | [INFO] [stdout] 584 | | /// # } [INFO] [stdout] 585 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | / /// Apply a function to each variant of a Coproduct. [INFO] [stdout] 595 | | /// [INFO] [stdout] 596 | | /// The transforms some `Coprod!(A, B, C, ..., E)` into some [INFO] [stdout] 597 | | /// `Coprod!(T, U, V, ..., Z)`. A variety of types are supported for the [INFO] [stdout] ... | [INFO] [stdout] 663 | | /// assert_eq!(co.map(mapper), BoolBool::Inl(true)); [INFO] [stdout] 664 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: documentation test in private item [INFO] [stdout] --> src/coproduct.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | / /// Extract the value from a coproduct with only one variant. [INFO] [stdout] 676 | | /// [INFO] [stdout] 677 | | /// # Example [INFO] [stdout] 678 | | /// [INFO] [stdout] ... | [INFO] [stdout] 687 | | /// # } [INFO] [stdout] 688 | | /// ``` [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.57s [INFO] [stderr] Generated /opt/rustwide/target/doc/reddish_shift/index.html [INFO] running `Command { std: "docker" "inspect" "0c3ee8e7db9f37cf06f13a1b6ae176b58832e10e707e3b91a0fcdae4de557bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3ee8e7db9f37cf06f13a1b6ae176b58832e10e707e3b91a0fcdae4de557bfd", kill_on_drop: false }` [INFO] [stdout] 0c3ee8e7db9f37cf06f13a1b6ae176b58832e10e707e3b91a0fcdae4de557bfd