-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Which crate is this issue for?
ohttp-relay
How did you obtain this crate?
Other
Features
Migrated from an existing issue payjoin/ohttp-relay#74
What version of the selected crate are you using?
ohttp-relay v0.0.11
Current behavior
When attempting to build via Docker as described in the Dockerfile and used in our deployment, v0.0.11 can't be built as it always runs into a Rust version issue:
I've tried a few different solutions, but without build docs and not being a Nix-native myself, I'm at a bit of a loss.
Expected behavior
Should just build
Steps to reproduce
Unsure if this bug remains relevant post migration as the release commits weren't carried over
Relevant log output
2.04 error: Cannot build '/nix/store/ii89wcq27ik5pzbpprfm615l0pg859mp-ohttp-relay-deps-0.0.11.drv'.
52.04 Reason: builder failed with exit code 101.
52.04 Output paths:
52.04 /nix/store/x8dv8q6zlzjvghxrhn2gv02w1k8sw8dg-ohttp-relay-deps-0.0.11
52.04 Last 18 log lines:
52.04 > cargoArtifacts not set, will not reuse any cargo artifacts
52.04 > Running phase: unpackPhase
52.04 > unpacking source archive /nix/store/w3pmw7h50jn390yz3gz0l383jwkvhig3-source
52.04 > source root is source
52.04 > Running phase: patchPhase
52.04 > Executing configureCargoCommonVars
52.04 > Running phase: updateAutotoolsGnuConfigScriptsPhase
52.04 > Running phase: configurePhase
52.04 > will append /nix/var/nix/builds/nix-1-410239693/source/.cargo-home/config.toml with contents of /nix/store/lp0nifz1l6s31mw5zb4886qv80imm0pn-vendor-cargo-deps/config.toml
52.04 > default configurePhase, nothing to do
52.04 > Running phase: buildPhase
52.04 > ++ command cargo --version
52.04 > cargo 1.73.0
52.04 > ++ command cargo check --release --locked --all-targets
52.04 > error: package `colored v3.0.0` cannot be built because it requires rustc 1.80 or newer, while the currently active rustc version is 1.73.0
52.04 > Either upgrade to rustc 1.80 or newer, or use
52.04 > cargo update -p [email protected] --precise ver
52.04 > where `ver` is the latest version of `colored` supporting rustc 1.73.0
52.04 For full logs, run:
52.04 nix log /nix/store/ii89wcq27ik5pzbpprfm615l0pg859mp-ohttp-relay-deps-0.0.11.drv
52.05 error: Cannot build '/nix/store/xbawh4g9yd3mn9vy8zf3jqvcjg4b0bfa-ohttp-relay-0.0.11.drv'.
52.05 Reason: 1 dependency failed.
52.05 Output paths:
52.05 /nix/store/p00bgfrwak1hya090wp7ni0zpiba93n4-ohttp-relay-0.0.11
Operating system and version
N/A