讨论社区

kotlin compile error

The message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=28721902-1640-4d5e-ac7b-4a13a7ecc252, currentDir=/leetcode/user_code/interpret_1546161605.9032683} Attempting to read last messages from the daemon log... Daemon pid: 2132   log file: /root/.gradle/daemon/4.9/daemon-2132.out.log ----- Last  20 lines from daemon log file - daemon-2132.out.log ----- 09:20:09.351 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=28721902-1640-4d5e-ac7b-4a13a7ecc252, currentDir=/leetcode/user_code/interpret_1546161605.9032683} with connection: socket connection from /0:0:0:0:0:0:0:1:44400 to /0:0:0:0:0:0:0:1:50434. 09:20:09.354 [ERROR] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=28721902-1640-4d5e-ac7b-4a13a7ecc252, currentDir=/leetcode/user_code/interpret_1546161605.9032683}, connection = DefaultDaemonConnection: socket connection from /0:0:0:0:0:0:0:1:44400 to /0:0:0:0:0:0:0:1:50434] after 0.0 minutes of idle 09:20:09.354 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Marking the daemon as busy, address: [c91f2525-2a1d-4722-b8d2-b4df0230089d port:44400, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 09:20:09.355 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [c91f2525-2a1d-4722-b8d2-b4df0230089d port:44400, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 09:20:09.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 09:20:09.355 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 09:20:09.368 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 09:20:09.368 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer 09:20:09.368 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes. 09:20:09.369 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=28721902-1640-4d5e-ac7b-4a13a7ecc252, currentDir=/leetcode/user_code/interpret_1546161605.9032683}. Dispatching build started information... 09:20:09.373 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted 09:20:09.376 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/gradle-4.9/bin, LANGUAGE=en_US:en, GRADLE_VERSION=4.9, OLDPWD=/opt/gradle-4.9,.UTF-8, GRADLE_URL=https://downloads.gradle.org/distributions/gradle-4.9-bin.zip, HOSTNAME=944a72356f24, LC_ALL=en_US.UTF-8, PWD=/leetcode/user_code/interpret_1546161605.9032683, HOME=/root, SHLVL=2, _=/usr/bin/timeout} 09:20:09.382 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection. 09:20:09.382 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 2132). The daemon log file: /root/.gradle/daemon/4.9/daemon-2132.out.log 09:20:09.384 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 14: received class org.gradle.launcher.daemon.protocol.CloseInput 09:20:09.384 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 14: Received IO message from client: org.gradle.launcher.daemon.protocol.CloseInput@64c2a0d0 09:20:09.386 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting build in new daemon [memory: 1.0 GB] 09:20:09.389 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build. 09:20:09.390 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=65f2fdb0-55de-48c9-8aaa-2f404710428d,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/root/.gradle/daemon,pid=2132,idleTimeout=2147483646,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] Closing daemon's stdin at end of input. ----- End of the daemon log ----- FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org

0 人关注了该问题 关注

您需要登录后才可以回复