You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker build -t ping-exporter .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 182.3kB
Step 1/9 : FROM ekidd/rust-musl-builder:1.36.0 as builder
---> 199e6dcf7c1c
Step 2/9 : COPY Cargo.toml Makefile ./
---> Using cache
---> 66eb14be5b5b
Step 3/9 : COPY src/ ./src/
---> Using cache
---> 3e046e20a04b
Step 4/9 : RUN make
---> Running in eb1c191f1402
cargo build -vv --release
Updating crates.io index
Updating git repository https://github.com/knsd/tacho.git
Downloading crates ...
Downloaded log v0.4.22
error: failed to parse manifest at /home/rust/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/log-0.4.22/Cargo.toml
Caused by:
failed to parse the edition key
Caused by:
supported edition values are 2015 or 2018, but 2021 is unknown
make: *** [all] Error 101
Makefile:2: recipe for target 'all' failed
The command '/bin/sh -c make' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered:
Good afternoon, help me solve this problem
docker build -t ping-exporter .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 182.3kB
Step 1/9 : FROM ekidd/rust-musl-builder:1.36.0 as builder
---> 199e6dcf7c1c
Step 2/9 : COPY Cargo.toml Makefile ./
---> Using cache
---> 66eb14be5b5b
Step 3/9 : COPY src/ ./src/
---> Using cache
---> 3e046e20a04b
Step 4/9 : RUN make
---> Running in eb1c191f1402
cargo build -vv --release
Updating crates.io index
Updating git repository
https://github.com/knsd/tacho.git
Downloading crates ...
Downloaded log v0.4.22
error: failed to parse manifest at
/home/rust/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/log-0.4.22/Cargo.toml
Caused by:
failed to parse the
edition
keyCaused by:
supported edition values are
2015
or2018
, but2021
is unknownmake: *** [all] Error 101
Makefile:2: recipe for target 'all' failed
The command '/bin/sh -c make' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered: