Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nim devel nightly i386 build failing #23844

Closed
tersec opened this issue Jul 16, 2024 · 1 comment · Fixed by #23849
Closed

Nim devel nightly i386 build failing #23844

tersec opened this issue Jul 16, 2024 · 1 comment · Fixed by #23849

Comments

@tersec
Copy link
Contributor

tersec commented Jul 16, 2024

Description

https://github.com/nim-lang/nightlies/actions/runs/9948774194/job/27483951748

Nim Version

c11b3f3

Current Output

/home/runner/work/nightlies/nightlies/nim/compiler/suggest.nim(38, 11) Hint: duplicate import of 'tables'; previous import here: /home/runner/work/nightlies/nightlies/nim/compiler/sigmatch.nim(18, 11) [DuplicateModuleImport]
.....................................................................................
Hint: mm: orc; opt: speed; options: -d:danger
171833 lines; 7.898s; 665.496MiB peakmem; proj: /home/runner/work/nightlies/nightlies/nim/compiler/nim.nim; out: /home/runner/.cache/nim/nim_r/nim.json [SuccessX]
bin/nim compile -f --incremental:off --compileonly --gen_mapping --cc:gcc --skipUserCfg --os:windows --cpu:amd64 -d:danger -d:gitHash:c11b3f3fc75156c1ce7ad31b631ed4196c3d5ba5 compiler/nim.nim
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/config/nim.cfg' [Conf]
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/config/config.nims' [Conf]
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/compiler/nim.cfg' [Conf]
.................................................................................................................................................................................................
/home/runner/work/nightlies/nightlies/nim/compiler/modulegraphs.nim(14, 11) Warning: imported and not used: 'algorithm' [UnusedImport]
.................
/home/runner/work/nightlies/nightlies/nim/compiler/semdata.nim(18, 17) Warning: imported and not used: 'astalgo' [UnusedImport]
.......................
/home/runner/work/nightlies/nightlies/nim/compiler/concepts.nim(14, 13) Warning: imported and not used: 'astalgo' [UnusedImport]
.
/home/runner/work/nightlies/nightlies/nim/compiler/suggest.nim(38, 11) Hint: duplicate import of 'tables'; previous import here: /home/runner/work/nightlies/nightlies/nim/compiler/sigmatch.nim(18, 11) [DuplicateModuleImport]
.....................................................................................
Hint: mm: orc; opt: speed; options: -d:danger
171833 lines; 7.797s; 665.688MiB peakmem; proj: /home/runner/work/nightlies/nightlies/nim/compiler/nim.nim; out: /home/runner/.cache/nim/nim_r/nim.json [SuccessX]
bin/nim compile -f --incremental:off --compileonly --gen_mapping --cc:gcc --skipUserCfg --os:linux --cpu:i386 -d:danger -d:gitHash:c11b3f3fc75156c1ce7ad31b631ed4196c3d5ba5 compiler/nim.nim
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/config/nim.cfg' [Conf]
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/config/config.nims' [Conf]
Hint: used config file '/home/runner/work/nightlies/nightlies/nim/compiler/nim.cfg' [Conf]
...........................................................................................................................................................
/home/runner/work/nightlies/nightlies/nim/lib/pure/osproc.nim(1409, 34) Error: type mismatch: got 'int64' for 'ns' but expected 'int'
Error: call to nim compiler failed
Error: execution of an external program failed: '/home/runner/work/nightlies/nightlies/nim/tools/niminst/niminst --var:version=2.1.9 --var:mingw=none csource --main:compiler/nim.nim compiler/installer.ini -d:danger -d:gitHash:c11b3f3fc75156c1ce7ad31b631ed4196c3d5ba5'
FAILURE
Error: Process completed with exit code 1.

Expected Output

Nightly builds

Possible Solution

No response

Additional Information

No response

@ringabout
Copy link
Member

regress: #23834

narimiran pushed a commit that referenced this issue Jul 17, 2024
fixes #23844
follow up #23834

```nim
type
  Timespec* {.importc: "struct timespec",
               header: "<time.h>", final, pure.} = object ## struct timespec
    tv_sec*: Time  ## Seconds.
    tv_nsec*: clong  ## Nanoseconds.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants