Zig build always fails

any zig project i download from GitHub like, zenkai, fizzy, dvui. if i try to build i get the same error all the time with zig16. i dont know what file it dont fine. normally all the system libs this projects require is installed in my system. [arch-linux]

thread 22119 panic: programmer bug caused syscall error: INVAL
error return context:
/home/ta/zig16/lib/std/Io/Threaded.zig:4092:31: 0x123a9a1 in dirAccessPosix (std.zig)
                    .NOENT => return error.FileNotFound,
                              ^aseFast native
/home/ta/zig16/std/Io/Dir.zig:439:5: 0x13636fb in access (std.zig)
    return io.vtable.dirAccess(io.userdata, dir, sub_path, options);
├─ compile lib qpalette ReleaseFast native
stack trace:ib qwindow ReleaseFast native
/home/ta/zig16/lib/std/Io/Threaded.zig:14055:34: 0x11e865a in errnoBug (std.zig)
    if (is_debug) std.debug.panic("programmer bug caused syscall error: {t}", .{err});
                                 ^st native
/home/ta/zig16/Threaded.zig:1440:33: 0x11f91b8 in errnoBug (std.zig)
        return Threaded.errnoBug(err);
                                ^
/home/ta/zig16/lib/std/Io/Threaded.zig:7613:48: 0x122eb89 in dirRenamePreserveLinux (std.zig)
        .INVAL => |err| return syscall.errnoBug(err),

I’ve seen a few people having issues with zig on arch linux. Where did you install zig from ? official repos, AUR or from zig’s site ? Do you see a difference when installing from different sources ?

i downloaded zig from office zig website. I haven’t tried with other zig sources(AUR, etc).