[INFO] fetching crate aeonflux 0.2.0... [INFO] checking aeonflux-0.2.0 against try#7c3a44cf5f95fa5cf164a312bdcf845157af7093 for pr-77325 [INFO] extracting crate aeonflux 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate aeonflux 0.2.0 on toolchain 7c3a44cf5f95fa5cf164a312bdcf845157af7093 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zkp v0.7.0 [INFO] [stderr] Downloaded packed_simd_2 v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 147b9fb2d58fae40ff2c0e2e5fd2813efc5f4912fc8d6db1cffa0f7529dd03e1 [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" "147b9fb2d58fae40ff2c0e2e5fd2813efc5f4912fc8d6db1cffa0f7529dd03e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "147b9fb2d58fae40ff2c0e2e5fd2813efc5f4912fc8d6db1cffa0f7529dd03e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147b9fb2d58fae40ff2c0e2e5fd2813efc5f4912fc8d6db1cffa0f7529dd03e1", kill_on_drop: false }` [INFO] [stdout] 147b9fb2d58fae40ff2c0e2e5fd2813efc5f4912fc8d6db1cffa0f7529dd03e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "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] f01e9a7758b13ea2609750da4b34e72715363517fb6e948dac6f75cd301ceb2c [INFO] running `Command { std: "docker" "start" "-a" "f01e9a7758b13ea2609750da4b34e72715363517fb6e948dac6f75cd301ceb2c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking zkp v0.7.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] [stderr] Checking tinytemplate v1.2.1 [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:58 [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:58 [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:58 [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:58 [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:55 [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:86 [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] [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] Checking criterion v0.3.4 [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" "f01e9a7758b13ea2609750da4b34e72715363517fb6e948dac6f75cd301ceb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01e9a7758b13ea2609750da4b34e72715363517fb6e948dac6f75cd301ceb2c", kill_on_drop: false }` [INFO] [stdout] f01e9a7758b13ea2609750da4b34e72715363517fb6e948dac6f75cd301ceb2c