-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid cargo manifest? #12
Comments
I also tried to use stable instead (I installed with rustup): Same errors |
We're seeing the same thing when trying to build a dependent crate. Specifically jsoncdc |
This thing builds fine on it's own -- it has a |
@solidsnack @securityinsanity I'm looking to do some new work with jsoncdc. Can we try to coordinate on fixing this before the weekend? Thanks for looking into this! |
I wonder if the issues with |
So we need to stop using symlinks. What to do... |
@jmealo Regarding your frowny face above: the error message says "either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present" but there is a |
We might be able to fix this by adding a |
Do you have: |
Ah I happened to run a: |
I'm getting a similar error.
I'm building via docker FROM postgres:11
ENV POSTGRES_VERSION=11
ENV TIMESCALEDB_VERSION 1.3.2
ENV PG_CRON_VERSION 1.1.4
ENV RUST_VERSION=1.30.0
RUN set -ex \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 \
&& apt-get update \
&& apt-get -y install postgresql-common \
ca-certificates \
build-essential libpq-dev locales wget unzip tree libkrb5-dev git \
openssl \
libssl-dev \
curl \
python3 \
python3-pip \
tar \
make \
cmake \
postgresql-server-dev-${POSTGRES_VERSION} \
&& wget https://static.rust-lang.org/rustup/archive/1.14.0/x86_64-unknown-linux-gnu/rustup-init && chmod +x rustup-init \
&& ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION \
&& . $HOME/.cargo/env \
&& ln -sf $(which python3) /usr/bin/python \
&& pip3 install pgxnclient --upgrade \
&& pgxn install --yes --testing jsoncdc |
I think @securityinsanity might be right. It seems to be having trouble finding pg11.rs |
rustc 1.31.0-nightly (423d81098 2018-10-08)
cargo 1.31.0-nightly (ad6e5c003 2018-09-28)
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: