thread 'main' panicked at src/main.rs:139:93:
called `Result::unwrap()` on an `Err` value: ProgramBuild(BuildLog(
followed by a bunch of C compiler warnings and a few errors. I have done some decoding for everyone:
<kernel>:308:33: error: passing '__generic uchar *' (aka '__generic unsigned char *') to parameter of type 'const uchar *' (aka 'const unsigned char *') changes address space of pointer
ripemd160_process( ctx, ctx->buffer );
^~~~~~~~~~~
<kernel>:116:59: note: passing argument to parameter 'data' here
void ripemd160_process( RIPEMD160_CTX *ctx, const uint8_t data[64] )
^
<kernel>:316:33: error: passing 'const __generic uchar *' (aka 'const __generic unsigned char *') to parameter of type 'const uchar *' (aka 'const unsigned char *') changes address space of pointer
ripemd160_process( ctx, input );
^~~~~
<kernel>:116:59: note: passing argument to parameter 'data' here
void ripemd160_process( RIPEMD160_CTX *ctx, const uint8_t data[64] )
^
<kernel>:3143:10: error: passing '__generic uchar *' (aka '__generic unsigned char *') to parameter of type 'const unsigned int *' changes address space of pointer
sha256(input, input_len, output);
^~~~~
<kernel>:649:50: note: passing argument to parameter 'pass' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3143:28: error: passing '__generic char *' to parameter of type 'unsigned int *' changes address space of pointer
sha256(input, input_len, output);
^~~~~~
<kernel>:649:94: note: passing argument to parameter 'hash' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3144:10: error: passing '__generic char *' to parameter of type 'const unsigned int *' changes address space of pointer
sha256(output, 32, output);
^~~~~~
<kernel>:649:50: note: passing argument to parameter 'pass' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3144:22: error: passing '__generic char *' to parameter of type 'unsigned int *' changes address space of pointer
sha256(output, 32, output);
^~~~~~
<kernel>:649:94: note: passing argument to parameter 'hash' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3149:10: error: passing '__generic uchar *' (aka '__generic unsigned char *') to parameter of type 'const unsigned int *' changes address space of pointer
sha256(input, input_len, &sha256_result);
^~~~~
<kernel>:649:50: note: passing argument to parameter 'pass' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3149:28: warning: incompatible pointer types passing 'uchar (*)[32]' to parameter of type 'unsigned int *'
sha256(input, input_len, &sha256_result);
^~~~~~~~~~~~~~
<kernel>:649:94: note: passing argument to parameter 'hash' here
static void sha256(__private const unsigned int *pass, int pass_len, __private unsigned int* hash) {
^
<kernel>:3150:13: warning: incompatible pointer types passing 'uchar (*)[32]' to parameter of type 'const __generic uchar *' (aka 'const __generic unsigned char *')
ripemd160(&sha256_result, 32, output);
^~~~~~~~~~~~~~
<kernel>:362:31: note: passing argument to parameter 'msg' here
void ripemd160(const uint8_t *msg, uint32_t msg_len, uint8_t hash[20])
^
<kernel>:3150:33: error: passing '__generic char *' to parameter of type 'uchar *' (aka 'unsigned char *') changes address space of pointer
ripemd160(&sha256_result, 32, output);
^~~~~~
<kernel>:362:62: note: passing argument to parameter 'hash' here
void ripemd160(const uint8_t *msg, uint32_t msg_len, uint8_t hash[20])
^
Looks like CUDA address space violations.