crashappsec / crashappsec/con4m

`nimble build` errors on Linux on jtv/v2 branch

Open
#122 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nim
Stars
12
Forks
1
PR merge metrics
No merged PRs in 30d

Description

In the GitHub Actions environment, when trying to run `nimble test` or `nim r tests/test.nim`:

```text
/home/runner/work/con4m/con4m/tests/test.nim(3, 18) Error: undeclared identifier: 'toAnsiCode'
candidates (edit distance, scope distance); see '--spellSuggest':
(6, 4): 'AtomicNodes'
(6, 4): 'HtmlNode'
(6, 4): 'ItalicOff'
Tip: 6 messages have been suppressed, use --verbose to show them.
tools.nim(36) doCmd

Error: Execution failed with exit code 1
... Command: /home/runner/work/con4m/con4m/nimdir/bin/nim c --noNimblePath -d:NimblePkgVersion=0.2.0 --path:/home/runner/.nimble/pkgs2/nimutils-0.2.1-4689d581a064f06b3dbdcb2e60175a93c36797dd --path:/home/runner/.nimble/pkgs2/unicodedb-0.12.0-445[24](https://github.com/crashappsec/con4m/actions/runs/7958493760/job/21723477313#step:5:25)16471e2fe87[26](https://github.com/crashappsec/con4m/actions/runs/7958493760/job/21723477313#step:5:27)eb6070ed6ea7368171cc09 --hints:off -r --path:. /home/runner/work/con4m/con4m/tests/test
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with tests/test.nim and the nimble test or nim r tests/test.nim commands from the linked GitHub Actions run. Trace how toAnsiCode is expected to be provided, reproduce the failure on Linux, and confirm that the test command completes without the undeclared-identifier error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nim
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.