cornucopia-rs / cornucopia

Generate type-checked Rust from your PostgreSQL.
Other
755 stars 31 forks source link

Auto build don't work #244

Open feelingsonice opened 2 months ago

feelingsonice commented 2 months ago

Running cargo build using the auto_build example produces one of 2 errors:

  --- stderr
  Error: Connection(Error(Error { kind: Closed, cause: None }))

Or:

  --- stderr
  Error: Connection(Error(Error { kind: Io, cause: Some(Os { code: 54, kind: ConnectionReset, message: "Connection reset by peer" }) }))

I suspect it is related to how the docker container is brought up? Maybe there's a timing issue here because the container isn't yet ready?