Skip to content

swiftPackages.*: build with the default LLVM version#439408

Merged
emilazy merged 13 commits intoNixOS:masterfrom
emilazy:push-tlqnrmlupwyy
Sep 3, 2025
Merged

swiftPackages.*: build with the default LLVM version#439408
emilazy merged 13 commits intoNixOS:masterfrom
emilazy:push-tlqnrmlupwyy

Conversation

@emilazy
Copy link
Member

@emilazy emilazy commented Sep 2, 2025

This one was a bit of a pain.

Swift 5.8 uses its own fork of LLVM 15, and depends on its custom version of Clang to build and at runtime. It builds these as part of the Swift compiler derivation. However, it also uses llvmPackages_15.stdenv for that build and for the build of downstream Swift packages, and has some entangled dependencies on it, like depending on its Clang resource directory and libc++ headers. This PR disentangles those dependencies from the bootstrap, patches, and wrappers, and backports a few upstream patches to let the bootstrap go through with our default LLVM 19.

The derivation has fallen behind upstream Swift releases and its various issues should be resolved with @reckenrode’s upcoming rewrite. In the meantime, this drops the dependency on llvmPackages_15 to unblock its removal, while keeping the build of Swift’s custom LLVM 15 fork inside the compiler derivation.

I have tested a bunch of builds already, but will now run nixpkgs-review.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

I used this to verify the libc++ changes.
Honestly I did this in the middle of trying things and then forgot
about it, and I just don’t feel like bootstrapping the whole thing
again to drop this commit.
The versions of `llvmPackages` that require this patch are going
away soon.
Swift needs Clang to link with. The linker patch breaks linking
when using Swift with a GCC‐based standard environment.

Similarly, the internal Clang headers in the resource directory are
coupled to the corresponding version of Clang. The resource root patch
caused Swift’s Clang to use the resource directory from the version
of Clang used in the build environment, which is only compatible if
the versions match.

Instead, hard‐code the Clang path in the patches and wrappers.
libc++ only supports a limited range of Clang versions, so this was
relying on the LLVM version corresponding to the one used in Swift’s
fork. Since Swift builds its own LLVM 15 anyway, we can simply install
the required libc++ headers along with it.
@emilazy emilazy requested a review from a team September 2, 2025 03:27
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. labels Sep 2, 2025
GCC doesn’t know what an `-fblocks` or `-fmodules` is. Probably
SwiftPM should hard‐code Clang but I’m tired.
Swift now works fine with standard environments using GCC or other
versions of LLVM. Some packages, like components of Swift itself or
others that combine Swift with features like C++ modules or C blocks,
may still need to use an LLVM‐based standard environment, but we
do not need to enforce a uniform `swiftPackages.stdenv` any more.
@nix-owners nix-owners bot requested a review from remko September 2, 2025 04:58
@emilazy
Copy link
Member Author

emilazy commented Sep 2, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 439408
Commit: 997d97b1097e3095139e25375e33342f013899dd


aarch64-linux

✅ 25 packages built:
  • age-plugin-se
  • ghidra-extensions.ghidraninja-ghidra-scripts
  • protoc-gen-swift
  • sourcekit-lsp (swiftPackages.sourcekit-lsp)
  • swift (swiftPackages.swift)
  • swiftPackages.Dispatch (swift-corelibs-libdispatch)
  • swiftPackages.Dispatch.dev (swift-corelibs-libdispatch.dev)
  • swiftPackages.Dispatch.man (swift-corelibs-libdispatch.man)
  • swift-format (swiftPackages.swift-format)
  • swift.man (swiftPackages.swift.man)
  • swiftPackages.Foundation
  • swiftPackages.Foundation.dev
  • swiftPackages.XCTest
  • swiftPackages.swift-docc
  • swiftPackages.swift-driver
  • swiftPackages.swift-unwrapped
  • swiftPackages.swift-unwrapped.dev
  • swiftPackages.swift-unwrapped.doc
  • swiftPackages.swift-unwrapped.lib
  • swiftPackages.swift-unwrapped.man
  • swiftPackages.swiftNoSwiftDriver
  • swiftPackages.swiftNoSwiftDriver.man
  • swiftpm (swiftPackages.swiftpm)
  • swiftpm2nix (swiftPackages.swiftpm2nix)
  • swiftformat

Comment on lines -720 to -721
# NOTE: We don't symlink directly here, because that'd add a run-time dep
# on the full Clang compiler to every Swift executable. The copy here is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be worth keeping this comment around?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’d need some tweaking to the wording now that include isn’t also a symlink, and the whole derivation is getting rewritten by Randy anyway. Not sure it’s worth it. This stuff shouldn’t be in $lib and getting pulled in as a runtime dependency of Swift applications at all, anyway…

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good enough for me!

