[INFO] fetching crate earthbucks_secp256k1 0.8.5... [INFO] checking earthbucks_secp256k1-0.8.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate earthbucks_secp256k1 0.8.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate earthbucks_secp256k1 0.8.5 [INFO] finished tweaking crates.io crate earthbucks_secp256k1 0.8.5 [INFO] tweaked toml for crates.io crate earthbucks_secp256k1 0.8.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate earthbucks_secp256k1 0.8.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding digest v0.11.0-pre.9 (available: v0.11.0-rc.0) [INFO] [stderr] Adding elliptic-curve v0.14.0-rc.1 (available: v0.14.0-rc.12) [INFO] [stderr] Adding hmac v0.13.0-pre.4 (available: v0.13.0-rc.0) [INFO] [stderr] Adding sha2 v0.11.0-pre.4 (available: v0.11.0-rc.0) [INFO] [stderr] Adding signature v2.3.0-pre.4 (available: v2.3.0-pre.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5169182be214f861b7e9c751472745555ef4126230afe1849bce1e1b46c71ccd [INFO] running `Command { std: "docker" "start" "-a" "5169182be214f861b7e9c751472745555ef4126230afe1849bce1e1b46c71ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5169182be214f861b7e9c751472745555ef4126230afe1849bce1e1b46c71ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5169182be214f861b7e9c751472745555ef4126230afe1849bce1e1b46c71ccd", kill_on_drop: false }` [INFO] [stdout] 5169182be214f861b7e9c751472745555ef4126230afe1849bce1e1b46c71ccd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46d96e45aeaa05153bc0b809759b84ac21ebd319a8d4ac6789db11801cd04ec3 [INFO] running `Command { std: "docker" "start" "-a" "46d96e45aeaa05153bc0b809759b84ac21ebd319a8d4ac6789db11801cd04ec3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.10.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking der v0.8.0-rc.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hybrid-array v0.3.1 [INFO] [stderr] Checking hybrid-array v0.2.3 [INFO] [stderr] Checking block-buffer v0.11.0-rc.4 [INFO] [stderr] Checking crypto-common v0.2.0-rc.3 [INFO] [stderr] Checking sec1 v0.8.0-rc.8 [INFO] [stderr] Checking crypto-bigint v0.6.1 [INFO] [stderr] Checking digest v0.11.0-pre.9 [INFO] [stderr] Checking hmac v0.13.0-pre.4 [INFO] [stderr] Checking signature v2.3.0-pre.4 [INFO] [stderr] Checking sha2 v0.11.0-pre.4 [INFO] [stderr] Checking earthbucks_rfc6979 v0.8.2 [INFO] [stderr] Checking elliptic-curve v0.14.0-rc.1 [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | impl From> for CompressedPoint [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/convert/mod.rs:591:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 257 | FieldBytesSize: ModulusSize, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | impl From<&PublicKey> for CompressedPoint [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/convert/mod.rs:591:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 269 | FieldBytesSize: ModulusSize, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | impl TryFrom> for PublicKey [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by an implicit `Sized` bound in `TryFrom` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/convert/mod.rs:700:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 376 | AffinePoint: FromEncodedPoint + ToEncodedPoint, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | fn try_from(point: &CompressedPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 394 | fn try_from(point: &CompressedPoint) -> Result where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | impl TryFrom<&CompressedPoint> for PublicKey [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 390 | AffinePoint: FromEncodedPoint + ToEncodedPoint, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:259:42 [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:394:25 [INFO] [stdout] | [INFO] [stdout] 394 | fn try_from(point: &CompressedPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 394 | fn try_from(point: &CompressedPoint) -> Result where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/secret_key.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | return Err(der::Tag::BitString.value_error()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error`, found `ErrorKind` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `ErrorKind` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/secret_key.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | return Err(der::Tag::BitString.value_error()); [INFO] [stdout] | ^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:558:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `ErrorKind` into `sec1::der::Error` [INFO] [stdout] | [INFO] [stdout] 362 | return Err(der::Tag::BitString.value_error().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | CompressedPoint::::from(&public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | CompressedPoint::::from(&public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Array` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Array` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 259 | fn from(public_key: PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | .expect("wrong compressed point size") [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required by a bound in `core::result::Result::::expect` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:1169:5 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: TryFrom<&[u8]>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .try_into() [INFO] [stdout] | ^^^^^^^^ the trait `TryFrom<&[u8]>` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&[u8]` to implement `TryInto::FieldBytesSize as ModulusSize>::CompressedPointSize>>` [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 269 | FieldBytesSize: ModulusSize, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: TryFrom<&[u8]> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `sec1::EncodedPoint<::FieldBytesSize>` and `sec1::EncodedPoint<::FieldBytesSize>: TryFrom<&[u8]>` trivially holds [INFO] [stdout] | [INFO] [stdout] 273 - .to_encoded_point(true) [INFO] [stdout] 274 - .as_bytes() [INFO] [stdout] 273 + .to_encoded_point(true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .try_into() [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: required for `&[u8]` to implement `TryInto::FieldBytesSize as ModulusSize>::CompressedPointSize>>` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 271 | fn from(public_key: &PublicKey) -> CompressedPoint where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize` is not satisfied in `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>`, the trait `ArraySize` is not implemented for `<::FieldBytesSize as ModulusSize>::CompressedPointSize` [INFO] [stdout] note: required because it appears within the type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hybrid-array-0.2.3/src/lib.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Array(pub U::ArrayType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: CompressedPoint) -> Result where <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 380 | fn try_from(point: &CompressedPoint) -> Result { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:381:31 [INFO] [stdout] | [INFO] [stdout] 381 | Self::from_sec1_bytes(&point) [INFO] [stdout] | --------------------- ^^^^^^ expected `&[u8]`, found `&Array` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn from_sec1_bytes(bytes: &[u8]) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 395 | Self::from_sec1_bytes(point) [INFO] [stdout] | --------------------- ^^^^^ expected `&[u8]`, found `&Array` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn from_sec1_bytes(bytes: &[u8]) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elliptic-curve` (lib) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "46d96e45aeaa05153bc0b809759b84ac21ebd319a8d4ac6789db11801cd04ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d96e45aeaa05153bc0b809759b84ac21ebd319a8d4ac6789db11801cd04ec3", kill_on_drop: false }` [INFO] [stdout] 46d96e45aeaa05153bc0b809759b84ac21ebd319a8d4ac6789db11801cd04ec3