23:50:21: Executing 'runConsole'...
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :miraiPrepareMetadata
> Task :buildPlugin UP-TO-DATE
> Task :runConsole
2022-08-13 23:50:22 I/main: Starting mirai-console...
2022-08-13 23:50:22 I/main: Backend: version 2.12.1, built on 2022-07-31 17:49:27.
2022-08-13 23:50:22 I/main: Frontend Terminal: version 2.12.1, provided by Mamoe Technologies
2022-08-13 23:50:22 I/main: Welcome to visit https://mirai.mamoe.net/
2022-08-13 23:50:22 E/main: Failed to init MiraiConsole.
java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:804)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270)
at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357)
at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:351)
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:41)
at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:196)
at net.mamoe.mirai.message.MessageSerializers$INSTANCE.getSerializersModule(MessageSerializers.kt)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$createYaml$1.invoke(MultiFilePluginDataStorageImpl.kt:113)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$createYaml$1.invoke(MultiFilePluginDataStorageImpl.kt:111)
at net.mamoe.yamlkt.YamlKt.Yaml(Yaml.kt:242)
at net.mamoe.yamlkt.YamlKt.Yaml$default(Yaml.kt:240)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.createYaml(MultiFilePluginDataStorageImpl.kt:111)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:42)
at net.mamoe.mirai.console.internal.data.builtins.ConsoleDataScopeImpl.addAndReloadConfig(ConsoleDataScopeImpl.kt:41)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:164)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
Caused by: java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:804)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270)
at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357)
at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:351)
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:41)
at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:196)
at net.mamoe.mirai.internal.message.MessageSerializersImpl.registerSerializer(MessageSerializersImpl.kt:202)
at net.mamoe.mirai.message.MessageSerializers$INSTANCE.registerSerializer(MessageSerializers.kt)
at net.mamoe.mirai.internal.MiraiImpl.<clinit>(MiraiImpl.kt:90)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780)
... 20 more
Caused by: java.lang.NoClassDefFoundError: io/ktor/client/engine/HttpClientEngineFactory
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at net.mamoe.mirai.internal.MiraiImpl.<init>(MiraiImpl.kt:161)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780)
... 35 more
Caused by: java.lang.ClassNotFoundException: io.ktor.client.engine.HttpClientEngineFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 50 more
2022-08-13 23:50:22 I/stdout: 2022-08-13 23:50:22 W/MultiFilePluginDataStorageImpl: Could not save AutoLogin in YAML format due to exception in YAML encoder. Please report this exception and relevant configurations to https://github.com/mamoe/mirai/issues/new/choose
2022-08-13 23:50:22 I/stdout: java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
2022-08-13 23:50:22 I/stdout: at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582)
2022-08-13 23:50:22 I/stdout: at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:804)
2022-08-13 23:50:22 I/stdout: at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722)
2022-08-13 23:50:22 I/stdout: at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
2022-08-13 23:50:22 I/stdout: at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:351)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:41)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:196)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.message.MessageSerializers$INSTANCE.getSerializersModule(MessageSerializers.kt)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$createYaml$1.invoke(MultiFilePluginDataStorageImpl.kt:113)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$createYaml$1.invoke(MultiFilePluginDataStorageImpl.kt:111)
2022-08-13 23:50:22 I/stdout: at net.mamoe.yamlkt.YamlKt.Yaml(Yaml.kt:242)
2022-08-13 23:50:22 I/stdout: at net.mamoe.yamlkt.YamlKt.Yaml$default(Yaml.kt:240)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.createYaml(MultiFilePluginDataStorageImpl.kt:111)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.store(MultiFilePluginDataStorageImpl.kt:84)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.doSave(AutoSavePluginData.kt:117)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.save(AutoSavePluginData.kt:109)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.access$save(AutoSavePluginData.kt:34)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$4.invoke(AutoSavePluginData.kt:73)
2022-08-13 23:50:22 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$4.invoke(AutoSavePluginData.kt:73)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1391)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.continueCompleting(JobSupport.kt:935)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.access$continueCompleting(JobSupport.kt:27)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(JobSupport.kt:1155)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:906)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:863)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:828)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
2022-08-13 23:50:22 I/stdout: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-08-13 23:50:22 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2022-08-13 23:50:22 I/stdout: Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.mamoe.mirai.internal.MiraiImpl
2022-08-13 23:50:22 I/stdout: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2022-08-13 23:50:22 I/stdout: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
2022-08-13 23:50:22 I/stdout: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2022-08-13 23:50:22 I/stdout: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
2022-08-13 23:50:22 I/stdout: at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780)
2022-08-13 23:50:22 I/stdout: ... 39 more
2022-08-13 23:50:22 I/stdout:
2022-08-13 23:50:22 E/main: Exception in coroutine ConsoleBuiltInPluginConfigHolder
java.lang.IllegalStateException: Exception while saving net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig@7e5bae9, saveName=AutoLogin
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.store(MultiFilePluginDataStorageImpl.kt:104)
at net.mamoe.mirai.console.data.AutoSavePluginData.doSave(AutoSavePluginData.kt:117)
at net.mamoe.mirai.console.data.AutoSavePluginData.save(AutoSavePluginData.kt:109)
at net.mamoe.mirai.console.data.AutoSavePluginData.access$save(AutoSavePluginData.kt:34)
at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$4.invoke(AutoSavePluginData.kt:73)
at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$4.invoke(AutoSavePluginData.kt:73)
at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1391)
at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240)
at kotlinx.coroutines.JobSupport.continueCompleting(JobSupport.kt:935)
at kotlinx.coroutines.JobSupport.access$continueCompleting(JobSupport.kt:27)
at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(JobSupport.kt:1155)
at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1519)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:906)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:863)
at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:828)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:804)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270)
at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357)
at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:351)
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:41)
at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:196)
at net.mamoe.mirai.message.MessageSerializers$INSTANCE.getSerializersModule(MessageSerializers.kt)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$store$2$1.invoke(MultiFilePluginDataStorageImpl.kt:95)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl$store$2$1.invoke(MultiFilePluginDataStorageImpl.kt:94)
at kotlinx.serialization.json.JsonKt.Json(Json.kt:138)
at kotlinx.serialization.json.JsonKt.Json$default(Json.kt:136)
at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.store(MultiFilePluginDataStorageImpl.kt:94)
... 25 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.mamoe.mirai.internal.MiraiImpl
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780)
... 38 more
BUILD SUCCESSFUL in 2s
5 actionable tasks: 2 executed, 3 up-to-date
23:50:23: Execution finished 'runConsole'.