Comment on lines -25 to -29
inherit (swiftLlvmPackages) clang;

# Overrides that create a useful environment for swift packages, allowing
# packaging with `swiftPackages.callPackage`.
inherit (clang) bintools;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i suppose removing these are also breaking changes, though i see no in-tree usage of them

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frankly the default stdenv change is breaking too, but I just didn’t feel like replacing all the occurrences throughout the tree. These other overrides are for swiftPackages.callPackage, and the default clang and bintools will be used instead in that case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly I say this because (assuming I am understanding this correctly) stdenv will change but swiftPackages.stdenv will still eval, while swiftPackages.clang and swiftPackages.bintools are totally gone. But it sounds like nothing should have been using them, so I'm happy.

nix-update-script,
}:
let
inherit (swiftPackages) stdenv;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why this error is triggered? My best guess at the moment is something in swift-crypto, which suggests that it isn't an isolated issue and will probably come up again.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. As mentioned in the commit message, SwiftPM should potentially hard‐code Clang for compiling C code or something. But needing a separate swiftPackages.stdenv sucks and I consider this more a problem of the way we’re handling SwiftPM currently (e.g. a separate swift-crypto package could override the compiler itself, if we had one).

Since all of this is being rewritten – hopefully for 25.11 – I don’t want to try and do more surgery to clean things up, when a lot of the fundamentals have big issues (like the entanglement between the Swift wrapper and cc-wrapper). This was just a blocker for removing old LLVMs that already took way more time than I’d like. The fallback option if we don’t like this is to set swiftPackages.stdenv to llvmPackages.stdenv, but it’s not required for e.g. swiftformat or protoc-gen-swift, at least.

@Samasaur1
Copy link
Member

am running some builds (on aarch64-darwin) but assuming they pass this looks good to me

@emilazy
Copy link
Member Author

emilazy commented Sep 2, 2025

(FWIW I’m going to run nixpkgs-review overnight, as it has to build like three .NET versions which takes years.)

Copy link
Member

@Samasaur1 Samasaur1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My nix build of:

  • pam-watchid
  • autokbisw
  • age-plugin-se
  • airdrop-cli
  • protoc-gen-swift
  • dark-mode-notify
  • dockutil
  • xcodegen

passed

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 2, 2025
@remko remko removed their request for review September 2, 2025 06:47
@emilazy
Copy link
Member Author

emilazy commented Sep 2, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 439408
Commit: 997d97b1097e3095139e25375e33342f013899dd


aarch64-darwin

⏩ 5 packages marked as broken and skipped:
  • jellyfin-media-player
  • python312Packages.pythonnet
  • python312Packages.pythonnet.dist
  • python313Packages.pythonnet
  • python313Packages.pythonnet.dist
❌ 21 packages failed to build:
  • ArchiSteamFarm
  • boogie (dotnetPackages.Boogie)
  • discordchatexporter-cli
  • github-runner
  • knossosnet
  • marksman
  • prowlarr
  • python312Packages.clr-loader
  • python312Packages.clr-loader.dist
  • python313Packages.clr-loader
  • python313Packages.clr-loader.dist
  • radarr
  • roslyn-ls
  • sbom-tool
  • sonarr
  • tests.dotnet.final-attrs.override-modifies-output
  • tests.dotnet.use-dotnet-from-env.fallback
  • tests.dotnet.use-dotnet-from-env.use-dotnet-path-env
  • tests.dotnet.use-dotnet-from-env.use-dotnet-root-env
  • vscode-extensions.ms-azuretools.vscode-bicep
  • ytui-music
