I've tried to build the library locally. But it gave me some errors:
pry 0.4.0: building configuration "library"...
/ldc2-1.30.0-osx-arm64/bin/../import/std/uni/package.d(6545,39): Error: none of the overloads of template std.range.primitives.save
are callable using argument types !()(SimpleStream!string)
/ldc2-1.30.0-osx-arm64/bin/../import/std/range/primitives.d(2256,22): Candidate is: save(T)(return scope inout(T)[] a)
../../../.dub/packages/pry-0.4.0/pry/src/pry/grammar/parser.d(35,26): Error: template instance std.uni.unicode.parseSet!(SimpleStream!string)
error instantiating
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(175,16): Error: none of the overloads of template std.uni.InversionList!(GcPolicy).InversionList.toString
are callable using argument types !()(void delegate(const(char)[] s) pure nothrow @safe, FormatSpec!char)
/ldc2-1.30.0-osx-arm64/bin/../import/std/uni/package.d(2446,10): Candidate is: toString(Writer)(scope Writer sink, ref scope const FormatSpec!char fmt)
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(200,10): Error: template instance pry.atoms.parsers!(SimpleStream!string).Set!(InversionList(CowArray([0u, 39u, 40u, 92u, 93u, 1114112u, 1u])))
error instantiating
../../../.dub/packages/pry-0.4.0/pry/src/pry/grammar/parser.d(70,5): instantiated from here: set!(InversionList(CowArray([0u, 39u, 40u, 92u, 93u, 1114112u, 1u])))
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(175,16): Error: none of the overloads of template std.uni.InversionList!(GcPolicy).InversionList.toString
are callable using argument types !()(void delegate(const(char)[] s) pure nothrow @safe, FormatSpec!char)
/ldc2-1.30.0-osx-arm64/bin/../import/std/uni/package.d(2446,10): Candidate is: toString(Writer)(scope Writer sink, ref scope const FormatSpec!char fmt)
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(200,10): Error: template instance pry.atoms.parsers!(SimpleStream!string).Set!(InversionList(CowArray([48u, 58u, 65u, 71u, 97u, 103u, 1u])))
error instantiating
../../../.dub/packages/pry-0.4.0/pry/src/pry/grammar/parser.d(81,18): instantiated from here: set!(InversionList(CowArray([48u, 58u, 65u, 71u, 97u, 103u, 1u])))
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(175,16): Error: none of the overloads of template std.uni.InversionList!(GcPolicy).InversionList.toString
are callable using argument types !()(void delegate(const(char)[] s) pure nothrow @safe, FormatSpec!char)
/ldc2-1.30.0-osx-arm64/bin/../import/std/uni/package.d(2446,10): Candidate is: toString(Writer)(scope Writer sink, ref scope const FormatSpec!char fmt)
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(200,10): Error: template instance pry.atoms.parsers!(SimpleStream!string).Set!(InversionList(CowArray([65u, 91u, 95u, 96u, 97u, 123u, 1u])))
error instantiating
../../../.dub/packages/pry-0.4.0/pry/src/pry/grammar/parser.d(100,14): instantiated from here: set!(InversionList(CowArray([65u, 91u, 95u, 96u, 97u, 123u, 1u])))
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(175,16): Error: none of the overloads of template std.uni.InversionList!(GcPolicy).InversionList.toString
are callable using argument types !()(void delegate(const(char)[] s) pure nothrow @safe, FormatSpec!char)
/ldc2-1.30.0-osx-arm64/bin/../import/std/uni/package.d(2446,10): Candidate is: toString(Writer)(scope Writer sink, ref scope const FormatSpec!char fmt)
../../../.dub/packages/pry-0.4.0/pry/src/pry/atoms.d(200,10): Error: template instance pry.atoms.parsers!(SimpleStream!string).Set!(InversionList(CowArray([48u, 58u, 65u, 91u, 95u, 96u, 97u, 123u, 1u])))
error instantiating
../../../.dub/packages/pry-0.4.0/pry/src/pry/grammar/parser.d(100,25): instantiated from here: set!(InversionList(CowArray([48u, 58u, 65u, 91u, 95u, 96u, 97u, 123u, 1u])))
/ldc2-1.30.0-osx-arm64/bin/ldc2 failed with exit code 1.
System: M1, macOS
It seems pry is outdated and conflicted with last std.uni changes.