Test ran at 2025-07-24 13:19:35.458268+00:00 SOLUTION: mold_lib=2.3.1: Meta-variable Operations for Lean Development (lib) Origin: commit 4102d93fefbb39e6b454be79bb35a61835d46a99 from https://github.com/rocher/mold_lib.git Properties: Author: Francesc Rocher Build Switches: Description: Meta-variable Operations for Lean Development (lib) License: MIT Long_Description: [![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html) [![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html) ![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg) [![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib) [![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest) [![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE) ## Welcome to **Mold (lib)** > **MOLD**: *Meta-variable Operations for Lean Development* Mold is a Template Processor, or Template Engine, to work with repository templates. The main motivation of Mold is to have repositories in GitHub used as template repositories to create new, customized repositories for other users. Main features supported in Mold include * variable replacement in mold files (*.mold) * for a given directory, variable replacement recursively for all mold files in all subdirectories * variable replacement in file names * inclusion of other templates * definition of variables with a simple TOML file * predefined and custom text filters to easy text transformations * predefined variables to use in templates * support for optional and mandatory variables * support for custom filters and variables Variable replacement can be specified as *normal*, *optional* or *mandatory*. For example, the variable `foo = "bar"` can be specified with `{{foo}}`, `{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling of errors when an undefined variable is encountered. All mold files must end with the extension `.mold`, for example `README.md.mold`. Destination files (with variables replaced) have the same name without the mold extension: `README.md`. This simplifies the work done in large subdirectories with few templates. This crate contains the Ada library and unit tests. For a CLI tool, please take a look at the crate `mold`. ## Reference Guide Please visit [Mold documentation](https://rocher.github.io/mold) for more information. --- ## License MIT (c) 2023-2025 Francesc Rocher Maintainer: Francesc Rocher Maintainers_Logins: rocher Name: mold_lib Tag: template Tag: template-engine Tag: template-repo Version: 2.3.1 Website: https://rocher.github.io/mold Dependencies (direct): ada_toml~0.3.0 gnat>=2021 | (>=12 & <2000) simple_logging^1.2.0 Dependencies (solution): ada_toml=0.3.0 gnat=15.1.2 (gnat_native) simple_logging=1.2.0 Dependencies (graph): mold_lib=2.3.1 --> ada_toml=0.3.0 (~0.3.0) mold_lib=2.3.1 --> gnat=15.1.2 (gnat_native) (>=2021 | (>=12 & <2000)) mold_lib=2.3.1 --> simple_logging=1.2.0 (^1.2.0) LOG: [alr test] Testing mold_lib=2.3.1 [alr test] Spawning retrieval for remote crate: alr -d -n get mold_lib=2.3.1 Note: Deploying mold_lib=2.3.1... Note: Deploying ada_toml=0.3.0... #=#=# ##O#-# ##O=# # #=#=-# # #=#=-# # Note: Deploying simple_logging=1.2.0... mold_lib=2.3.1 successfully retrieved. Dependencies were solved as follows: + ada_toml 0.3.0 (new) +b gnat 15.1.2 (new,gnat_native,binary) + simple_logging 1.2.0 (new) [alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn Note: Building mold_lib=2.3.1/mold_lib.gpr... /root/.local/share/alire/toolchains/gprbuild_25.0.1_9a2e6cfb/bin/gprbuild: /lib64/libc.so.6: version `GLIBC_2.35' not found (required by /root/.local/share/alire/toolchains/gprbuild_25.0.1_9a2e6cfb/bin/gprbuild) stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/faddc5f0-58d1-453a-a03b-92014c2c87c1/mold_lib_2.3.1_4102d93f/mold_lib.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/faddc5f0-58d1-453a-a03b-92014c2c87c1/mold_lib_2.3.1_4102d93f/mold_lib.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/faddc5f0-58d1-453a-a03b-92014c2c87c1/mold_lib_2.3.1_4102d93f/mold_lib.gpr", "-cargs:Ada", "-gnatwn"] exited with code 1 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/usr/bin/alr] 0xe75bc6 Alire.Raise_Checked_Error at alire.adb:284 0xac1a54 Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:111 0xd40276 Alire.Spawn.Command at alire-spawn.adb:22 0xd412ee Alire.Spawn.Gprbuild at alire-spawn.adb:68 0xc748cb Alire.Roots.Build at alire-roots.adb:189 0xc7301a Alire.Roots.Build at alire-roots.adb:255 0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143 0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472 0xcfdfcc Alire.Solutions.Traverse at alire-solutions.adb:1555 0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147 0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127 0xc7359b Alire.Roots.Build at alire-roots.adb:286 0xc736d7 Alire.Roots.Build at alire-roots.adb:114 0x49aa0d Alr.Commands.Build.Execute at alr-commands-build.adb:145 0x49a36d Alr.Commands.Build.Execute at alr-commands-build.adb:113 0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54 0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749 0x5472be Alr.Commands.Execute at alr-commands.adb:632 0x43d48a Alr.Main at alr-main.adb:13 0x4403a3 Main at b__alr-main.adb:2445 [/lib64/libc.so.6] 0x7f1e9f3b25ce 0x7f1e9f3b267e [/usr/bin/alr] 0x43d323 _start at ??? 0xfffffffffffffffe stderr: ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED stderr: alire-roots.adb:202 stderr: raised ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED : alire-roots.adb:202 [/usr/bin/alr] 0xc74cc7 Alire.Roots.Build at alire-roots.adb:202 0xc7301a Alire.Roots.Build at alire-roots.adb:255 0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143 0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472 0xcfdfcc Alire.Solutions.Traverse at alire-solutions.adb:1555 0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147 0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127 0xc7359b Alire.Roots.Build at alire-roots.adb:286 0xc736d7 Alire.Roots.Build at alire-roots.adb:114 0x49aa0d Alr.Commands.Build.Execute at alr-commands-build.adb:145 0x49a36d Alr.Commands.Build.Execute at alr-commands-build.adb:113 0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54 0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749 0x5472be Alr.Commands.Execute at alr-commands.adb:632 0x43d48a Alr.Main at alr-main.adb:13 0x4403a3 Main at b__alr-main.adb:2445 [/lib64/libc.so.6] 0x7f1e9f3b25ce 0x7f1e9f3b267e [/usr/bin/alr] 0x43d323 _start at ??? 0xfffffffffffffffe ERROR: Compilation failed.