✅ 181 packages built:
  • age-plugin-se
  • airdrop-cli
  • ani-cli
  • autoPatchcilHook (dotnetCorePackages.autoPatchcilHook)
  • autokbisw
  • avalonia-ilspy
  • azure-functions-core-tools
  • bicep
  • bicep-lsp
  • binary-object-scanner
  • blendfarm
  • bms-to-osu
  • btcpayserver
  • btcpayserver-altcoins
  • ciderpress2
  • clps2c-compiler
  • cplay-ng
  • cplay-ng.dist
  • csharpier
  • csharprepl
  • curseradio
  • curseradio.dist
  • cyclonedx-cli
  • dafny
  • dark-mode-notify
  • darwin.openwith
  • dependency-track
  • depotdownloader
  • dmlive
  • docfx
  • dockutil
  • dotnet-aspnetcore (dotnet-aspnetcore_8, dotnetCorePackages.aspnetcore_8_0, dotnetCorePackages.dotnet_8.aspnetcore)
  • dotnet-aspnetcore.man (dotnet-aspnetcore_8.man, dotnetCorePackages.aspnetcore_8_0.man, dotnetCorePackages.dotnet_8.aspnetcore.man)
  • dotnet-aspnetcore_10 (dotnetCorePackages.aspnetcore_10_0, dotnetCorePackages.dotnet_10.aspnetcore)
  • dotnet-aspnetcore_10.man (dotnetCorePackages.aspnetcore_10_0.man, dotnetCorePackages.dotnet_10.aspnetcore.man)
  • dotnet-aspnetcore_9 (dotnetCorePackages.aspnetcore_9_0, dotnetCorePackages.dotnet_9.aspnetcore)
  • dotnet-aspnetcore_9.man (dotnetCorePackages.aspnetcore_9_0.man, dotnetCorePackages.dotnet_9.aspnetcore.man)
  • dotnet-ef
  • dotnet-outdated
  • dotnet-repl
  • dotnet-runtime (dotnet-runtime_8, dotnetCorePackages.dotnet_8.runtime, dotnetCorePackages.runtime_8_0)
  • dotnet-runtime.man (dotnet-runtime_8.man, dotnetCorePackages.dotnet_8.runtime.man, dotnetCorePackages.runtime_8_0.man)
  • dotnet-runtime_10 (dotnetCorePackages.dotnet_10.runtime, dotnetCorePackages.runtime_10_0)
  • dotnet-runtime_10.man (dotnetCorePackages.dotnet_10.runtime.man, dotnetCorePackages.runtime_10_0.man)
  • dotnet-runtime_9 (dotnetCorePackages.dotnet_9.runtime, dotnetCorePackages.runtime_9_0)
  • dotnet-runtime_9.man (dotnetCorePackages.dotnet_9.runtime.man, dotnetCorePackages.runtime_9_0.man)
  • dotnet-sdk (dotnet-sdk_8, dotnetCorePackages.sdk_8_0, dotnetCorePackages.sdk_8_0_4xx)
  • dotnet-sdk_10 (dotnetCorePackages.dotnet_10.sdk, dotnetCorePackages.sdk_10_0, dotnetCorePackages.sdk_10_0-source, dotnetCorePackages.sdk_10_0_1xx)
  • dotnet-sdk_10.man (dotnetCorePackages.dotnet_10.sdk.man, dotnetCorePackages.sdk_10_0-source.man, dotnetCorePackages.sdk_10_0.man, dotnetCorePackages.sdk_10_0_1xx.man)
  • dotnet-sdk_9 (dotnetCorePackages.sdk_9_0, dotnetCorePackages.sdk_9_0_3xx)
  • dotnetCorePackages.dotnet_10.vmr
  • dotnetCorePackages.dotnet_10.vmr.man
  • dotnetCorePackages.sdk_8_0_1xx (dotnetCorePackages.dotnet_8.sdk)
  • dotnetCorePackages.sdk_8_0_1xx.man (dotnetCorePackages.dotnet_8.sdk.man)
  • dotnetCorePackages.dotnet_8.vmr
  • dotnetCorePackages.dotnet_8.vmr.man
  • dotnetCorePackages.sdk_9_0_1xx (dotnetCorePackages.dotnet_9.sdk)
  • dotnetCorePackages.sdk_9_0_1xx.man (dotnetCorePackages.dotnet_9.sdk.man)
  • dotnetCorePackages.dotnet_9.vmr
  • dotnetCorePackages.dotnet_9.vmr.man
  • dotnetCorePackages.sdk_8_0_3xx
  • dra-cla
  • famistudio
  • fantomas
  • ff2mpv
  • ff2mpv-go
  • formula
  • fsautocomplete
  • garnet
  • gh-gei
  • ghidra-extensions.ghidraninja-ghidra-scripts
  • git-credential-manager
  • gitversion
  • gonic
  • gtk-pipe-viewer
  • gtk-pipe-viewer.devdoc
  • hydrus
  • hydrus.doc
  • ilspycmd
  • imewlconverter
  • invidtui
  • jackett
  • jellyfin
  • jellyfin-tui
  • jellytui
  • juniper
  • libation
  • liborbispkg-pkgtool
  • lidarr
  • lubelogger
  • mesen
  • mov-cli
  • mov-cli.dist
  • mpv
  • mpv-unwrapped
  • mpv-unwrapped.dev
  • mpv-unwrapped.doc
  • mpv-unwrapped.man
  • msbuild
  • msbuild-structured-log-viewer
  • msgraph-cli
  • n-m3u8dl-re
  • nbxplorer
  • needle
  • netcoredbg
  • obj2tiles
  • omnisharp-roslyn
  • openutau
  • pam-watchid
  • patchcil
  • pipe-viewer
  • pipe-viewer.devdoc
  • pre-commit
  • pre-commit.dist
  • previewqt
  • protoc-gen-swift
  • ps2patchelf
  • python312Packages.mpv
  • python312Packages.mpv.dist
  • python313Packages.mpv
  • python313Packages.mpv.dist
  • radio-cli
  • recyclarr
  • rockstarlang
  • roslyn
  • ryubing
  • rzls
  • seq-cli
  • skeditor
  • slsk-batchdl
  • smtp4dev
  • somafm-cli
  • sourcegit
  • sourcekit-lsp (swiftPackages.sourcekit-lsp)
  • spotlight-downloader
  • subtitleedit
  • supersonic
  • swift (swiftPackages.swift)
  • swift-format (swiftPackages.swift-format)
  • swift.man (swiftPackages.swift.man)
  • swiftPackages.XCTest
  • swiftPackages.swift-docc
  • swiftPackages.swift-driver
  • swiftPackages.swift-unwrapped
  • swiftPackages.swift-unwrapped.dev
  • swiftPackages.swift-unwrapped.doc
  • swiftPackages.swift-unwrapped.lib
  • swiftPackages.swift-unwrapped.man
  • swiftPackages.swiftNoSwiftDriver
  • swiftPackages.swiftNoSwiftDriver.man
  • swiftpm (swiftPackages.swiftpm)
  • swiftpm2nix (swiftPackages.swiftpm2nix)
  • swiftformat
  • termusic
  • tests.dotnet.final-attrs.check-output
  • tests.dotnet.final-attrs.output-matches-const
  • tests.dotnet.final-attrs.override-has-no-effect
  • tests.dotnet.nuget-deps.derivation
  • tests.dotnet.nuget-deps.json-file
  • tests.dotnet.nuget-deps.list
  • tests.dotnet.nuget-deps.nix-file
  • tests.dotnet.nuget-deps.null
  • tests.dotnet.project-references
  • tests.dotnet.structured-attrs.check-output
  • tests.dotnet.structured-attrs.no-structured-attrs
  • tests.dotnet.use-dotnet-from-env.without-fallback
  • tests.writers.simple.fsharpNoNugetDeps
  • tkmm
  • tomato-c
  • tone
  • torrentstream
  • upgrade-assistant
  • vrcadvert
  • whisparr
  • wiseunpacker
  • wtwitch
  • xcodegen
  • xcodes
  • yafc-ce
  • youtube-tui
  • ytfzf

