[INFO] fetching crate aeonflux 0.2.0... [INFO] checking aeonflux-0.2.0 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate aeonflux 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate aeonflux 0.2.0 on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aeonflux 0.2.0 [INFO] finished tweaking crates.io crate aeonflux 0.2.0 [INFO] tweaked toml for crates.io crate aeonflux 0.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packed_simd_2 v0.3.4 [INFO] [stderr] Downloaded zkp v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c7866ff0f7eedb0305b5af0fc65e63664efb6798aa8f3267270e31aaf2991ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9c7866ff0f7eedb0305b5af0fc65e63664efb6798aa8f3267270e31aaf2991ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c7866ff0f7eedb0305b5af0fc65e63664efb6798aa8f3267270e31aaf2991ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7866ff0f7eedb0305b5af0fc65e63664efb6798aa8f3267270e31aaf2991ae", kill_on_drop: false }` [INFO] [stdout] 9c7866ff0f7eedb0305b5af0fc65e63664efb6798aa8f3267270e31aaf2991ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8b52ea0398af95413a8a368810f68f025037fc074f7df2356c2787723e5cc99 [INFO] running `Command { std: "docker" "start" "-a" "e8b52ea0398af95413a8a368810f68f025037fc074f7df2356c2787723e5cc99", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking zkp v0.7.0 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Checking aeonflux v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `curve25519_dalek::scalar::Scalar` [INFO] [stdout] --> src/parameters.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 141 | | let w = Scalar::from_canonical_bytes(chunk)?; index += 32; chunk.copy_from_slice(&bytes[index..index+32]); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 142 | | let w_prime = Scalar::from_canonical_bytes(chunk)?; index += 32; chunk.copy_from_slice(&bytes[index..index+32]); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 143 | | let x_0 = Scalar::from_canonical_bytes(chunk)?; index += 32; chunk.copy_from_slice(&bytes[index..index+32]); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 144 | | let x_1 = Scalar::from_canonical_bytes(chunk)?; index += 32; chunk.copy_from_slice(&bytes[index..index+32]); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 149 | | y.push(Scalar::from_canonical_bytes(chunk)?); index += 32; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/amacs.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 128 | / pub(crate) fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] 129 | | // We assume no one is going to create a key for less that one attributes. [INFO] [stdout] 130 | | if bytes.len() < sizeof_secret_key(1) { [INFO] [stdout] 131 | | return Err(MacError::KeypairDeserialisation); [INFO] [stdout] ... | [INFO] [stdout] 152 | | let W = CompressedRistretto::from_slice(&bytes[index..index+32]).decompress()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a method that returns `Result` [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | Ok(SecretKey{ w, w_prime, x_0, x_1, y, W }) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aeonflux` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e8b52ea0398af95413a8a368810f68f025037fc074f7df2356c2787723e5cc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b52ea0398af95413a8a368810f68f025037fc074f7df2356c2787723e5cc99", kill_on_drop: false }` [INFO] [stdout] e8b52ea0398af95413a8a368810f68f025037fc074f7df2356c2787723e5cc99