Skip to content

gix-packetline v0.16 cannot be compiled by docs.rs #868

@nyurik

Description

@nyurik

See https://docs.rs/crate/gix-packetline:

Probable error: error: feature dep:serde is not allowed to use explicit dep: syntax

Build #801524 2023-04-26T19:10:43.308749+00:00
# rustc version
rustc 1.71.0-nightly (458d4dae8 2023-04-25)
# docs.rs version
docsrs 0.6.0 (77eaf077 2023-04-13)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/gix-packetline-0.16.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/gix-packetline-0.16.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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "document-features blocking-io dep:serde" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230425-1.71.0-nightly-458d4dae8\", \"--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] b1681d697d5e7e18faf1a3aa844f0b28604f3ebcc9f67cfcc068f78fa9eb8044
[INFO] running `Command { std: "docker" "start" "-a" "b1681d697d5e7e18faf1a3aa844f0b28604f3ebcc9f67cfcc068f78fa9eb8044", kill_on_drop: false }`
[INFO] [stderr] error: feature `dep:serde` is not allowed to use explicit `dep:` syntax
[INFO] running `Command { std: "docker" "inspect" "b1681d697d5e7e18faf1a3aa844f0b28604f3ebcc9f67cfcc068f78fa9eb8044", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1681d697d5e7e18faf1a3aa844f0b28604f3ebcc9f67cfcc068f78fa9eb8044", kill_on_drop: false }`
[INFO] [stdout] b1681d697d5e7e18faf1a3aa844f0b28604f3ebcc9f67cfcc068f78fa9eb8044

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions