Test ran at 2025-07-24 13:13:56.114475+00:00 SOLUTION: controlled_io=20240401.0.1: Files that are open while they exist and closed when they don't Origin: commit 0cfe3ed52318bed75926d2bfb22950cecc8599f3 from https://github.com/bracke/Controlled_IO.git Properties: Author: Jeffrey Carter Build Switches: Description: Files that are open while they exist and closed when they don't License: BSD-3-Clause Long_Description: # Controlled_IO Files that are open while they exist and closed when they don't This is a draft response to a request for a library for [Scope-based files](https://forum.ada-lang.io/t/ada-library-wishlist/14/5). Both binary and text I/O is supported. Please comment on whether or not you find this useful. The library is completely portable. It has been compiled and tested with GNAT and ObjectAda, on Linux and Windows. Controlled_Test and Controlled_Text are test programs. Both are user-unfriendly file-copy programs. Controlled_Test performs a binary copy; the output should always be identical to the input. Controlled_Text performs a line-by-line copy of text files; the output may have different line terminators than the input. Controlled_UTF is a user-unfriendly program to convert a native text file to a [Universal Text File](https://github.com/jrcarter/Universal-Text-File). Maintainer: Bent Bracke Maintainers_Logins: bracke Name: controlled_io Tag: io Tag: files Tag: controlled Tag: scope Tag: binary Tag: text Version: 20240401.0.1 Website: https://github.com/bracke/Controlled_IO Dependencies (direct): gnat<13.0 | >=13.3 Dependencies (solution): gnat=14.2.0 (gnat_external) Dependencies (graph): controlled_io=20240401.0.1 --> gnat=14.2.0 (gnat_external) (<13.0 | >=13.3) LOG: [alr test] Testing controlled_io=20240401.0.1 [alr test] Spawning retrieval for remote crate: alr -d -n get controlled_io=20240401.0.1 Note: Deploying controlled_io=20240401.0.1... controlled_io=20240401.0.1 successfully retrieved. Dependencies were solved as follows: +b gnat 14.2.0 (new,gnat_external,executable in path) [alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn Note: Alire has selected automatically this toolchain: gprbuild=25.0.1 gnat_native=15.1.2 You can select a different toolchain at any time with `alr toolchain --select` Download will start now: Note: Deploying gprbuild=25.0.1... #=#=# ##O#-# 0.0% ########## 15.2% ################## 26.0% ##################### 30.3% ##################################### 51.6% ########################################### 60.7% ############################################################# 86.1% ##################################################################### 97.1% ######################################################################## 100.0% Note: gprbuild=25.0.1 installed successfully. Note: Deploying gnat_native=15.1.2... #=#=# ##O#-# 0.0% 0.2% 1.1% # 2.7% ### 5.5% ##### 8.2% ######## 12.2% ########## 14.8% ########### 16.5% ############## 19.8% ############## 20.4% ############## 20.4% ############### 21.5% ################ 22.5% ################# 24.4% ################## 26.3% ##################### 30.2% ######################### 35.4% ########################### 38.5% ############################## 41.7% ############################### 43.6% ################################ 45.7% ################################### 49.5% ##################################### 51.7% ####################################### 54.7% ######################################## 56.1% ######################################### 57.7% ############################################ 61.6% ############################################ 61.6% ############################################# 62.7% ############################################## 64.3% ############################################### 65.9% ################################################### 70.9% ##################################################### 74.2% ####################################################### 76.9% ######################################################## 78.8% ######################################################### 79.7% ############################################################ 83.9% ############################################################# 86.0% ############################################################### 87.9% ################################################################# 90.7% ################################################################## 92.9% ################################################################### 94.0% #################################################################### 94.5% #################################################################### 94.5% ##################################################################### 96.2% ####################################################################### 98.9% ######################################################################## 100.0% Note: gnat_native=15.1.2 installed successfully. Note: Building controlled_io=20240401.0.1/controlled_io.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/f460efeb-9a48-43b9-9904-a3cb90bc4f73/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.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/f460efeb-9a48-43b9-9904-a3cb90bc4f73/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.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/f460efeb-9a48-43b9-9904-a3cb90bc4f73/controlled_io_20240401.0.1_0cfe3ed5/controlled_io.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] 0x7f44979f35ce 0x7f44979f367e [/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] 0x7f44979f35ce 0x7f44979f367e [/usr/bin/alr] 0x43d323 _start at ??? 0xfffffffffffffffe ERROR: Compilation failed.