Skip to content

Instantly share code, notes, and snippets.

@gregnwosu
Created September 5, 2018 09:54
Show Gist options
  • Save gregnwosu/72d0ca95b908b799462b062043dc3a26 to your computer and use it in GitHub Desktop.
Save gregnwosu/72d0ca95b908b799462b062043dc3a26 to your computer and use it in GitHub Desktop.
eta gradle info stacktrace
└─[1] ./gradlew run --info --stacktrace
Initialized native services in: /Users/greg/.gradle/native
The client will now receive all logging from the daemon (pid: 13700). The daemon log file: /Users/greg/.gradle/daemon/4.9/daemon-13700.out.log
Starting 38th build in daemon [uptime: 1 hrs 50 mins 59.855 secs, performance: 100%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file '/Users/greg/dev/eta/eta-init/settings.gradle'.
Projects loaded. Root project using build file '/Users/greg/dev/eta/eta-init/build.gradle'.
Included projects: [root project 'eta-init']
> Configure project :
Evaluating root project 'eta-init' using build file '/Users/greg/dev/eta/eta-init/build.gradle'.
All projects evaluated.
Selected primary task 'run' from project :
Tasks to be executed: [task ':setupEnvironmentEta', task ':resolveDependenciesEta', task ':installDependenciesEta', task ':compileJava', task ':compileEta', task ':processResources', task ':classes', task ':run']
:setupEnvironmentEta (Thread[Task worker for ':',5,main]) started.
Warning: Package database is not a directory:
/Users/greg/dev/eta/eta-init/.cabal-sandbox/x86_64-osx-eta-0.8.6.2-ghc7_10_3-packages.conf.d
> Task :setupEnvironmentEta
Task ':setupEnvironmentEta' is not up-to-date because:
Task.upToDateWhen is false.
Executing external command: [/Users/greg/.gradle/caches/etlas/1.5.0.0/etlas, select, --list, --installed] in workingDir: null
Executing external command: [/Users/greg/.gradle/caches/etlas/1.5.0.0/etlas, --select-eta=0.8.6b2, exec, eta, --, --supported-extensions] in workingDir: null
:setupEnvironmentEta (Thread[Task worker for ':',5,main]) completed. Took 0.488 secs.
:resolveDependenciesEta (Thread[Task worker for ':',5,main]) started.
etlas: Use of ETA's environment variable ETA_PACKAGE_PATH is incompatible with
Cabal. Use the flag --package-db to specify a package database (it can be used
multiple times).
> Task :resolveDependenciesEta FAILED
Task ':resolveDependenciesEta' is not up-to-date because:
Value of input property 'versionsChanged' has changed for task ':resolveDependenciesEta'
Executing external command: [/Users/greg/.gradle/caches/etlas/1.5.0.0/etlas, --select-eta=0.8.6b2, freeze] in workingDir: /Users/greg/dev/eta/eta-init/build/eta-freeze
:resolveDependenciesEta (Thread[Task worker for ':',5,main]) completed. Took 0.398 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':resolveDependenciesEta'.
> Nonzero (1) exit code for command [/Users/greg/.gradle/caches/etlas/1.5.0.0/etlas, --select-eta=0.8.6b2, freeze] with workingDir /Users/greg/dev/eta/eta-init/build/eta-freeze
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':resolveDependenciesEta'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:273)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:258)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.GradleException: Nonzero (1) exit code for command [/Users/greg/.gradle/caches/etlas/1.5.0.0/etlas, --select-eta=0.8.6b2, freeze] with workingDir /Users/greg/dev/eta/eta-init/build/eta-freeze
at com.typelead.gradle.utils.CommandLine.executeAndLogOutput(CommandLine.java:95)
at com.typelead.gradle.utils.CommandLine.executeAndLogOutput(CommandLine.java:86)
at com.typelead.gradle.utils.EtlasCommand.freeze(EtlasCommand.java:165)
at com.typelead.gradle.eta.tasks.EtaResolveDependencies.resolveDependencies(EtaResolveDependencies.java:183)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:786)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:753)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 31 more
* Get more help at https://help.gradle.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment