Test ran at 2024-10-14 13:07:35.840322+00:00 SOLUTION: mold=1.0.3: Meta-variable Operations for Lean Development (cli) Origin: commit a26094a76c095ddca3288d84d8d3637e561f6713 from https://github.com/rocher/mold.git Properties: Author: Francesc Rocher Build Profile: Build Switches: Description: Meta-variable Operations for Lean Development (cli) Executable: mold License: MIT Long_Description: [![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold.json)](https://alire.ada.dev/crates/mold.html) [![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold.json)](https://alire-crate-ci.ada.dev/crates/mold.html) ![unit-test](https://github.com/rocher/mold/actions/workflows/unit-test.yml/badge.svg) [![codecov](https://codecov.io/gh/rocher/mold/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold) [![GitHub release](https://img.shields.io/github/release/rocher/mold.svg)](https://github.com/rocher/mold/releases/latest) [![License](https://img.shields.io/github/license/rocher/mold.svg?color=blue)](https://github.com/rocher/mold/blob/master/LICENSE) ## Welcome to **Mold (cli)** > **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 filenames * inclusion of other templates * definition of variables with a simple TOML file * predefined and custom text filters to easy text transformations * variable values can be defined with other 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, 2024 Francesc Rocher Maintainer: Francesc Rocher Maintainers_Logins: rocher Name: mold Tag: template Tag: template-engine Tag: template-repo Version: 1.0.3 Website: https://rocher.github.io/mold Dependencies (direct): clic~0.3.0 gnat>=2021 | (>=12 & <2000) mold_lib^2.2.0 simple_logging^1.2.0 Dependencies (solution): aaa=0.2.6 ada_toml=0.3.0 ansiada=1.0.0 clic=0.3.0 gnat=14.2.1 (gnat_external) (installed) mold_lib=2.2.1 simple_logging=1.2.0 Dependencies (graph): clic=0.3.0 --> aaa=0.2.6 (~0.2.4) clic=0.3.0 --> ada_toml=0.3.0 (~0.2|~0.3) clic=0.3.0 --> ansiada=1.0.0 (^1.0) clic=0.3.0 --> simple_logging=1.2.0 (^1.2.0) mold=1.0.3 --> clic=0.3.0 (~0.3.0) mold=1.0.3 --> gnat=14.2.1 (gnat_external) (>=2021 | (>=12 & <2000)) mold=1.0.3 --> mold_lib=2.2.1 (^2.2.0) mold=1.0.3 --> simple_logging=1.2.0 (^1.2.0) mold_lib=2.2.1 --> ada_toml=0.3.0 (~0.3.0) mold_lib=2.2.1 --> gnat=14.2.1 (gnat_external) (>=2021 | (>=12 & <2000)) mold_lib=2.2.1 --> simple_logging=1.2.0 (^1.2.0) LOG: Note: Deploying mold=1.0.3... Note: Deploying aaa=0.2.6... Note: Deploying ada_toml=0.3.0... #=#=# Note: Deploying ansiada=1.0.0... Note: Deploying simple_logging=1.2.0... Note: Deploying clic=0.3.0... Note: Deploying mold_lib=2.2.1... Note: Building mold/mold.gpr... Setup [mkdir] object directory for project Aaa [mkdir] library directory for project Aaa [mkdir] object directory for project Ada_TOML [mkdir] library directory for project Ada_TOML [mkdir] object directory for project Ansiada [mkdir] library directory for project Ansiada [mkdir] object directory for project Simple_Logging [mkdir] library directory for project Simple_Logging [mkdir] object directory for project Clic [mkdir] library directory for project Clic [mkdir] object directory for project Mold_Lib [mkdir] library directory for project Mold_Lib [mkdir] object directory for project Mold [mkdir] exec directory for project Mold Compile [Ada] mold.adb [Ada] mold_lib_config.ads [Ada] predefined_text_filters.adb [Ada] text_filters_data.ads [Ada] text_filters.adb [Ada] custom_text_filters.ads [Ada] mold_lib.adb +===========================GNAT BUG DETECTED==============================+ | 14.2.1 20240912 (Red Hat 14.2.1-3) (x86_64-redhat-linux) Storage_Error stack overflow or erroneous memory access| | Error detected at text_filters-parse.adb:74:4 | | Compiling /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/impl/text_filters.adb| | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/impl/text_filters.adb /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/text_filters.ads /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/custom_text_filters.ads /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/impl/text_filters_data.ads /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/simple_logging_1.2.0_506f0bb3/src/simple_logging.ads /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/impl/predefined_text_filters.ads /home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/alire/cache/dependencies/mold_lib_2.2.1_9048c6c2/src/text_filters/impl/text_filters-parse.adb compilation abandoned compilation of text_filters.adb failed gprbuild: *** compilation phase failed stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/mold.gpr"] exited with code 4 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/mold.gpr"] exited with code 4 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/runner/work/alire-crates-ci/alire-crates-ci/test/b619ea1c-87a1-4923-a636-60b8751e304e/mold_1.0.3_a26094a7/mold.gpr"] exited with code 4 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/usr/bin/alr] 0xd7ada2 Alire.Raise_Checked_Error at alire.adb:251 0xa423cf Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:110 0xc5cdee Alire.Spawn.Command at alire-spawn.adb:21 0xc5d51c Alire.Spawn.Gprbuild at alire-spawn.adb:41 0xbc1550 Alire.Roots.Build.Build_Single_Release.Call_Gprbuild at alire-roots.adb:140 0xbbfbaf Alire.Roots.Build.Build_Single_Release at alire-roots.adb:171 0xbdb95e Alire.Roots.Traverse.Traverse_Wrap at alire-roots.adb:1364 0xc25a8b Alire.Solutions.Traverse.Visit at alire-solutions.adb:1443 0xc246a2 Alire.Solutions.Traverse at alire-solutions.adb:1518 0xbdbaac Alire.Roots.Traverse at alire-roots.adb:1368 0xbbff40 Alire.Roots.Build at alire-roots.adb:196 0x4a0334 Alr.Commands.Build.Execute at alr-commands-build.adb:58 0x4b065a Alr.Commands.Get.Retrieve at alr-commands-get.adb:187 0x4b4e77 Alr.Commands.Get.Execute at alr-commands-get.adb:348 0x53bb7e Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:742 0x54756f Alr.Commands.Execute at alr-commands.adb:492 0x43cb1a Alr.Main at alr-main.adb:10 0x43f3e7 Main at b__alr-main.adb:2132 [/lib64/libc.so.6] 0x7f090fc62086 0x7f090fc62149 [/usr/bin/alr] 0x43c9f8 _start at ??? 0xfffffffffffffffe Warning: mold=1.0.3 successfully retrieved but its build failed. Dependencies were solved as follows: + aaa 0.2.6 (new,indirect) + ada_toml 0.3.0 (new,indirect) + ansiada 1.0.0 (new,indirect) + clic 0.3.0 (new) +i gnat 14.2.1 (new,installed,gnat_external) + mold_lib 2.2.1 (new) + simple_logging 1.2.0 (new) ERROR: Build ended with errors