Skip to content

The action starts to fail to setup stable version with error: unknown function: help.print_and_exit #3

@sameh-farouk

Description

@sameh-farouk

it was running nicely till today CI start to fail to install v, here are the logs

Run vlang/setup-v@v1
Resolved  as 
Downloading vlang ...
Determining the default branch
Retrieving the default branch name
Default branch 'master'
Creating directory: /home/runner/work/vgrid/vgrid/vlang/vlang_linux_x64
Downloading the archive
Downloaded archive 'https://codeload.github.com/vlang/v/legacy.tar.gz/refs/heads/master'
Writing archive to disk
Extracting the archive
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/vgrid/vgrid/vlang/vlang_linux_x64/282aca22-2b51-4431-85ad-c768b[27](https://github.com/threefoldtech/vgrid/runs/7091283045?check_suite_focus=true#step:3:28)baf4c -f /home/runner/work/vgrid/vgrid/vlang/vlang_linux_x64/[28](https://github.com/threefoldtech/vgrid/runs/7091283045?check_suite_focus=true#step:3:29)2aca22-2b51-44[31](https://github.com/threefoldtech/vgrid/runs/7091283045?check_suite_focus=true#step:3:32)-85ad-c768b27baf4c.tar.gz
Resolved version vlang-v-64b8284
Running make...
cmd/v/v.v:149:15: error: unknown function: help.print_and_exit 
  147 | fn invoke_help_and_exit(remaining []string) {
  148 |     match remaining.len {
  149 |         0, 1 { help.print_and_exit('default') }
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~
  150 |         2 { help.print_and_exit(remaining[1]) }
  151 |         else {}
cmd/v/v.v:150:12: error: unknown function: help.print_and_exit 
  148 |     match remaining.len {
  149 |         0, 1 { help.print_and_exit('default') }
  150 |         2 { help.print_and_exit(remaining[1]) }
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151 |         else {}
  152 |     }
make: *** [GNUmakefile:97: all] Error 1
Error: Command failed: make
cmd/v/v.v:149:15: error: unknown function: help.print_and_exit 
  147 | fn invoke_help_and_exit(remaining []string) {
  148 |     match remaining.len {
  149 |         0, 1 { help.print_and_exit('default') }
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~
  150 |         2 { help.print_and_exit(remaining[1]) }
  151 |         else {}
cmd/v/v.v:150:12: error: unknown function: help.print_and_exit 
  148 |     match remaining.len {
  149 |         0, 1 { help.print_and_exit('default') }
  150 |         2 { help.print_and_exit(remaining[1]) }
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151 |         else {}
  152 |     }
make: *** [GNUmakefile:97: all] Error 1

my workflow file wasn't changed recently, I'm using the action with the below configuration:

- name: Set up V version latest
      uses: vlang/setup-v@v1
      with:
        stable: true

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions