cp_api 0.2.0

Check Point API library

Build #697118 2022-12-10 12:36:03

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.68.0-nightly (dfe3fe710 2022-12-09)

# docs.rs version docsrs 0.6.0 (013508c6 2022-12-08)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cp_api-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cp_api-0.2.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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221209-1.68.0-nightly-dfe3fe710\", \"--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\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] 90ab461e25dc520a4f659aab9f882e9e2f3a937d317baa553510a4fa231f1049 [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" "90ab461e25dc520a4f659aab9f882e9e2f3a937d317baa553510a4fa231f1049", kill_on_drop: false }` [INFO] [stderr] Documenting cp_api v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0252]: the name `Serialize` is defined multiple times [INFO] [stderr] --> src/client.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | use serde::Serialize; [INFO] [stderr] | ---------------- previous import of the macro `Serialize` here [INFO] [stderr] 11 | use serde_derive::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ `Serialize` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Serialize` must be defined only once in the macro namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `Serialize` is defined multiple times [INFO] [stderr] --> src/response.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::Serialize; [INFO] [stderr] | ---------------- previous import of the macro `Serialize` here [INFO] [stderr] 7 | use serde_derive::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ `Serialize` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Serialize` must be defined only once in the macro namespace of this module [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0252`. [INFO] [stderr] error: could not document `cp_api` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name cp_api src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=2d8f4ad49c222c2c -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern reqwest=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libreqwest-2477f5696ddb2b4c.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-0a43ae7293d5e4a2.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-c38b2fed59c05626.so --extern serde_json=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-f8d6c9cd7c783224.rmeta --extern-html-root-url 'reqwest=https://docs.rs/reqwest/0.9.24/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.149/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde_derive=https://docs.rs/serde_derive/1.0.149/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde_json=https://docs.rs/serde_json/1.0.89/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20221209-1.68.0-nightly-dfe3fe710 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.2.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "90ab461e25dc520a4f659aab9f882e9e2f3a937d317baa553510a4fa231f1049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ab461e25dc520a4f659aab9f882e9e2f3a937d317baa553510a4fa231f1049", kill_on_drop: false }` [INFO] [stdout] 90ab461e25dc520a4f659aab9f882e9e2f3a937d317baa553510a4fa231f1049