Test ran at 2025-06-27 00:43:55.183668+00:00 SOLUTION: octet_memory_stream=1.1.0: Provides a Root_Stream_Type wrapper over an array of octets in memory. Origin: commit 54ecee472e8f78ab6d09df59f48bcca548364ee3 from https://github.com/Bread-Experts-Group/octet_memory_stream.git Properties: Author: Miko Elbrecht Description: Provides a Root_Stream_Type wrapper over an array of octets in memory. License: Apache-2.0 WITH LLVM-exception Long_Description: `octet_memory_stream` provides a standalone `Ada.Streams.Root_Stream_Type` wrapper around an `Octet_Array` (array of 8-bit bytes,) primarily for the purpose of protecting an over-arching stream from misalignment while reading from, or writing to, e.g., a file format. If the `Memory_Stream` detects an out-of-bounds error as the result of a read or write operation, an `Out_Of_Bounds_Error` exception will be raised. Example Use ----------- All pertinent types and subprograms are available within the package `Octet_Memory_Stream`. Wrapping an `Octet_Array` is done through the `To_Stream` function. ```ada pragma Ada_2022; with Ada.Text_IO; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with Octet_Memory_Stream; procedure TestDemo is F : File_Type; Protected_Stream : Stream_Access; Memory_Stream : Octet_Memory_Stream.Stream_Access; begin Open (F, In_File, "example"); Protected_Stream := Stream (F); declare Data : Octet_Memory_Stream.Octet_Array (1 .. 50); begin Octet_Memory_Stream.Octet_Array'Read (Protected_Stream, Data); Memory_Stream := Octet_Memory_Stream.To_Stream (Data); end; declare OK_Data : Octet_Memory_Stream.Octet_Array (1 .. 25); OOB_Data : Octet_Memory_Stream.Octet_Array (1 .. 26); begin Octet_Memory_Stream.Octet_Array'Read (Memory_Stream, OK_Data); Ada.Text_IO.Put_Line (OK_Data'Image); Octet_Memory_Stream.Octet_Array'Read (Memory_Stream, OOB_Data); -- exception raised above Ada.Text_IO.Put_Line (OOB_Data'Image); end; Close (F); end TestDemo; ``` Maintainer: Miko Elbrecht Maintainers_Logins: ATPStorages Name: octet_memory_stream Tag: octet Tag: byte Tag: buffer Tag: stream Tag: ada Tag: streams Tag: memory Version: 1.1.0 Website: https://github.com/Bread-Experts-Group/octet_memory_stream LOG: Spawning: alr -d -n get --build octet_memory_stream=1.1.0 Note: Deploying octet_memory_stream=1.1.0... Note: Building octet_memory_stream=1.1.0/octet_memory_stream.gpr... Setup [mkdir] object directory for project Octet_Memory_Stream [mkdir] library directory for project Octet_Memory_Stream Compile [Ada] octet_memory_stream_config.ads completed 1 out of 2 (50%)... [Ada] octet_memory_stream.adb gnat1: invalid switch: -gnat2022 completed 2 out of 2 (100%)... gnat1: invalid switch: -gnat2022 compilation of octet_memory_stream.adb failed compilation of octet_memory_stream_config.ads failed gprbuild: *** compilation phase failed stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\bf6f6753-8456-441b-8284-7938dcd5b390\octet_memory_stream_1.1.0_54ecee47\octet_memory_stream.gpr"] exited with code 4 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\bf6f6753-8456-441b-8284-7938dcd5b390\octet_memory_stream_1.1.0_54ecee47\octet_memory_stream.gpr"] exited with code 4 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\bf6f6753-8456-441b-8284-7938dcd5b390\octet_memory_stream_1.1.0_54ecee47\octet_memory_stream.gpr"] exited with code 4 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [D:\a\alire-crates-ci\alire-crates-ci\alire_install\bin\alr.exe] 0x7ff7622fb6aa Semantic_Versioning.Basic.Restrictions.First_Index at alire.adb:284 0x7ff761f162cb Semantic_Versioning.Basic.Restrictions.First_Index at alire-os_lib-subprocess.adb:111 0x7ff7621b9ee1 Semantic_Versioning.Basic.Restrictions.First_Index at alire-spawn.adb:21 0x7ff7621ba5bf Semantic_Versioning.Basic.Restrictions.First_Index at alire-spawn.adb:41 0x7ff7620ee35c Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:186 0x7ff7620ec84a Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:252 0x7ff7621129c9 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2075 0x7ff7621810ed Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1480 0x7ff762180218 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1563 0x7ff762112ac8 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2079 0x7ff762112b96 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2059 0x7ff7620ece0e Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:283 0x7ff7620ecf0a Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:111 0x7ff7618b4f23 Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-get.adb:205 0x7ff7618b88df Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-get.adb:378 0x7ff7618b8a9a Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-get.adb:256 0x7ff761951628 Semantic_Versioning.Basic.Restrictions.First_Index at clic-subcommand-instance.adb:749 0x7ff76195deeb Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands.adb:561 0x7ff7618316a0 Alr.Main at alr-main.adb:13 0x7ff761834f2e Main at b__alr-main.adb:2306 0x7ff76183133e __tmainCRTStartup at ??? 0x7ff761831144 mainCRTStartup at ??? [C:\Windows\System32\KERNEL32.DLL] 0x7ff9c68b4cae [C:\Windows\SYSTEM32\ntdll.dll] 0x7ff9c879edc9 Warning: octet_memory_stream=1.1.0 successfully retrieved but its build failed. There are no dependencies. ERROR: Build ended with errors