flakreate 0.1.0

Enriched Nix flake templates
Build #1316492 2024-08-08T15:57:12.946453+00:00
# rustc version
rustc 1.82.0-nightly (e57f3090a 2024-08-05)# docs.rs version
docsrs 0.6.0 (a6435f13 2024-08-07)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/flakreate-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/flakreate-0.1.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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-08-06" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240805-1.82.0-nightly-e57f3090a\", \"--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] 5963c1897b1fde738fbd50a89b32ab977f95ab00bc8a8d79a0373a00c24483de
[INFO] running `Command { std: "docker" "start" "-a" "5963c1897b1fde738fbd50a89b32ab977f95ab00bc8a8d79a0373a00c24483de", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking nix_rs v1.0.0
[INFO] [stderr] error: environment variable `NIX_FLAKE_SCHEMAS_BIN` not defined at compile time
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix_rs-1.0.0/src/flake/outputs.rs:12:41
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub const NIX_FLAKE_SCHEMAS_BIN: &str = env!("NIX_FLAKE_SCHEMAS_BIN");
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `std::env::var("NIX_FLAKE_SCHEMAS_BIN")` to read the variable at run time
[INFO] [stderr]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `DEFAULT_FLAKE_SCHEMAS` not defined at compile time
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix_rs-1.0.0/src/flake/outputs.rs:17:41
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub const DEFAULT_FLAKE_SCHEMAS: &str = env!("DEFAULT_FLAKE_SCHEMAS");
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `std::env::var("DEFAULT_FLAKE_SCHEMAS")` to read the variable at run time
[INFO] [stderr]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `NIX_FLAKE_SCHEMAS_BIN` not defined at compile time
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix_rs-1.0.0/src/flake/outputs.rs:215:46
[INFO] [stderr]     |
[INFO] [stderr] 215 |         nix_flake_schemas_cmd.command = Some(env!("NIX_FLAKE_SCHEMAS_BIN").to_string());
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `std::env::var("NIX_FLAKE_SCHEMAS_BIN")` to read the variable at run time
[INFO] [stderr]     = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `DEFAULT_FLAKE_SCHEMAS` not defined at compile time
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix_rs-1.0.0/src/flake/outputs.rs:225:17
[INFO] [stderr]     |
[INFO] [stderr] 225 |                 env!("DEFAULT_FLAKE_SCHEMAS"),
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `std::env::var("DEFAULT_FLAKE_SCHEMAS")` to read the variable at run time
[INFO] [stderr]     = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `nix_rs` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "5963c1897b1fde738fbd50a89b32ab977f95ab00bc8a8d79a0373a00c24483de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5963c1897b1fde738fbd50a89b32ab977f95ab00bc8a8d79a0373a00c24483de", kill_on_drop: false }`
[INFO] [stdout] 5963c1897b1fde738fbd50a89b32ab977f95ab00bc8a8d79a0373a00c24483de