gramatica 0.2.1

A compiler compiler for Rust implementing Earley's parser.
Documentation

Build #860649 2023-07-13 14:23:15

# rustc version rustc 1.73.0-nightly (33a2c2487 2023-07-12)

# docs.rs version docsrs 0.6.0 (84edb415 2023-07-07)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/gramatica-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/gramatica-0.2.1/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/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\", \"-20230712-1.73.0-nightly-33a2c2487\", \"--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] [stdout] ac875be7653bc3fd58541f9d222359a223a9cb2ed6d0399108ce403e3a2d0af4 [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" "ac875be7653bc3fd58541f9d222359a223a9cb2ed6d0399108ce403e3a2d0af4", kill_on_drop: false }` [INFO] [stderr] Scraping gramatica v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "json" in package `gramatica` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `gramatica` (example "json") generated 1 warning [INFO] [stderr] warning: failed to scan example "calculator" in package `gramatica` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `gramatica` (example "calculator") generated 1 warning [INFO] [stderr] warning: failed to scan example "calculator_by_hand" in package `gramatica` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `gramatica` (example "calculator_by_hand") generated 1 warning [INFO] [stderr] warning: failed to scan example "xml" in package `gramatica` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `gramatica` (example "xml") generated 1 warning [INFO] [stderr] Documenting gramatica v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `index` [INFO] [stderr] --> src/lib.rs:715:65 [INFO] [stderr] | [INFO] [stderr] 715 | ///for each token->right in grammar, add the rule to self.sets[index] [INFO] [stderr] | ^^^^^ no item named `index` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gramatica` (lib doc) generated 1 warning [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "ac875be7653bc3fd58541f9d222359a223a9cb2ed6d0399108ce403e3a2d0af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac875be7653bc3fd58541f9d222359a223a9cb2ed6d0399108ce403e3a2d0af4", kill_on_drop: false }` [INFO] [stdout] ac875be7653bc3fd58541f9d222359a223a9cb2ed6d0399108ce403e3a2d0af4