simple-localization 0.2.0

Simple localization library for text translation
Build #780779 2023-04-01 05:01:41

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.70.0-nightly (5e1d3299a 2023-03-31)

# docs.rs version docsrs 0.6.0 (e3e044be 2023-03-31)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/simple-localization-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/simple-localization-0.2.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:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/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\", \"-20230331-1.70.0-nightly-5e1d3299a\", \"--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] 2bfc3ec81f602329393d64fc7bd796e7fcc6619a0d407073fd3e6df3243d9c19 [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" "2bfc3ec81f602329393d64fc7bd796e7fcc6619a0d407073fd3e6df3243d9c19", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting simple-localization v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> src/lib.rs:55:46 [INFO] [stderr] | [INFO] [stderr] 55 | static LOCALIZATION_DIR__: Dir<'_> = include_dir!("$LOCALIZATION_DIR"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: MissingVariable { variable: "LOCALIZATION_DIR" } [INFO] [stderr] [INFO] [stderr] error: could not document `simple-localization` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name simple_localization src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=6f37c08161266474 -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern include_dir=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libinclude_dir-a655984cefd6d006.rmeta --extern lazy_regex=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_regex-080714d7d8c362fb.rmeta --extern lazy_static=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-02d2c56f690e1049.rmeta --extern-html-root-url 'include_dir=https://docs.rs/include_dir/0.7.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'lazy_regex=https://docs.rs/lazy-regex/2.5.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.4.0/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20230331-1.70.0-nightly-5e1d3299a --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.2.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "2bfc3ec81f602329393d64fc7bd796e7fcc6619a0d407073fd3e6df3243d9c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfc3ec81f602329393d64fc7bd796e7fcc6619a0d407073fd3e6df3243d9c19", kill_on_drop: false }` [INFO] [stdout] 2bfc3ec81f602329393d64fc7bd796e7fcc6619a0d407073fd3e6df3243d9c19