Open cbrunnkvist opened 2 months ago
Full stack trace:
% RUST_BACKTRACE=full caffeinate time ./target/release/nano-vanity nano_3qf99dr --gpu [101]
Estimated attempts needed: 2147483648
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
thread 'main' panicked at src/main.rs:416:10:
called `Result::unwrap()` on an `Err` value: OclCore(ProgramBuild(BuildLog("program_source:249:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\n UCHARCPY( S->buf + left, in, fill ); // Fill buffer\n ^\nprogram_source:62:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER uchar* _dst = (dst); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:249:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nprogram_source:63:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER const uchar* _src = (src); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:253:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\n UCHARCPY( S->buf, S->buf + BLAKE2B_BLOCKBYTES, BLAKE2B_BLOCKBYTES ); // Shift buffer left\n ^\nprogram_source:62:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER uchar* _dst = (dst); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:253:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nprogram_source:63:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER const uchar* _src = (src); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:260:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\n UCHARCPY( S->buf + left, in, inlen );\n ^\nprogram_source:62:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER uchar* _dst = (dst); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:260:4: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nprogram_source:63:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER const uchar* _src = (src); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:277:5: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\n UCHARCPY( S->buf, S->buf + BLAKE2B_BLOCKBYTES, S->buflen );\n ^\nprogram_source:62:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER uchar* _dst = (dst); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:277:5: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nprogram_source:63:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER const uchar* _src = (src); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:291:3: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\n UCHARCPY( out, buffer, outlen );\n ^\nprogram_source:62:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER uchar* _dst = (dst); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:291:3: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nprogram_source:63:9: note: expanded from macro 'UCHARCPY'\n NAMESPACE_QUALIFIER const uchar* _src = (src); \\\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1116:17: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_copy(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 in) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1116:60: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_copy(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 in) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1131:16: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1131:59: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1131:100: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1145:28: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1145:71: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1145:112: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1161:23: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1161:66: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1161:107: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_add_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1186:16: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1186:59: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1186:100: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1202:28: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1202:71: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1202:112: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_after_basic(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1218:23: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1218:66: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1218:107: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_sub_reduce(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1235:16: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_neg(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1235:59: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_neg(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1253:16: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_mul(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1253:59: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_mul(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1253:100: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_mul(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, const NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1350:22: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_mul_const(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, constant uint32_t *b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1350:65: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_mul_const(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 a, constant uint32_t *b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1448:19: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_square(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 in) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1448:62: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_square(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 in) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1523:48: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_square_times(bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 in, int count) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1599:19: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_expand(NAMESPACE_QUALIFIER bignum25519 out, const unsigned char in[32]) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1644:50: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_contract(unsigned char out[32], const NAMESPACE_QUALIFIER bignum25519 in) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1760:29: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_swap_conditional(NAMESPACE_QUALIFIER bignum25519 a, NAMESPACE_QUALIFIER bignum25519 b, uint32_t iswap) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1760:64: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_swap_conditional(NAMESPACE_QUALIFIER bignum25519 a, NAMESPACE_QUALIFIER bignum25519 b, uint32_t iswap) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1782:43: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_p1p1_to_partial(ge25519 *r, const NAMESPACE_QUALIFIER ge25519_p1p1 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1789:40: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_p1p1_to_full(ge25519 *r, const NAMESPACE_QUALIFIER ge25519_p1p1 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1797:49: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_full_to_pniels(ge25519_pniels *p, const NAMESPACE_QUALIFIER ge25519 *r) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1809:41: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_add_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519 *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1809:79: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_add_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519 *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1830:44: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_double_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1846:47: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_nielsadd2_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_niels *q, unsigned char signbit) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1846:85: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_nielsadd2_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_niels *q, unsigned char signbit) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1865:47: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_pnielsadd_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_pniels *q, unsigned char signbit) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1865:85: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_pnielsadd_p1p1(ge25519_p1p1 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_pniels *q, unsigned char signbit) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1885:42: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_double_partial(ge25519 *r, const NAMESPACE_QUALIFIER ge25519 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1892:34: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_double(ge25519 *r, const NAMESPACE_QUALIFIER ge25519 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1899:31: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_add(ge25519 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519 *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1899:70: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_add(ge25519 *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519 *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1906:37: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_nielsadd2(ge25519 *r, const NAMESPACE_QUALIFIER ge25519_niels *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1926:44: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_pnielsadd(ge25519_pniels *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_pniels *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1926:82: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_pnielsadd(ge25519_pniels *r, const NAMESPACE_QUALIFIER ge25519 *p, const NAMESPACE_QUALIFIER ge25519_pniels *q) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1955:38: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_pow_two5mtwo0_two250mtwo0(NAMESPACE_QUALIFIER bignum25519 b) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1979:18: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_recip(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 z) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1979:61: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_recip(NAMESPACE_QUALIFIER bignum25519 out, const NAMESPACE_QUALIFIER bignum25519 z) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1997:25: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_pow_two252m3(NAMESPACE_QUALIFIER bignum25519 two252m3, const NAMESPACE_QUALIFIER bignum25519 z) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:1997:73: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\ncurve25519_pow_two252m3(NAMESPACE_QUALIFIER bignum25519 two252m3, const NAMESPACE_QUALIFIER bignum25519 z) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^\nprogram_source:2017:41: error: OpenCL C version 1.2 does not support the '__generic' type qualifier\nge25519_pack(unsigned char r[32], const NAMESPACE_QUALIFIER ge25519 *p) {\n ^\nprogram_source:3:29: note: expanded from macro 'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic\n ^")))
stack backtrace:
0: 0x100749ee4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4699abefd07a84a3
1: 0x10075ede8 - core::fmt::write::he20999f7a51cdf3e
2: 0x1007442f8 - std::io::Write::write_fmt::hf214e623647db141
3: 0x100749d38 - std::sys_common::backtrace::print::h99c92515f9244444
4: 0x100740200 - std::panicking::default_hook::{{closure}}::h9ee44d77b22015e9
5: 0x10073ff08 - std::panicking::default_hook::h1574e360da6cf342
6: 0x1007405ac - std::panicking::rust_panic_with_hook::h8c63523cb5f49fbc
7: 0x10074a2b0 - std::panicking::begin_panic_handler::{{closure}}::h22187a0d322c75e4
8: 0x10074a10c - std::sys_common::backtrace::__rust_end_short_backtrace::ha6c62cb1233a6655
9: 0x1007402f4 - _rust_begin_unwind
10: 0x10076ee5c - core::panicking::panic_fmt::h48dfedcd5cf205f7
11: 0x10076f2c8 - core::result::unwrap_failed::h5e4590a7ae843be2
12: 0x1006aaef4 - nano_vanity::main::h2f15b10350db2061
13: 0x1006b8938 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3de3a9c1a4b873ec
14: 0x1006c22a4 - std::rt::lang_start::{{closure}}::h37fc51f4dd7016b7
15: 0x100740240 - std::panicking::try::h9eb4926af0fb4f23
16: 0x100732e48 - std::rt::lang_start_internal::h47d7f1f6477d860b
17: 0x1006ab670 - _main
This utility seemed to work quite okay in the past. Really cool PoC and very handy utility to have around! Today however, after I did a
git pull
it started crashing when thegpu
feature is enabled with an error related to'NAMESPACE_QUALIFIER'\n#define NAMESPACE_QUALIFIER __generic // TODO: how to make __private on apple?
.I ran a
git bisect
to pinpoint it, and yes it seems like commit ed772eb0cb54c687df48fcf5dc9cb498973d6585 broke it: