[INFO] cloning repository https://github.com/rdromao27/anonycast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rdromao27/anonycast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdromao27%2Fanonycast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdromao27%2Fanonycast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f25f594ca3cbb8dbdc6bc2f65ba69a48cb1ada2 [INFO] checking rdromao27/anonycast/9f25f594ca3cbb8dbdc6bc2f65ba69a48cb1ada2 against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdromao27%2Fanonycast" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rdromao27/anonycast [INFO] finished tweaking git repo https://github.com/rdromao27/anonycast [INFO] tweaked toml for git repo https://github.com/rdromao27/anonycast written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rdromao27/anonycast on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rdromao27/anonycast already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nazgul v1.0.0 [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded drand-client-rs v0.1.0 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded socks v0.3.4 [INFO] [stderr] Downloaded tracing-chrome v0.7.2 [INFO] [stderr] Downloaded tor-stream v0.3.0 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded clap_derive v4.5.8 [INFO] [stderr] Downloaded clap v4.5.8 [INFO] [stderr] Downloaded tikv-jemallocator v0.5.4 [INFO] [stderr] Downloaded clap_builder v4.5.8 [INFO] [stderr] Downloaded bls12_381 v0.8.0 [INFO] [stderr] Downloaded tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28f1858883a72670cb64bcf257c84e6e7da1e26ee5dacee07a226f9dce0685e2 [INFO] running `Command { std: "docker" "start" "-a" "28f1858883a72670cb64bcf257c84e6e7da1e26ee5dacee07a226f9dce0685e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f1858883a72670cb64bcf257c84e6e7da1e26ee5dacee07a226f9dce0685e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f1858883a72670cb64bcf257c84e6e7da1e26ee5dacee07a226f9dce0685e2", kill_on_drop: false }` [INFO] [stdout] 28f1858883a72670cb64bcf257c84e6e7da1e26ee5dacee07a226f9dce0685e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88904cfe70b7a776e99c53ce8aa1ed98446fc3ce6993a29f547fa5ae3c991213 [INFO] running `Command { std: "docker" "start" "-a" "88904cfe70b7a776e99c53ce8aa1ed98446fc3ce6993a29f547fa5ae3c991213", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tor-stream v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Checking bls12_381 v0.8.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking nazgul v1.0.0 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tracing-chrome v0.7.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking crypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PrivateKey(ring::signature::Ed25519KeyPair); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_bytes` and `public_key` are never used [INFO] [stdout] --> crypto/src/ed25519.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrivateKey { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 19 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn public_key(&self) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct PublicKey([u8; ring::signature::ED25519_PUBLIC_KEY_LEN]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PublicKey { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 76 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Signature(ring::signature::Signature); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Signature { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 188 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate() -> (PublicKey, PrivateKey) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn sign(key: &PrivateKey, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn verify(key: &PublicKey, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PrivateKey(ring::signature::Ed25519KeyPair); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_bytes` and `public_key` are never used [INFO] [stdout] --> crypto/src/ed25519.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PrivateKey { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 19 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn public_key(&self) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct PublicKey([u8; ring::signature::ED25519_PUBLIC_KEY_LEN]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PublicKey { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 76 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> crypto/src/ed25519.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Signature(ring::signature::Signature); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Signature { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 188 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate() -> (PublicKey, PrivateKey) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn sign(key: &PrivateKey, data: &[u8]) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> crypto/src/ed25519.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn verify(key: &PublicKey, data: &[u8], sig: &Signature) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> crypto/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (public_key, private_key) = crypto::generate(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> crypto/src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let signature = crypto::sign(&private_key, &message); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> crypto/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let (public_key, private_key) = crypto::generate(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> crypto/src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let signature = crypto::sign(&private_key, &message); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking drand-client-rs v0.1.0 [INFO] [stderr] Checking drand v0.1.0 (/opt/rustwide/workdir/drand) [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let chains = drand::chain_list()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future, ClientError>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future, ClientError>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] 2 | let chains = drand::chain_list()?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let chains = drand::chain_list()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future, ClientError>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future, ClientError>>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] 2 | let chains = drand::chain_list()?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | for chain in chains { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / for chain in chains { [INFO] [stdout] 5 | | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] 6 | | println!("chain_info: {:#?}", chain_info); [INFO] [stdout] 7 | | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] ... | [INFO] [stdout] 12 | | ); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/core/src/option.rs:596:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | for chain in chains { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/core/src/option.rs:592:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | for chain in chains { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drand` (bin "drand") due to 6 previous errors [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / for chain in chains { [INFO] [stdout] 5 | | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] 6 | | println!("chain_info: {:#?}", chain_info); [INFO] [stdout] 7 | | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] ... | [INFO] [stdout] 12 | | ); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/core/src/option.rs:596:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> drand/src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | for chain in chains { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/e43d139a82620a268d3828a73e12a8679339e8f8/library/core/src/option.rs:592:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let chain_info = drand::chain_info(&chain)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> drand/src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future>` [INFO] [stdout] note: this implements `Future` and its output type supports `?`, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> drand/src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let beacon = drand::chain_latest_randomness(&chain)?; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drand` (bin "drand" test) due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88904cfe70b7a776e99c53ce8aa1ed98446fc3ce6993a29f547fa5ae3c991213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88904cfe70b7a776e99c53ce8aa1ed98446fc3ce6993a29f547fa5ae3c991213", kill_on_drop: false }` [INFO] [stdout] 88904cfe70b7a776e99c53ce8aa1ed98446fc3ce6993a29f547fa5ae3c991213