Skip to content

Build failure: swift on darwin #483584

Description

@mio-19

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

build a dotnet package like ryubing

┃                   ┌─ ⏸ clang-wrapper-21.1.8 waiting for 1 ⚠
┃                   ├─ ⚠ swift-5.10.1 failed with exit code 1 after ⏱ 1h59m6s
┃                ┌─ ⏸ swift-wrapper-5.10.1
┃             ┌─ ⏸ dotnet-vmr-8.0.23
┃          ┌─ ⏸ Microsoft.NETCore.App.Ref-8.0.23

Can Hydra reproduce this build failure?

Hydra is currently rebuilding this package.

Link to Hydra build job

https://hydra.nixos.org/job/nixpkgs/unstable/swift.aarch64-darwin

Relevant log output

In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/tools/SourceKit/lib/SwiftLang/SwiftASTManager.cpp:16:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/tools/SourceKit/lib/SwiftLang/SwiftLangSupport.h:30:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/IDETool/CompileInstance.h:16:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/Frontend/Frontend.h:43:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/Subsystems.h:20:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/AST/TBDGenRequests.h:24:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/IRGen/Linking.h:23:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/SIL/SILFunction.h:26:
In file included from /nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/SIL/SILBasicBlock.h:24:
/nix/var/nix/builds/nix-build-swift-5.10.1.drv-0/b/src/swift/include/swift/SIL/SILInstruction.h:1150:17: warning: 'offsetof' on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
 1150 |                 offsetof(NonSingleValueInstruction, kind),
      |                 ^                                   ~~~~
/nix/store/rzggksbv3l3rp8appk6dw71b0wn4ar18-clang-wrapper-21.1.8/resource-root/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
   16 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                        ^                     ~
7 warnings generated.
ninja: build stopped: subcommand failed.

Additional context

No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.6.0, macOS 15.7.4
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Lix, like Nix) 2.93.3 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/user/.config/nix/nix.conf:/Users/user/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/98457fs34arnx4davas2zcsnb5lzcjsp-lix-2.93.3/share
  • nixpkgs: /nix/store/i07gh1w1s6ddp00fj70hp1ybs7gdnk1v-source

Notify maintainers

@dduan @Samasaur1 @stephank @trepetti


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions