Open 0xArdi opened 2 years ago
Getting the same errors with the following Dockerfile:
FROM rust:1.60.0-slim-buster AS indy-vdr
WORKDIR /indy-vdr
ADD https://github.com/hyperledger/indy-vdr/archive/refs/tags/v0.3.4.tar.gz indy-vdr.tar.gz
RUN apt-get update && apt-get install -y libssl-dev pkg-config cmake g++ && apt-get clean
RUN tar xzf indy-vdr.tar.gz --strip-components=1
RUN sh build.sh
@dbluhm Did you try checking out '07f03c4609ceed34bc163f83160c609562c34997'?
I tried building from current main (36b2bd9) and that worked fine; I haven't tried that specific commit though.
Running
cargo build --lib
fails with errorsE0277
,E0599
. I initially noticed the error onalpine/x86_64
(docker build). RemovingCargo.lock
also caused the compilation to start failing on my main machine as well, so I assume it has to be something with the dependencies. I also tested on MacOS with an M1 chip, it also fails there. I have tested with version v0.3.4, v0.3.3, v0.3.2.For a quick fix right now, I checked out the latest commit to main
07f03c4609ceed34bc163f83160c609562c34997
, that seemed to work on both my main machine and on the docker builds.Any idea for a better solution?
Full logs of warning and errors (MacOS M1) :