with https://tangled.org/jollywhoppers.com/socialsync/commit/e1c72ad61815673fda1b604939fbfcde262efe22, gradle fails to build.
the following is the log:
(nix:nix-shell-env) bash-5.2$ ./gradlew build --info
Initialized native services in: /Users/ewan/.gradle/native
Initialized jansi services in: /Users/ewan/.gradle/native
The client will now receive all logging from the daemon (pid: 96804). The daemon log file: /Users/ewan/.gradle/daemon/9.2.1/daemon-96804.out.log
Starting 10th build in daemon [uptime: 1 hrs 56 mins 29.991 secs, performance: 98%, GC rate: 0.00/s, heap usage: 5% of 1 GiB]
Using 8 worker leases.
Operational build model parameters: {requiresToolingModels=false, parallelProjectExecution=true, configureOnDemand=false, configurationCache=false, configurationCacheParallelStore=false, configurationCacheParallelLoad=true, isolatedProjects=false, parallelProjectConfiguration=false, intermediateModelCache=false, parallelToolingApiActions=true, invalidateCoupledProjects=false, modelAsProjectDependency=false, resilientModelBuilding=false}
Now considering [/Users/ewan/Developer/Git/socialsync] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file '/Users/ewan/Developer/Git/socialsync/settings.gradle'.
Projects loaded. Root project using build file '/Users/ewan/Developer/Git/socialsync/build.gradle'.
Included projects: [root project 'socialsync']
> Configure project :
Evaluating root project 'socialsync' using build file '/Users/ewan/Developer/Git/socialsync/build.gradle'.
Resolved plugin [id: 'net.fabricmc.fabric-loom-remap', version: '1.14-SNAPSHOT']
Resolved plugin [id: 'maven-publish']
Resolved plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.0']
Resolved plugin [id: 'org.jetbrains.kotlin.plugin.serialization', version: '2.3.0']
Fabric Loom: 1.14.10
(kotlin.metadata.jvm.KotlinClassMetadata) with version (2.2.20-release-333) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-metadata-jvm/2.2.20/1f04dd6a9950a57b90ab8fa536337ba76dee4f59/kotlin-metadata-jvm-2.2.20.jar)
(org.objectweb.asm.ClassVisitor) with version (9.9) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/9.9/c29635c8a7afa03d74b33c1884df8abb2b3f3dcc/asm-9.9.jar)
(org.objectweb.asm.tree.analysis.Analyzer) with version (9.9) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-analysis/9.9/bf4fa6e66638851c1cd22c2caea0c3ee5d5f437/asm-analysis-9.9.jar)
(org.objectweb.asm.commons.ClassRemapper) with version (9.9) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-commons/9.9/db9165a3bf908ded6b08612d583a15d1d0c7bda0/asm-commons-9.9.jar)
(org.objectweb.asm.tree.ClassNode) with version (9.9) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-tree/9.9/f8de6eead6d24dd0f45bd065bbe112b2cda6ea21/asm-tree-9.9.jar)
(org.objectweb.asm.util.ASMifier) with version (9.9) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-util/9.9/42fdfc0508b43807c8078d6e82ecff2ce2112ae8/asm-util-9.9.jar)
(com.google.gson.Gson) with version (null) was loaded from (/Users/ewan/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.11.0/527175ca6d81050b53bdd4c457a6d6e017626b0e/gson-2.11.0.jar)
Build 4adedd86-dbfe-4f97-a808-0d98ecef3c3e is started
Using Kotlin Gradle Plugin gradle813 variant
kotlin scripting plugin: created the scripting discovery configuration: kotlinScriptDef
kotlin scripting plugin: created the scripting discovery configuration: testKotlinScriptDef
kotlin scripting plugin: created the scripting discovery configuration: clientKotlinScriptDef
Using cached Minecraft jars
:Extracting server jar from bootstrap
Evaluating layer mapping: loom:mappings:layered+hash.2198
Mod dependency options: {"__inlineRefmap__":false,"__mappings__":"loom.mappings.1_21_10.layered+hash.2198-v2"}
Applying installer data from /Users/ewan/.gradle/caches/modules-2/files-2.1/net.fabricmc/fabric-loader/0.18.3/234f25229c51fdd8c0f3a72af0dbcf1ecf2f45d1/fabric-loader-0.18.3.jar
Found another installer JSON in (/Users/ewan/.gradle/caches/modules-2/files-2.1/net.fabricmc/fabric-loader/0.18.3/234f25229c51fdd8c0f3a72af0dbcf1ecf2f45d1/fabric-loader-0.18.3.jar), ignoring
All projects evaluated.
Task name matched 'build'
Selected primary task 'build' from project :
Tasks to be executed: [task ':checkKotlinGradlePluginConfigurationErrors', task ':compileKotlin', task ':compileJava', task ':processResources', task ':classes', task ':compileClientKotlin', task ':compileClientJava', task ':processClientResources', task ':jar', task ':processIncludeJars', task ':remapJar', task ':sourcesJar', task ':remapSourcesJar', task ':assemble', task ':clientClasses', task ':compileTestKotlin', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':validateAccessWidener', task ':check', task ':build']
Tasks that were excluded: []
Resolve mutations for :checkKotlinGradlePluginConfigurationErrors (Thread[#2460,Execution worker,5,main]) started.
:checkKotlinGradlePluginConfigurationErrors (Thread[#2460,Execution worker,5,main]) started.
> Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
Skipping task ':checkKotlinGradlePluginConfigurationErrors' as task onlyIf 'errorDiagnostics are present' is false.
Resolve mutations for :compileKotlin (Thread[#2460,Execution worker,5,main]) started.
:compileKotlin (Thread[#2460,Execution worker,5,main]) started.
Resolve mutations for :processResources (Thread[#2462,Execution worker Thread 3,5,main]) started.
:processResources (Thread[#2462,Execution worker Thread 3,5,main]) started.
> Task :processResources UP-TO-DATE
Caching disabled for task ':processResources' because:
Build cache is disabled
Not worth caching
Skipping task ':processResources' as it is up-to-date.
Resolve mutations for :processClientResources (Thread[#2462,Execution worker Thread 3,5,main]) started.
:processClientResources (Thread[#2462,Execution worker Thread 3,5,main]) started.
> Task :processClientResources UP-TO-DATE
Caching disabled for task ':processClientResources' because:
Build cache is disabled
Not worth caching
Skipping task ':processClientResources' as it is up-to-date.
Resolve mutations for :processIncludeJars (Thread[#2462,Execution worker Thread 3,5,main]) started.
:processIncludeJars (Thread[#2462,Execution worker Thread 3,5,main]) started.
> Task :processIncludeJars
Caching disabled for task ':processIncludeJars' because:
Build cache is disabled
Caching has not been enabled for the task
Task ':processIncludeJars' is not up-to-date because:
Class path of task ':processIncludeJars' has changed from 9c6f7ffc5e40310bc4d090c294992ec4 to 10aa8c28f52fcc7957190f9abd11f94b.
Resolve mutations for :sourcesJar (Thread[#2462,Execution worker Thread 3,5,main]) started.
:sourcesJar (Thread[#2462,Execution worker Thread 3,5,main]) started.
> Task :sourcesJar UP-TO-DATE
Caching disabled for task ':sourcesJar' because:
Build cache is disabled
Not worth caching
Skipping task ':sourcesJar' as it is up-to-date.
Resolve mutations for :remapSourcesJar (Thread[#2462,Execution worker Thread 3,5,main]) started.
:remapSourcesJar (Thread[#2462,Execution worker Thread 3,5,main]) started.
Resolve mutations for :processTestResources (Thread[#2463,Execution worker Thread 4,5,main]) started.
:processTestResources (Thread[#2463,Execution worker Thread 4,5,main]) started.
> Task :processTestResources NO-SOURCE
Skipping task ':processTestResources' as it has no source files and no previous output files.
Resolve mutations for :validateAccessWidener (Thread[#2463,Execution worker Thread 4,5,main]) started.
:validateAccessWidener (Thread[#2463,Execution worker Thread 4,5,main]) started.
> Task :validateAccessWidener NO-SOURCE
Skipping task ':validateAccessWidener' as it has no source files and no previous output files.
> Task :remapSourcesJar
Caching disabled for task ':remapSourcesJar' because:
Build cache is disabled
Caching has not been enabled for the task
Task ':remapSourcesJar' is not up-to-date because:
Class path of task ':remapSourcesJar' has changed from 9c6f7ffc5e40310bc4d090c294992ec4 to 10aa8c28f52fcc7957190f9abd11f94b.
> Task :compileKotlin FAILED
Caching disabled for task ':compileKotlin' because:
Build cache is disabled
Task ':compileKotlin' is not up-to-date because:
Task has failed previously.
The input changes require a full rebuild for incremental task ':compileKotlin'.
Kotlin source files: /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/socialsync.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/security/SecurityAuditor.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/security/RateLimiter.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/security/SecurityUtils.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/network/AtProtoPackets.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/network/ServerNetworkHandlers.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/network/ServerNetworkHandler.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerProfileService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AtProtoCommands.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AppViewService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AchievementSyncService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/Tid.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/ServerStatusSyncService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AppViewHttpServer.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerSessionSyncService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerStatSyncService.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AtProtoSessionManager.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerSyncPreferencesStore.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerStatSyncStore.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/PlayerIdentityStore.kt, /Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/AtProtoClient.kt
Java source files: /Users/ewan/Developer/Git/socialsync/src/main/java/com/jollywhoppers/mixin/ExampleMixin.java, /Users/ewan/Developer/Git/socialsync/src/main/java/com/jollywhoppers/mixin/PlayerAdvancementsMixin.java
Script source files:
Script file extensions:
Using Kotlin/JVM incremental compilation
[KOTLIN] Kotlin compilation 'jdkHome' argument: /nix/store/qrqmi8b5vrxbrfhgzy3vhj8xqgricy69-zulu-ca-jdk-21.0.4/zulu-21.jdk/Contents/Home
Options for KOTLIN DAEMON: IncrementalCompilationOptions(super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0, 3], reportSeverity=2, requestedCompilationResults=[0], kotlinScriptExtensions=[]), sourceChanges=org.jetbrains.kotlin.buildtools.api.SourcesChanges$Unknown@74952fdc, classpathChanges=NotAvailableForNonIncrementalRun, workingDir=/Users/ewan/Developer/Git/socialsync/build/kotlin/compileKotlin/cacheable, multiModuleICSettings=MultiModuleICSettings(buildHistoryFile=/Users/ewan/Developer/Git/socialsync/build/kotlin/compileKotlin/local-state/build-history.bin, useModuleDetection=false), icFeatures=IncrementalCompilationFeatures(usePreciseJavaTracking=true, withAbiSnapshot=false, preciseCompilationResultsBackup=true, keepIncrementalCompilationCachesInMemory=true, enableUnsafeIncrementalCompilationForMultiplatform=false, enableMonotonousIncrementalCompileSetExpansion=true), outputFiles=[/Users/ewan/Developer/Git/socialsync/build/classes/kotlin/main, /Users/ewan/Developer/Git/socialsync/build/kotlin/compileKotlin/cacheable, /Users/ewan/Developer/Git/socialsync/build/kotlin/compileKotlin/local-state])
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:46:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:80:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:103:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:140:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:164:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:213:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:266:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:305:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:331:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/RecordManager.kt:377:21 Unresolved reference 'UUID'.
e: file:///Users/ewan/Developer/Git/socialsync/src/main/kotlin/com/jollywhoppers/atproto/server/Tid.kt:80:23 Argument type mismatch: actual type is 'Long', but 'Int' was expected.
Finished executing kotlin compiler using DAEMON strategy
Build 4adedd86-dbfe-4f97-a808-0d98ecef3c3e is closed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 2s
6 actionable tasks: 3 executed, 3 up-to-date
Watched directory hierarchies: [/Users/ewan/Developer/Git/socialsync]