cargo-patch 0.3.2

Cargo Subcommand for patching dependencies using patch files
Documentation
Build #1663761 2025-01-24 05:00:36

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.86.0-nightly (99768c80a 2025-01-23)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cargo-patch-0.3.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cargo-patch-0.3.2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250123-1.86.0-nightly-99768c80a\", \"--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] [stdout] 699179d40ed0748fc27648231d8ea5a40af9feeef5066629141eb016148eaf64
[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" "699179d40ed0748fc27648231d8ea5a40af9feeef5066629141eb016148eaf64", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking gix-url v0.18.0
[INFO] [stderr]     Checking serde_json v1.0.137
[INFO] [stderr]     Checking libgit2-sys v0.15.2+1.6.4
[INFO] [stderr]     Checking gix-attributes v0.12.0
[INFO] [stderr]     Checking gix-ignore v0.2.0
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gix-url-0.18.0/src/lib.rs:105:54
[INFO] [stderr]     |
[INFO] [stderr] 105 |             let path = gix_path::from_bstr(self.path.as_ref());
[INFO] [stderr]     |                                                      ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `BString: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr]             - impl AsRef<BStr> for BString;
[INFO] [stderr]             - impl AsRef<[u8]> for BString;
[INFO] [stderr] help: try using a fully qualified path to specify the expected types
[INFO] [stderr]     |
[INFO] [stderr] 105 |             let path = gix_path::from_bstr(<BString as AsRef<T>>::as_ref(&self.path));
[INFO] [stderr]     |                                            +++++++++++++++++++++++++++++++         ~
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gix-url-0.18.0/src/lib.rs:105:24
[INFO] [stderr]     |
[INFO] [stderr] 105 |             let path = gix_path::from_bstr(self.path.as_ref());
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_`
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `Cow<'_, BStr>: From<&_>` found in the `bstr` crate:
[INFO] [stderr]             - impl<'a> From<&'a BStr> for Cow<'a, BStr>;
[INFO] [stderr]             - impl<'a> From<&'a BString> for Cow<'a, BStr>;
[INFO] [stderr]     = note: required for `&_` to implement `Into<Cow<'_, BStr>>`
[INFO] [stderr] note: required by a bound in `from_bstr`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gix-path-0.8.4/src/convert.rs:126:34
[INFO] [stderr]     |
[INFO] [stderr] 126 | pub fn from_bstr<'a>(input: impl Into<Cow<'a, BStr>>) -> Cow<'a, Path> {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_bstr`
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `gix-url` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "699179d40ed0748fc27648231d8ea5a40af9feeef5066629141eb016148eaf64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "699179d40ed0748fc27648231d8ea5a40af9feeef5066629141eb016148eaf64", kill_on_drop: false }`
[INFO] [stdout] 699179d40ed0748fc27648231d8ea5a40af9feeef5066629141eb016148eaf64