[INFO] fetching crate primeorder 0.14.0-pre.2... [INFO] checking primeorder-0.14.0-pre.2 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate primeorder 0.14.0-pre.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate primeorder 0.14.0-pre.2 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate primeorder 0.14.0-pre.2 [INFO] finished tweaking crates.io crate primeorder 0.14.0-pre.2 [INFO] tweaked toml for crates.io crate primeorder 0.14.0-pre.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding serdect v0.3.0-rc.0 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad115cb13f7bf78b1a6ad74f9a69bbec21d654c264aff623a4bc1b5b62b04dac [INFO] running `Command { std: "docker" "start" "-a" "ad115cb13f7bf78b1a6ad74f9a69bbec21d654c264aff623a4bc1b5b62b04dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad115cb13f7bf78b1a6ad74f9a69bbec21d654c264aff623a4bc1b5b62b04dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad115cb13f7bf78b1a6ad74f9a69bbec21d654c264aff623a4bc1b5b62b04dac", kill_on_drop: false }` [INFO] [stdout] ad115cb13f7bf78b1a6ad74f9a69bbec21d654c264aff623a4bc1b5b62b04dac [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b07b86195ddf628228bfbfec18e450c390166723b2e942587acec102b62adae [INFO] running `Command { std: "docker" "start" "-a" "6b07b86195ddf628228bfbfec18e450c390166723b2e942587acec102b62adae", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking const-oid v0.10.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking der v0.8.0-rc.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hybrid-array v0.2.3 [INFO] [stderr] Checking hybrid-array v0.3.0 [INFO] [stderr] Checking crypto-bigint v0.6.1 [INFO] [stderr] Checking sec1 v0.8.0-rc.4 [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:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | impl From> for 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] 257 | FieldBytesSize: ModulusSize, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/convert/mod.rs:582:1 [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 257 | FieldBytesSize: ModulusSize, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | impl From<&PublicKey> for 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] 269 | FieldBytesSize: ModulusSize, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/convert/mod.rs:582:1 [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>: Sized [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:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | impl TryFrom> 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] 376 | AffinePoint: FromEncodedPoint + ToEncodedPoint, <::FieldBytesSize as ModulusSize>::CompressedPointSize: ArraySize [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: required by an implicit `Sized` bound in `TryFrom` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/convert/mod.rs:681:1 [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 376 | AffinePoint: FromEncodedPoint + ToEncodedPoint, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 257 | FieldBytesSize: ModulusSize, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] = note: the return type of a function must have a statically known size [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>: Sized [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[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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] note: required by a bound in `from` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/convert/mod.rs:587:5 [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 257 | FieldBytesSize: ModulusSize, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 257 | FieldBytesSize: ModulusSize, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / public_key [INFO] [stdout] 273 | | .to_encoded_point(true) [INFO] [stdout] 274 | | .as_bytes() [INFO] [stdout] 275 | | .try_into() [INFO] [stdout] 276 | | .expect("wrong compressed point size") [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:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / public_key [INFO] [stdout] 273 | | .to_encoded_point(true) [INFO] [stdout] 274 | | .as_bytes() [INFO] [stdout] 275 | | .try_into() [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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/elliptic-curve-0.14.0-rc.1/src/public_key.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / public_key [INFO] [stdout] 273 | | .to_encoded_point(true) [INFO] [stdout] 274 | | .as_bytes() [INFO] [stdout] 275 | | .try_into() [INFO] [stdout] | |_______________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [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>: Sized [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [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>: Sized [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `sec1::EncodedPoint<::FieldBytesSize>` and `sec1::EncodedPoint<::FieldBytesSize>: Sized` 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 size for values of type `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` cannot be known at compilation time [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] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `Array::FieldBytesSize as ModulusSize>::CompressedPointSize>` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 376 | AffinePoint: FromEncodedPoint + ToEncodedPoint, Array::FieldBytesSize as ModulusSize>::CompressedPointSize>: Sized [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 25 previous errors [INFO] running `Command { std: "docker" "inspect" "6b07b86195ddf628228bfbfec18e450c390166723b2e942587acec102b62adae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b07b86195ddf628228bfbfec18e450c390166723b2e942587acec102b62adae", kill_on_drop: false }` [INFO] [stdout] 6b07b86195ddf628228bfbfec18e450c390166723b2e942587acec102b62adae