question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failure on the latest 1.5.0-SNAPSHOT.

See original GitHub issue

Build Environment SQLDelight version: 1.5.0-SNAPSHOT OS: Linux Gradle version: Kotlin version: 1.4 AGP Version (if applicable):

Describe the bug A clear and concise description of what the bug is. If you can, include:

  1. A stacktrace

Task :catalog:compileKotlin FAILED e: /builds/kkmmkk/kotlin/catalog/build/generated/sqldelight/code/ProductDatabase/gt/kk/catalog/schema/ProductDatabase.kt: (19, 32): Unresolved reference: catalog e: /builds/kkmmkk/kotlin/catalog/build/generated/sqldelight/code/ProductDatabase/gt/kk/catalog/schema/ProductDatabase.kt: (20, 32): Unresolved reference: catalog e: /builds/kkmmkk/kotlin/catalog/build/generated/sqldelight/code/ProductDatabase/gt/kk/catalog/schema/ProductDatabase.kt: (53, 38): Unresolved reference: schema e: /builds/kkmmkk/kotlin/catalog/build/generated/sqldelight/code/ProductDatabase/gt/kk/catalog/schema/ProductDatabase.kt: (67, 49): Unresolved reference: newInstance

import gt.kk.catalog.schema.catalog.newInstance
import gt.kk.catalog.schema.catalog.schema

Today, snapshot version has started to fail to build. DB interfaces are generated, but there are errors in generated files. Some imports are missing.

catalog is the name of the module and missing subpackage. schema and newInstance are the missing extensions.

Screenshot from 2021-04-16 17-37-35

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
AlecStrongcommented, Apr 16, 2021

Awesome! That’s hype! Kudos @veyndan

On Fri, Apr 16, 2021 at 4:40 PM Dariusz Baciński @.***> wrote:

Thank you! It works now.

We are also beta-testing Postgres dialect on production 😃

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/cashapp/sqldelight/issues/2294#issuecomment-821551613, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMZBQFZRXD3376ISTQFDVLTJCOFFANCNFSM43BYHJJA .

0reactions
veyndancommented, Apr 17, 2021

@dbacinski That’s awesome! Just an fyi, but there’s a few open PostgreSQL issues in sql-psi that will be possible to tackle once we’ve had our last 1.x release (which should be soonish).

@AlecStrong Thanks for the kudos 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

errors on 1.5.0-SNAPSHOT · Issue #1921 · cashapp/sqldelight
Build Environment SQLDelight version: 1.5.0-SNAPSHOT ... 1.4.0 Describe the bug the latest snapshot versions started breaking without any ...
Read more >
Build failure while trying to build the TFS plugin locally
The first thing I tried to do is build the last commit on the master branch, ... parent project for org.jenkins-ci.plugins:tfs-parent:pom:5.122.0-SNAPSHOT
Read more >
[Not Reproducible] Build Failure for sample application on 1.5 ...
to create a sample application. And using apache-maven-3.3.9. Running mvn clean install, results in test failure.
Read more >
Solved: NiFi Build Failed - Cloudera Community - 198750
I am trying to build NiFi from source on Centos 7. - 198750. ... However, the build fails with the below trace :-...
Read more >
Building Spark with Maven: error finding javac (but path is ...
I'm trying to build a Spark 1.5.0 snapshot, on Windows. Firstly I ran make-distribution.sh using Cygwin (which pulled Maven etc).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found