Error logs: `aarch64-darwin`
ArchiSteamFarm
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
�=�=Test run for /private/tmp/nix-build-ArchiSteamFarm-6.2.0.5.drv-0/source/ArchiSteamFarm.Tests/bin/Release/net9.0/osx-arm64/ArchiSteamFarm.Tests.dll (.NETCoreApp,Version=v9.0)
�=VSTest version 17.14.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
System.Net.Sockets.SocketException (13): Permission denied
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.SocketServer.Start(String endPoint) in //src/Microsoft.TestPlatform.CommunicationUtilities/SocketServer.cs:line 65
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestSender.InitializeCommunication() in /
/src/Microsoft.TestPlatform.CommunicationUtilities/TestRequestSender.cs:line 168
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, String runSettings) in //src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyOperationManager.cs:line 207
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.InitializeTestRun(TestRunCriteria testRunCriteria, IInternalTestRunEventsHandler eventHandler) in /
/src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyExecutionManager.cs:line 184

Test Run Aborted.
�=

discordchatexporter-cli
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Executing dotnetConfigureHook
  Determining projects to restore...
  Restored /private/tmp/nix-build-discordchatexporter-cli-2.43.3.drv-0/source/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj (in 168 ms).
  Restored /private/tmp/nix-build-discordchatexporter-cli-2.43.3.drv-0/source/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj (in 168 ms).
Finished dotnetConfigureHook
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing dotnetBuildHook
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(198,38): error MSB4184: The expression "[MSBuild]::VersionLessThan('', 6.0)" cannot be evaluated. Version string was not in a correct format. [/private/tmp/nix-build-discordchatexporter-cli-2.43.3.drv-0/source/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj]

