Build #1511261 2024-11-09 05:31:45

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.84.0-nightly (59cec72a5 2024-11-08)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sio-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sio-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241108-1.84.0-nightly-59cec72a5\", \"--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] cdeca0596feb96c8150a5701d9103fd2fa4c321a3a56b42d12d79d2416aaf175
[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" "cdeca0596feb96c8150a5701d9103fd2fa4c321a3a56b42d12d79d2416aaf175", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling ring v0.14.6
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ring-0.14.6/build.rs:475:52
[INFO] [stderr]     |
[INFO] [stderr] 475 |                 let _ = c.flag("-Wl,--gc-sections".into());
[INFO] [stderr]     |                           ----                     ^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `_: AsRef<OsStr>` found in the following crates: `cc`, `std`:
[INFO] [stderr]             - impl AsRef<OsStr> for OsStr;
[INFO] [stderr]             - impl AsRef<OsStr> for OsString;
[INFO] [stderr]             - impl AsRef<OsStr> for Path;
[INFO] [stderr]             - impl AsRef<OsStr> for PathBuf;
[INFO] [stderr]             - impl AsRef<OsStr> for String;
[INFO] [stderr]             - impl AsRef<OsStr> for str;
[INFO] [stderr]             - impl AsRef<OsStr> for windows_registry::Env;
[INFO] [stderr] note: required by a bound in `Build::flag`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cc-1.1.37/src/lib.rs:537:39
[INFO] [stderr]     |
[INFO] [stderr] 537 |     pub fn flag(&mut self, flag: impl AsRef<OsStr>) -> &mut Build {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^ required by this bound in `Build::flag`
[INFO] [stderr] help: try using a fully qualified path to specify the expected types
[INFO] [stderr]     |
[INFO] [stderr] 475 |                 let _ = c.flag(<&str as Into<T>>::into("-Wl,--gc-sections"));
[INFO] [stderr]     |                                ++++++++++++++++++++++++                   ~
[INFO] [stderr] help: consider removing this method call, as the receiver has type `&'static str` and `&'static str: AsRef<OsStr>` trivially holds
[INFO] [stderr]     |
[INFO] [stderr] 475 -                 let _ = c.flag("-Wl,--gc-sections".into());
[INFO] [stderr] 475 +                 let _ = c.flag("-Wl,--gc-sections");
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `ring` (build script) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "cdeca0596feb96c8150a5701d9103fd2fa4c321a3a56b42d12d79d2416aaf175", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdeca0596feb96c8150a5701d9103fd2fa4c321a3a56b42d12d79d2416aaf175", kill_on_drop: false }`
[INFO] [stdout] cdeca0596feb96c8150a5701d9103fd2fa4c321a3a56b42d12d79d2416aaf175