[INFO] fetching crate aeonflux 0.2.0... [INFO] testing aeonflux-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate aeonflux 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate aeonflux 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f95c915cb5ccbd531ba9c024cfc5aacc306cefb6ebf98c2b0f541c8e71c5169 [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" "8f95c915cb5ccbd531ba9c024cfc5aacc306cefb6ebf98c2b0f541c8e71c5169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f95c915cb5ccbd531ba9c024cfc5aacc306cefb6ebf98c2b0f541c8e71c5169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f95c915cb5ccbd531ba9c024cfc5aacc306cefb6ebf98c2b0f541c8e71c5169", kill_on_drop: false }` [INFO] [stdout] 8f95c915cb5ccbd531ba9c024cfc5aacc306cefb6ebf98c2b0f541c8e71c5169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be759fa3b0807587fd78e9e42c5cd587f1ea4b9664ff925817746acb01f56d56 [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" "be759fa3b0807587fd78e9e42c5cd587f1ea4b9664ff925817746acb01f56d56", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling zkp v0.7.0 [INFO] [stderr] Compiling 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: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] 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" "be759fa3b0807587fd78e9e42c5cd587f1ea4b9664ff925817746acb01f56d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be759fa3b0807587fd78e9e42c5cd587f1ea4b9664ff925817746acb01f56d56", kill_on_drop: false }` [INFO] [stdout] be759fa3b0807587fd78e9e42c5cd587f1ea4b9664ff925817746acb01f56d56