Build FAILED.

/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(198,38): error MSB4184: The expression "[MSBuild]::VersionLessThan('', 6.0)" cannot be evaluated. Version string was not in a correct format. [/private/tmp/nix-build-discordchatexporter-cli-2.43.3.drv-0/source/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.70

github-runner
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): warning NETSDK1188: Package Microsoft.TestPlatform.TestHost 17.14.1 has a resource with the locale 'zh-hant'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. [/private/tmp/nix-build-github-runner-2.328.0.drv-0/src/src/Test/Test.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): warning NETSDK1188: Package Microsoft.TestPlatform.TestHost 17.14.1 has a resource with the locale 'zh-hant'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. [/private/tmp/nix-build-github-runner-2.328.0.drv-0/src/src/Test/Test.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): warning NETSDK1188: Package Microsoft.TestPlatform.TestHost 17.14.1 has a resource with the locale 'zh-hant'. This locale is not recognized by .NET. Consider notifying the package author that it appears to be using an invalid locale. [/private/tmp/nix-build-github-runner-2.328.0.drv-0/src/src/Test/Test.csproj]
    65 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.33
Finished dotnetBuildHook
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
�=�=Test run for /private/tmp/nix-build-github-runner-2.328.0.drv-0/src/src/Test/bin/Release/net8.0/osx-arm64/Test.dll (.NETCoreApp,Version=v8.0)
�=VSTest version 17.11.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.
�=
Test Run Aborted.
�=

knossosnet
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
  IonKiwi.lz4 -> /private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/bin/Release/net8.0/IonKiwi.lz4.dll

Build FAILED.

