You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? ./v -g -o vdbg cmd/v && ./vdbg /home/thunder/code/github/freeflowuniverse/herolib/examples/develop/runpod/runpod_example.vsh && /home/thunder/code/github/freeflowuniverse/herolib/examples/develop/runpod/runpod_example
#!/usr/bin/env -S v -n -w -gc none -no-retry-compilation -cc tcc -d use_openssl -enable-globals runimportfreeflowuniverse.herolib.core.baseimportfreeflowuniverse.herolib.lib.clients.runpodprintln('Hello!')
// // Example 1: Create client with direct API key// mut rp := runpod.get_or_create(// name: 'example1'// api_key: 'your-api-key-here'// )!// // Create an endpoint// mut endpoint := runpod.Endpoint{// name: 'test-endpoint'// runtime: 'nvidia/cuda:11.6.2-base-ubuntu20.04'// min_workers: 1// max_workers: 3// idle_timeout: 300// gpu_ids: ['NVIDIA GeForce RTX 3080']// }// endpoint_id := rp2.create_endpoint(endpoint)!// println('Created endpoint with ID: ${endpoint_id}')
What did you see?
================== C compilation error (from cc): ==============
cc: /tmp/v_1000/runpod_example.01JHZ1TYKH1H0RZ7822K78EE8F.tmp.c:639:17: error: unknown type name ‘None__’
cc: 639 | None__* _None__;
cc: | ^~~~~~
cc: /tmp/v_1000/runpod_example.01JHZ1TYKH1H0RZ7822K78EE8F.tmp.c:641:17: error: unknown type name ‘Error’
cc: 641 | Error* _Error;
cc: | ^~~~~
cc: /tmp/v_1000/runpod_example.01JHZ1TYKH1H0RZ7822K78EE8F.tmp.c:642:17: error: unknown type name ‘MessageError’
cc: 642 | MessageError* _MessageError;
cc: | ^~~~~~~~~~~~
cc: /tmp/v_1000/runpod_example.01JHZ1TYKH1H0RZ7822K78EE8F.tmp.c:643:17: error: unknown type name ‘os__Eof’
cc: 643 | os__Eof* _os__Eof;
cc: | ^~~~~~~
... (the original output was 5142 lines long, and was truncated to 12 lines)
================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
What did you expect to see?
print Hello!
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
@felipensp@JalonSolov
I have a directory inside the herolib called lib, I used this lib in the import line, and the error is solved after removing it, but if so, the V compailer should handle this and give the developer a readable error message
V version: V 0.4.9 a93d94a, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg /home/thunder/code/github/freeflowuniverse/herolib/examples/develop/runpod/runpod_example.vsh && /home/thunder/code/github/freeflowuniverse/herolib/examples/develop/runpod/runpod_example
What did you see?
What did you expect to see?
print Hello!
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: