Skip to content

Multiple tests fail #16

@zorael

Description

@zorael

EndeavourOS/Arch x86_64. dmd 2.107-beta.1, ldc 1.36.0.

Tests fails with nothrow errors.

[...]
Running ../../../home/zorael/.dub/packages/unit-threaded/2.1.2/unit-threaded/gen_ut_main -f bin/ut.d
/usr/include/dlang/dmd/std/traits.d(8602,53): Deprecation: `__traits(getAttributes)` may only be used for individual functions, not the overload set `hash_function`
/usr/include/dlang/dmd/std/traits.d(8602,53):        the result of `__traits(getOverloads)` may be used to select the desired function to extract attributes from
/usr/include/dlang/dmd/std/traits.d(8602,53): Deprecation: `__traits(getAttributes)` may only be used for individual functions, not the overload set `UseGCRanges`
/usr/include/dlang/dmd/std/traits.d(8602,53):        the result of `__traits(getOverloads)` may be used to select the desired function to extract attributes from
source/cachetools/cache2q.d(779,18): Error: function `cachetools.cache2q.Cache2Q!(int, string, Mallocator).Cache2Q.put` is not `nothrow`
source/cachetools/cache2q.d(775,5): Error: delegate `cachetools.cache2q.__unittest_L767_C1.__lambda4` may throw but is marked as `nothrow`
source/cachetools/cachelru.d(487,16): Error: function `cachetools.cachelru.CacheLRU!(int, string, Mallocator).CacheLRU.put` is not `nothrow`
source/cachetools/cachelru.d(489,16): Error: function `cachetools.cachelru.CacheLRU!(int, string, Mallocator).CacheLRU.put` is not `nothrow`
source/cachetools/cachelru.d(493,16): Error: function `cachetools.cachelru.CacheLRU!(int, string, Mallocator).CacheLRU.put` is not `nothrow`
source/cachetools/cachelru.d(485,5): Error: delegate `cachetools.cachelru.__unittest_L482_C15.__lambda2` may throw but is marked as `nothrow`
Warning: struct Rebindable has method toHash, however it cannot be called with const(Rebindable!(immutable(C))) this.
Rebindable.toHash defined here: /usr/include/dlang/dmd/object.d(137)
Error /usr/bin/dmd failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions