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.89.0-nightly (dcecb9917 2025-05-09)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/safe-regex-compiler-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/safe-regex-compiler-0.3.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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250509-1.89.0-nightly-dcecb9917\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f7a97f969a45b9e3ee4180dbe8b42ac5db3c92fe7f1b3c4dbeef124596bc08ed
[INFO] running `Command { std: "docker" "start" "-a" "f7a97f969a45b9e3ee4180dbe8b42ac5db3c92fe7f1b3c4dbeef124596bc08ed", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking safe-proc-macro2 v1.0.94
[INFO] [stderr] error[E0412]: cannot find type `SourceFile` in crate `proc_macro`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/safe-proc-macro2-1.0.94/src/wrapper.rs:366:26
[INFO] [stderr] |
[INFO] [stderr] 366 | Compiler(proc_macro::SourceFile),
[INFO] [stderr] | ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stderr] |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::SourceFile;
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::fallback::SourceFile;
[INFO] [stderr] |
[INFO] [stderr] help: if you import `SourceFile`, refer to it directly
[INFO] [stderr] |
[INFO] [stderr] 366 - Compiler(proc_macro::SourceFile),
[INFO] [stderr] 366 + Compiler(SourceFile),
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0412]: cannot find type `SourceFile` in crate `proc_macro`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/safe-proc-macro2-1.0.94/src/wrapper.rs:372:32
[INFO] [stderr] |
[INFO] [stderr] 372 | fn nightly(sf: proc_macro::SourceFile) -> Self {
[INFO] [stderr] | ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stderr] |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::SourceFile;
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::fallback::SourceFile;
[INFO] [stderr] |
[INFO] [stderr] help: if you import `SourceFile`, refer to it directly
[INFO] [stderr] |
[INFO] [stderr] 372 - fn nightly(sf: proc_macro::SourceFile) -> Self {
[INFO] [stderr] 372 + fn nightly(sf: SourceFile) -> Self {
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `source_file` found for reference `&proc_macro::Span` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/safe-proc-macro2-1.0.94/src/wrapper.rs:462:56
[INFO] [stderr] |
[INFO] [stderr] 462 | Span::Compiler(s) => SourceFile::nightly(s.source_file()),
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: there is a method `source` with a similar name
[INFO] [stderr] |
[INFO] [stderr] 462 - Span::Compiler(s) => SourceFile::nightly(s.source_file()),
[INFO] [stderr] 462 + Span::Compiler(s) => SourceFile::nightly(s.source()),
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0412, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `safe-proc-macro2` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "f7a97f969a45b9e3ee4180dbe8b42ac5db3c92fe7f1b3c4dbeef124596bc08ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7a97f969a45b9e3ee4180dbe8b42ac5db3c92fe7f1b3c4dbeef124596bc08ed", kill_on_drop: false }`
[INFO] [stdout] f7a97f969a45b9e3ee4180dbe8b42ac5db3c92fe7f1b3c4dbeef124596bc08ed