http-api-problem 0.57.0

A library to create HTTP error response content for APIs based on RFC 7807
Build #853204 2023-07-04 08:08:07

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.72.0-nightly (0ab38e95b 2023-07-03)# docs.rs version
docsrs 0.6.0 (eb803472 2023-06-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/http-api-problem-0.57.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/http-api-problem-0.57.0/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"doc_cfg\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230703-1.72.0-nightly-0ab38e95b\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--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] c8c8ff9d8e87adb26fb48ee261f771454036d75d96d992fd06818ae1713479df
[INFO] running `Command { std: "docker" "start" "-a" "c8c8ff9d8e87adb26fb48ee261f771454036d75d96d992fd06818ae1713479df", kill_on_drop: false }`
[INFO] [stderr]     Checking value-bag v1.0.0-alpha.9
[INFO] [stderr]     Checking serde v1.0.166
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq, Eq)]`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:43:33
[INFO] [stderr]    |
[INFO] [stderr] 43 |                                   $const_ident => |v| Some(Internal::from(unsafe { &*(*v as *const Self as *const $ty) })),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 | /         to_internal![
[INFO] [stderr] 72 | |             usize: (USIZE, OPTION_USIZE),
[INFO] [stderr] 73 | |             u8: (U8, OPTION_U8),
[INFO] [stderr] 74 | |             u16: (U16, OPTION_U16),
[INFO] [stderr] ...  |
[INFO] [stderr] 96 | |             String: (STRING, OPTION_STRING),
[INFO] [stderr] 97 | |         ];
[INFO] [stderr]    | |_________- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: the traits must be derived, manual `impl`s are not sufficient
[INFO] [stderr]    = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
[INFO] [stderr]    = note: this error originates in the macro `to_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq, Eq)]`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:46:33
[INFO] [stderr]    |
[INFO] [stderr] 46 |                                   $option_ident => |v| Some({
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 | /         to_internal![
[INFO] [stderr] 72 | |             usize: (USIZE, OPTION_USIZE),
[INFO] [stderr] 73 | |             u8: (U8, OPTION_U8),
[INFO] [stderr] 74 | |             u16: (U16, OPTION_U16),
[INFO] [stderr] ...  |
[INFO] [stderr] 96 | |             String: (STRING, OPTION_STRING),
[INFO] [stderr] 97 | |         ];
[INFO] [stderr]    | |_________- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: the traits must be derived, manual `impl`s are not sufficient
[INFO] [stderr]    = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
[INFO] [stderr]    = note: this error originates in the macro `to_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq, Eq)]`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:55:29
[INFO] [stderr]    |
[INFO] [stderr] 55 |                               STR => |v| Some(Internal::from(unsafe { &**(v as *const &'a Self as *const &'a str) })),
[INFO] [stderr]    |                               ^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 | /         to_internal![
[INFO] [stderr] 72 | |             usize: (USIZE, OPTION_USIZE),
[INFO] [stderr] 73 | |             u8: (U8, OPTION_U8),
[INFO] [stderr] 74 | |             u16: (U16, OPTION_U16),
[INFO] [stderr] ...  |
[INFO] [stderr] 96 | |             String: (STRING, OPTION_STRING),
[INFO] [stderr] 97 | |         ];
[INFO] [stderr]    | |_________- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: the traits must be derived, manual `impl`s are not sufficient
[INFO] [stderr]    = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
[INFO] [stderr]    = note: this error originates in the macro `to_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `value-bag` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c8c8ff9d8e87adb26fb48ee261f771454036d75d96d992fd06818ae1713479df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8c8ff9d8e87adb26fb48ee261f771454036d75d96d992fd06818ae1713479df", kill_on_drop: false }`
[INFO] [stdout] c8c8ff9d8e87adb26fb48ee261f771454036d75d96d992fd06818ae1713479df