`cargo install arti` fails on v1.1.5 due to x25519-dalek build issues
eta@whitechapel ~> cargo install arti
Updating crates.io index
Installing arti v1.1.5
Updating crates.io index
Compiling proc-macro2 v1.0.63
Compiling unicode-ident v1.0.9
Compiling quote v1.0.28
Compiling libc v0.2.147
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling version_check v0.9.4
Compiling syn v1.0.109
Compiling typenum v1.16.0
Compiling thiserror v1.0.40
Compiling memchr v2.5.0
Compiling generic-array v0.14.7
Compiling pin-project-lite v0.2.9
Compiling once_cell v1.18.0
Compiling serde v1.0.164
Compiling futures-core v0.3.28
Compiling spin v0.5.2
Compiling lazy_static v1.4.0
Compiling slab v0.4.8
Compiling itoa v1.0.6
Compiling jobserver v0.1.26
Compiling futures-channel v0.3.28
Compiling cc v1.0.79
Compiling futures-io v0.3.28
Compiling futures-sink v0.3.28
Compiling futures-task v0.3.28
Compiling num-traits v0.2.15
Compiling const-oid v0.9.2
Compiling futures-util v0.3.28
Compiling syn v2.0.22
Compiling subtle v2.5.0
Compiling semver v1.0.17
Compiling num-integer v0.1.45
Compiling crypto-common v0.1.6
Compiling pin-utils v0.1.0
Compiling getrandom v0.2.10
Compiling num-bigint v0.4.3
Compiling ppv-lite86 v0.2.17
Compiling smallvec v1.10.0
Compiling rand_core v0.6.4
Compiling libm v0.2.7
Compiling block-buffer v0.10.4
Compiling cpufeatures v0.2.8
Compiling ident_case v1.0.1
Compiling strsim v0.10.0
Compiling getrandom v0.1.16
Compiling log v0.4.19
Compiling fnv v1.0.7
Compiling rustc_version v0.4.0
Compiling digest v0.10.7
Compiling rand_chacha v0.3.1
Compiling convert_case v0.4.0
Compiling platforms v3.0.2
Compiling base64ct v1.6.0
Compiling rand_core v0.5.1
Compiling pem-rfc7468 v0.7.0
Compiling rand v0.8.5
Compiling time-core v0.1.1
Compiling adler v1.0.2
Compiling byteorder v1.4.3
Compiling bytes v1.4.0
Compiling time-macros v0.2.9
Compiling num-iter v0.1.43
Compiling heck v0.4.1
Compiling rustversion v1.0.12
Compiling curve25519-dalek v4.0.0-rc.3
Compiling keccak v0.1.4
Compiling inout v0.1.3
Compiling digest v0.9.0
Compiling either v1.8.1
Compiling num-bigint-dig v0.8.2
Compiling rand_chacha v0.2.2
Compiling darling_core v0.14.4
Compiling block-buffer v0.9.0
Compiling time v0.3.22
Compiling backtrace v0.3.67
Compiling ahash v0.8.3
Compiling derive_more v0.99.17
Compiling hex v0.4.3
Compiling thiserror-impl v1.0.40
Compiling serde_derive v1.0.164
Compiling zeroize_derive v1.4.2
Compiling futures-macro v0.3.28
Compiling enum-ordinalize v3.1.13
Compiling opaque-debug v0.3.0
Compiling signature v1.6.4
Compiling bitflags v1.3.2
Compiling gimli v0.27.3
Compiling strum_macros v0.24.3
Compiling zeroize v1.6.0
Compiling educe v0.4.22
Compiling der v0.7.6
Compiling cipher v0.4.4
Compiling darling_macro v0.14.4
Compiling merlin v2.0.1
Compiling spki v0.7.2
Compiling pkcs8 v0.10.2
Compiling addr2line v0.19.0
Compiling pkcs1 v0.7.5
Compiling curve25519-dalek v3.2.0
Compiling ed25519 v1.5.3
Compiling sha2 v0.9.9
Compiling futures-executor v0.3.28
Compiling futures v0.3.28
Compiling rand v0.7.3
Compiling miniz_oxide v0.6.2
Compiling signature v2.1.0
Compiling object v0.30.4
Compiling tracing-core v0.1.31
Compiling fluid-let v1.0.0
Compiling rustc-demangle v0.1.23
Compiling safelog v0.3.1
Compiling ed25519-dalek v1.0.1
Compiling simple_asn1 v0.6.2
Compiling rsa v0.9.2
Compiling x25519-dalek v2.0.0-rc.2
Compiling strum v0.24.1
error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope
--> /Users/eta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x25519-dalek-2.0.0-rc.2/src/x25519.rs:101:33
|
101 | EphemeralSecret(Scalar::from_bits_clamped(bytes))
| ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar`
error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope
--> /Users/eta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x25519-dalek-2.0.0-rc.2/src/x25519.rs:229:30
|
229 | StaticSecret(Scalar::from_bits_clamped(bytes))
| ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar`
error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope
--> /Users/eta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x25519-dalek-2.0.0-rc.2/src/x25519.rs:255:30
|
255 | StaticSecret(Scalar::from_bits_clamped(bytes))
| ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar`
error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope
--> /Users/eta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x25519-dalek-2.0.0-rc.2/src/x25519.rs:376:14
|
376 | (Scalar::from_bits_clamped(k) * MontgomeryPoint(u)).to_bytes()
| ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar`
error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope
--> /Users/eta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x25519-dalek-2.0.0-rc.2/src/x25519.rs:396:17
|
396 | Scalar::from_bits_clamped(bytes.0)
| ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `x25519-dalek` (lib) due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `arti v1.1.5`, intermediate artifacts can be found at `/var/folders/d7/zgfmt18j6_l18n5m9jgldqh00000gn/T/cargo-installrnsLR4`
@Diziet reacted with "oh god this again" (or something along those lines), suggesting that more arcane cargo semver pinning might be the way around the problem.