/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly. [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: System.IO.IOException: The process cannot access the file '/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/bin/Release/net8.0/IonKiwi.lz4.deps.json' because it is being used by another process. [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj] /nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at System.IO.File.Create(String path) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.NET.Build.Tasks.GenerateDepsFile.WriteDepsFile(String depsFilePath) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
/nix/store/qpgba8652071ybx57kk3qnvzn5jpv9vv-dotnet-sdk-8.0.413/share/dotnet/sdk/8.0.413/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(221,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/private/tmp/nix-build-knossosnet-1.3.1.drv-0/source/IonKiwi.lz4/IonKiwi.lz4.csproj]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:01.11

marksman
  Tests -> /private/tmp/nix-build-marksman-2024-12-18.drv-0/source/Tests/bin/Release/net8.0/osx-arm64/Tests.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:04.90
Finished dotnetBuildHook
buildPhase completed in 31 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
Test run for /private/tmp/nix-build-marksman-2024-12-18.drv-0/source/Tests/bin/Release/net8.0/osx-arm64/Tests.dll (.NETCoreApp,Version=v8.0)
VSTest version 17.11.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.

Test Run Aborted.

prowlarr
      modules by path ./frontend/src/Styles/ 16.7 KiB 7 modules
      + 4 modules
    + 6 modules
  css modules 126 KiB 256 modules
webpack 5.95.0 compiled successfully in 28026 ms
✨  Done in 30.13s.
Finished dotnetBuildHook
buildPhase completed in 1 minutes 10 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
�=�=Test run for /private/tmp/nix-build-prowlarr-2.0.5.5160.drv-0/source-patched/_tests/net8.0/osx-arm64/Prowlarr.Api.V1.Test.dll (.NETCoreApp,Version=v8.0)
�=VSTest version 17.11.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.
�=
Test Run Aborted.
�=

python312Packages.clr-loader
/nix/store/msrmjs47wva2hk6bvqzh4b40rd5n0sqx-python3-3.12.11/lib/python3.12/multiprocessing/popen_spawn_posix.py:32: in __init__
    super().__init__(process_obj)
/nix/store/msrmjs47wva2hk6bvqzh4b40rd5n0sqx-python3-3.12.11/lib/python3.12/multiprocessing/popen_fork.py:19: in __init__
    self._launch(process_obj)
/nix/store/msrmjs47wva2hk6bvqzh4b40rd5n0sqx-python3-3.12.11/lib/python3.12/multiprocessing/popen_spawn_posix.py:47: in _launch
    reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = <SpawnProcess name='SpawnProcess-1' parent=86415 initial>
file = <_io.BytesIO object at 0x1021ff6f0>, protocol = None

def dump(obj, file, protocol=None):
    &#x27;&#x27;&#x27;Replacement for pickle.dump() using ForkingPickler.&#x27;&#x27;&#x27;

> ForkingPickler(file, protocol).dump(obj)
E _pickle.PicklingError: Can't pickle <function example_netstandard at 0x101ed2980>: it's not the same object as test_common.example_netstandard

/nix/store/msrmjs47wva2hk6bvqzh4b40rd5n0sqx-python3-3.12.11/lib/python3.12/multiprocessing/reduction.py:60: PicklingError
=========================== short test summary info ============================
FAILED tests/test_common.py::test_coreclr_properties - _pickle.PicklingError: Can't pickle <function example_netstandard at 0x101e...
============= 1 failed, 2 passed, 3 skipped, 4 deselected in 3.86s =============

python313Packages.clr-loader
/nix/store/9px7zzsfnlmj61yy2fpl6z14w93j05is-python3-3.13.6/lib/python3.13/multiprocessing/popen_spawn_posix.py:32: in __init__
    super().__init__(process_obj)
/nix/store/9px7zzsfnlmj61yy2fpl6z14w93j05is-python3-3.13.6/lib/python3.13/multiprocessing/popen_fork.py:20: in __init__
    self._launch(process_obj)
/nix/store/9px7zzsfnlmj61yy2fpl6z14w93j05is-python3-3.13.6/lib/python3.13/multiprocessing/popen_spawn_posix.py:47: in _launch
    reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = <SpawnProcess name='SpawnProcess-1' parent=87154 initial>
file = <_io.BytesIO object at 0x105a82480>, protocol = None

def dump(obj, file, protocol=None):
    &#x27;&#x27;&#x27;Replacement for pickle.dump() using ForkingPickler.&#x27;&#x27;&#x27;

> ForkingPickler(file, protocol).dump(obj)
E _pickle.PicklingError: Can't pickle <function example_netstandard at 0x1057144a0>: it's not the same object as test_common.example_netstandard

/nix/store/9px7zzsfnlmj61yy2fpl6z14w93j05is-python3-3.13.6/lib/python3.13/multiprocessing/reduction.py:60: PicklingError
=========================== short test summary info ============================
FAILED tests/test_common.py::test_coreclr_properties - _pickle.PicklingError: Can't pickle <function example_netstandard at 0x1057...
============= 1 failed, 2 passed, 3 skipped, 4 deselected in 4.55s =============

radarr
    modules by path ./frontend/src/ 2.47 MiB
      modules by path ./frontend/src/Styles/ 17.4 KiB
        modules by path ./frontend/src/Styles/*.css 4.8 KiB 3 modules
        modules by path ./frontend/src/Styles/Themes/*.js 11.1 KiB 2 modules
        modules by path ./frontend/src/Styles/Variables/*.js 1.52 KiB 2 modules
      + 5 modules
    + 7 modules
  css modules 230 KiB 420 modules
webpack 5.95.0 compiled successfully in 36563 ms
✨  Done in 38.33s.
Finished dotnetBuildHook
buildPhase completed in 1 minutes 21 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
�=�=Test run for /private/tmp/nix-build-radarr-5.26.2.10099.drv-0/source-patched/_tests/net8.0/osx-arm64/Radarr.Api.Test.dll (.NETCoreApp,Version=v8.0)
�=VSTest version 17.11.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

roslyn-ls
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj (in 294 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Tools/ExternalAccess/Xaml/Microsoft.CodeAnalysis.ExternalAccess.Xaml.csproj (in 278 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Features/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj (in 293 ms).
  Failed to restore /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Workspaces/Remote/Core/Microsoft.CodeAnalysis.Remote.Workspaces.csproj (in 321 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Features/ExternalAccess/AspNetCore/Microsoft.CodeAnalysis.ExternalAccess.AspNetCore.csproj (in 42 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/CompilerDeveloperSDK/Microsoft.CodeAnalysis.ExternalAccess.CompilerDeveloperSDK.csproj (in 40 ms).
/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/VisualDiagnostics/Microsoft.CodeAnalysis.ExternalAccess.VisualDiagnostics.csproj : error NU1101: Unable to find package System.Diagnostics.Tracing. No packages exist with this id in source(s): /nix/store/6733rwgkx67wdrcbn8yfaksmpph6r40q-dotnet-sdk-10.0.100-preview.7.25380.108/share/dotnet/library-packs, _nix [/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj]
/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/VisualDiagnostics/Microsoft.CodeAnalysis.ExternalAccess.VisualDiagnostics.csproj : error NU1101: Unable to find package System.Diagnostics.Process. No packages exist with this id in source(s): /nix/store/6733rwgkx67wdrcbn8yfaksmpph6r40q-dotnet-sdk-10.0.100-preview.7.25380.108/share/dotnet/library-packs, _nix [/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj]
/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/VisualDiagnostics/Microsoft.CodeAnalysis.ExternalAccess.VisualDiagnostics.csproj : error NU1101: Unable to find package System.Diagnostics.TraceSource. No packages exist with this id in source(s): /nix/store/6733rwgkx67wdrcbn8yfaksmpph6r40q-dotnet-sdk-10.0.100-preview.7.25380.108/share/dotnet/library-packs, _nix [/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj]
/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/VisualDiagnostics/Microsoft.CodeAnalysis.ExternalAccess.VisualDiagnostics.csproj : error NU1101: Unable to find package System.IO.Pipes. No packages exist with this id in source(s): /nix/store/6733rwgkx67wdrcbn8yfaksmpph6r40q-dotnet-sdk-10.0.100-preview.7.25380.108/share/dotnet/library-packs, _nix [/private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj]
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/Copilot/Microsoft.CodeAnalysis.LanguageServer.ExternalAccess.Copilot.csproj (in 54 ms).
  Failed to restore /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Tools/ExternalAccess/Razor/Features/Microsoft.CodeAnalysis.ExternalAccess.Razor.Features.csproj (in 361 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Workspaces/MSBuild/BuildHost/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.csproj (in 79 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj (in 79 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Features/ExternalAccess/Copilot/Microsoft.CodeAnalysis.ExternalAccess.Copilot.csproj (in 96 ms).
  Failed to restore /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/ExternalAccess/VisualDiagnostics/Microsoft.CodeAnalysis.ExternalAccess.VisualDiagnostics.csproj (in 57 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Workspaces/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Workspaces.csproj (in 57 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Workspaces/MSBuild/Core/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj (in 140 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/Workspaces/Core/Portable/Microsoft.CodeAnalysis.Workspaces.csproj (in 81 ms).
  Restored /private/tmp/nix-build-roslyn-ls-5.0.0-2.25371.17.drv-0/source/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj (in 176 ms).
sbom-tool
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Common/Microsoft.Sbom.Common.csproj (in 295 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Contracts/Microsoft.Sbom.Contracts.csproj (in 295 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Extensions/Microsoft.Sbom.Extensions.csproj (in 295 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Microsoft.Sbom.Parsers.Spdx22SbomParser.csproj (in 295 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Api/Microsoft.Sbom.Api.csproj (in 793 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Tool/Microsoft.Sbom.Tool.csproj (in 792 ms).
  Restored /private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Extensions.DependencyInjection/Microsoft.Sbom.Extensions.DependencyInjection.csproj (in 816 ms).
Finished dotnetConfigureHook
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing dotnetBuildHook
�=�=�=/private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Contracts/Contracts/Enums/AlgorithmName.cs(22,34): error IDE0044: Make field readonly (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044) [/private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Contracts/Microsoft.Sbom.Contracts.csproj::TargetFramework=net8.0]

Build FAILED.

/private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Contracts/Contracts/Enums/AlgorithmName.cs(22,34): error IDE0044: Make field readonly (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044) [/private/tmp/nix-build-sbom-tool-4.1.2.drv-0/source/src/Microsoft.Sbom.Contracts/Microsoft.Sbom.Contracts.csproj::TargetFramework=net8.0]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:09.08

sonarr
    util (ignored) 15 bytes [built] [code generated]
    util (ignored) 15 bytes [optional] [built] [code generated]
    ./util.inspect (ignored) 15 bytes [built] [code generated]
  css modules 212 KiB 400 modules
webpack 5.95.0 compiled successfully in 31553 ms
✨  Done in 33.93s.
Finished dotnetBuildHook
buildPhase completed in 1 minutes 27 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Executing dotnetCheckHook
�=�=Test run for /private/tmp/nix-build-sonarr-4.0.15.2941.drv-0/source-patched/_tests/net8.0/osx-arm64/Sonarr.Api.Test.dll (.NETCoreApp,Version=v8.0)
�=VSTest version 17.11.1 (arm64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.
�=
Test Run Aborted.
�=

tests.dotnet.final-attrs.override-modifies-output
Checking:
buildDotnetModule produces the expected output when called with a recursive function
--- /nix/store/4z3jnjkqamcixnrf1xj6qwnipdyvzjzv-dotnet-final-attrs-test-override-rec-output
+++ /nix/store/g7wrgvsf205vvg4s0v1i66wffw3dav21-overridden-copyright.txt
├── stat {}
│ @@ -1,7 +1,7 @@
│  
│    Size: 33        	Blocks: 8          IO Block: 4096   regular file
│ -Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/   wheel)
│ +Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (  350/  nixbld)
│  
│  Modify: 1970-01-01 00:00:01.000000000 +0000

Contents must be equal, but were not!

+: expected, at /nix/store/g7wrgvsf205vvg4s0v1i66wffw3dav21-overridden-copyright.txt
-: unexpected, at /nix/store/4z3jnjkqamcixnrf1xj6qwnipdyvzjzv-dotnet-final-attrs-test-override-rec-output

tests.dotnet.use-dotnet-from-env.fallback
Checking:
buildDotnetModule sets fallback DOTNET_ROOT in wrapper
--- /nix/store/ffxfmvahljr9pyxw0igvgzrr3d9g6pcj-use-dotnet-from-env-fallback-test
+++ /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
├── stat {}
│ @@ -1,7 +1,7 @@
│  
│    Size: 6         	Blocks: 8          IO Block: 4096   regular file
│ -Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/   wheel)
│ +Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (  350/  nixbld)
│  
│  Modify: 1970-01-01 00:00:01.000000000 +0000

Contents must be equal, but were not!

+: expected, at /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
-: unexpected, at /nix/store/ffxfmvahljr9pyxw0igvgzrr3d9g6pcj-use-dotnet-from-env-fallback-test

tests.dotnet.use-dotnet-from-env.use-dotnet-path-env
Checking:
buildDotnetModule uses DOTNET_ROOT from dotnet in PATH in wrapper
--- /nix/store/psp2wq7nl0vkwcw363l2511fx21acqsv-use-dotnet-from-env-path-test
+++ /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
├── stat {}
│ @@ -1,7 +1,7 @@
│  
│    Size: 6         	Blocks: 8          IO Block: 4096   regular file
│ -Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/   wheel)
│ +Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (  350/  nixbld)
│  
│  Modify: 1970-01-01 00:00:01.000000000 +0000

Contents must be equal, but were not!

+: expected, at /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
-: unexpected, at /nix/store/psp2wq7nl0vkwcw363l2511fx21acqsv-use-dotnet-from-env-path-test

tests.dotnet.use-dotnet-from-env.use-dotnet-root-env
Checking:
buildDotnetModule uses DOTNET_ROOT from environment in wrapper
--- /nix/store/90k8yp02byv3ywdg90svlkwnp56dal1k-use-dotnet-from-env-root-test
+++ /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
├── stat {}
│ @@ -1,7 +1,7 @@
│  
│    Size: 6         	Blocks: 8          IO Block: 4096   regular file
│ -Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/   wheel)
│ +Device: 1,17	Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (  350/  nixbld)
│  
│  Modify: 1970-01-01 00:00:01.000000000 +0000

Contents must be equal, but were not!

+: expected, at /nix/store/7y5lpbzxkwxk9mxyclfbxrdcygdf27cc-dotnet-version.txt
-: unexpected, at /nix/store/90k8yp02byv3ywdg90svlkwnp56dal1k-use-dotnet-from-env-root-test

ytui-music
219 |                     playlist_state = &mut (&mut (*state_ptr)).playlistbar.1;
    |                                           +++++             +

error: implicit autoref creates a reference to the dereference of a raw pointer
--> front-end/src/ui/mod.rs:220:41
|
220 | artist_state = &mut (*state_ptr).artistbar.1;
| ^^---------^^^^^^^^^^^
| |
| this raw pointer has type *mut std::sync::MutexGuard&lt;&#x27;_, State&lt;&#x27;_&gt;&gt;
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
= note: references are created through calls to explicit Deref(Mut)::deref(_mut) implementations
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
220 | artist_state = &mut (&mut (*state_ptr)).artistbar.1;
| +++++ +

warning: ytui_music (bin "ytui_music") generated 3 warnings
error: could not compile ytui_music (bin "ytui_music") due to 3 previous errors; 3 warnings emitted

@emilazy
Copy link
Member Author

emilazy commented Sep 2, 2025

Failures seem clearly like existing issues or sandbox problems. I think this is good to merge.

@khaneliman
Copy link
Contributor

khaneliman commented Sep 3, 2025

Whats the roslyn-ls failure? We just fixed that package

EDIT: Yeah, nevermind... looks like it was ran from pre-fix

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Sep 3, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Sep 3, 2025
@emilazy emilazy merged commit 401f6f7 into NixOS:master Sep 3, 2025
30 checks passed
@emilazy emilazy deleted the push-tlqnrmlupwyy branch September 3, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants