[INFO] fetching crate russh-agent 0.2.1... [INFO] checking russh-agent-0.2.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate russh-agent 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate russh-agent 0.2.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate russh-agent 0.2.1 [INFO] finished tweaking crates.io crate russh-agent 0.2.1 [INFO] tweaked toml for crates.io crate russh-agent 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.6.0 (available: v1.8.0) [INFO] [stderr] Adding ed25519-dalek v1.0.0-pre.3 (available: v1.0.1) [INFO] [stderr] Adding slog-try v0.2.0 (available: v1.0.2) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.41.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Downloaded hxdmp v0.2.1 [INFO] [stderr] Downloaded slog-try v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5197da5cfa0265946dca20941fb6766716974c9f804cc525f5d395ea06c6d306 [INFO] running `Command { std: "docker" "start" "-a" "5197da5cfa0265946dca20941fb6766716974c9f804cc525f5d395ea06c6d306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5197da5cfa0265946dca20941fb6766716974c9f804cc525f5d395ea06c6d306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5197da5cfa0265946dca20941fb6766716974c9f804cc525f5d395ea06c6d306", kill_on_drop: false }` [INFO] [stdout] 5197da5cfa0265946dca20941fb6766716974c9f804cc525f5d395ea06c6d306 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997106a9dae3de6f8b8b87f241795dd7bfaa19cac3301fb9f41c9d938f8313b4 [INFO] running `Command { std: "docker" "start" "-a" "997106a9dae3de6f8b8b87f241795dd7bfaa19cac3301fb9f41c9d938f8313b4", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking hxdmp v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking slog-try v0.2.0 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking slog-async v2.8.0 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking russh-agent v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(async_closure, crate_visibility_modifier, error_iter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(async_closure, crate_visibility_modifier, error_iter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `use` [INFO] [stdout] --> src/error/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | crate use codes::ErrCode; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `use` [INFO] [stdout] --> src/error/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | crate use codes::ErrCode; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `mod` [INFO] [stdout] --> src/packet/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | crate mod identity; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `mod` [INFO] [stdout] --> src/packet/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | crate mod identity; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/utils.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | crate fn put_string(buffer: &mut T, bytes: &[u8]) -> Result<()> [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/utils.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | crate fn put_string(buffer: &mut T, bytes: &[u8]) -> Result<()> [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::error::Result`, `crate::packet::identity`, `crate::packet::lock`, `crate::packet::sign`, `crate::packet::unlock`, `crate::packet::IntoPacket`, `crate::packet::Packet` [INFO] [stdout] --> src/client/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | error::Result, [INFO] [stdout] | ^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] 71 | packet::{ [INFO] [stdout] 72 | identity::{ [INFO] [stdout] | ^^^^^^^^ could not find `identity` in `packet` [INFO] [stdout] ... [INFO] [stdout] 75 | lock::Lock, [INFO] [stdout] | ^^^^ could not find `lock` in `packet` [INFO] [stdout] 76 | sign::SignRequest, [INFO] [stdout] | ^^^^ could not find `sign` in `packet` [INFO] [stdout] 77 | unlock::Unlock, [INFO] [stdout] | ^^^^^^ could not find `unlock` in `packet` [INFO] [stdout] 78 | IntoPacket, Packet, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ no `Packet` in `packet` [INFO] [stdout] | | [INFO] [stdout] | no `IntoPacket` in `packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] slog::Result [INFO] [stdout] tokio::io::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::ErrSource` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub use error::ErrSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ErrSource` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::Error` [INFO] [stdout] --> src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub use error::Error; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 113 | pub use std::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use std::fmt::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use std::io::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use core::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::Result` [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub use error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 114 | pub use std::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::io::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::thread::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Result` [INFO] [stdout] --> src/client/message.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 85 | use crate::client::message::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use std::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use std::io::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use std::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::error::Result`, `crate::packet::identity`, `crate::packet::lock`, `crate::packet::sign`, `crate::packet::unlock`, `crate::packet::IntoPacket`, `crate::packet::Packet` [INFO] [stdout] --> src/client/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | error::Result, [INFO] [stdout] | ^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] 71 | packet::{ [INFO] [stdout] 72 | identity::{ [INFO] [stdout] | ^^^^^^^^ could not find `identity` in `packet` [INFO] [stdout] ... [INFO] [stdout] 75 | lock::Lock, [INFO] [stdout] | ^^^^ could not find `lock` in `packet` [INFO] [stdout] 76 | sign::SignRequest, [INFO] [stdout] | ^^^^ could not find `sign` in `packet` [INFO] [stdout] 77 | unlock::Unlock, [INFO] [stdout] | ^^^^^^ could not find `unlock` in `packet` [INFO] [stdout] 78 | IntoPacket, Packet, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ no `Packet` in `packet` [INFO] [stdout] | | [INFO] [stdout] | no `IntoPacket` in `packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] slog::Result [INFO] [stdout] tokio::io::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::error::Result`, `crate::utils::hexy`, `crate::utils::put_string` [INFO] [stdout] --> src/client/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | error::Result, [INFO] [stdout] | ^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] 187 | utils::hexy, [INFO] [stdout] | ^^^^^^^^^^^ no `hexy` in `utils` [INFO] [stdout] 188 | utils::put_string, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `put_string` in `utils` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::client::Result [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] slog::Result [INFO] [stdout] tokio::io::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::ErrSource` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub use error::ErrSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ErrSource` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::Error` [INFO] [stdout] --> src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub use error::Error; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 113 | pub use std::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use std::fmt::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use std::io::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use core::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error::Result` [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub use error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Result` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 114 | pub use std::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::io::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::thread::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / tokio::select! { [INFO] [stdout] 132 | | msg_opt = self.receiver.recv() => { [INFO] [stdout] 133 | | if let Some(msg) = msg_opt { [INFO] [stdout] 134 | | try_trace!(self.logger, "Agent <= {}", msg); [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / tokio::select! { [INFO] [stdout] 132 | | msg_opt = self.receiver.recv() => { [INFO] [stdout] 133 | | if let Some(msg) = msg_opt { [INFO] [stdout] 134 | | try_trace!(self.logger, "Agent <= {}", msg); [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `russh-agent` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client/mod.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | if let Ok(pk) = add_identity(&mut sender, None).await { [INFO] [stdout] | ^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client/mod.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | if let Ok(pk) = add_identity(&mut sender, None).await { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/result.rs:532:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client/mod.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(pk) = add_identity(&mut sender, Some(constraint.payload().clone())).await { [INFO] [stdout] | ^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client/mod.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(pk) = add_identity(&mut sender, Some(constraint.payload().clone())).await { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/result.rs:532:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/client/mod.rs:300:41 [INFO] [stdout] | [INFO] [stdout] 300 | let keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | use ed25519_dalek::Keypair; [INFO] [stdout] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek` [INFO] [stdout] 193 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::RngCore` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> src/client/mod.rs:300:41 [INFO] [stdout] | [INFO] [stdout] 300 | let keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `OsRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | use ed25519_dalek::Keypair; [INFO] [stdout] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek` [INFO] [stdout] 193 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = join!(client, receive, send); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = join!(client, receive, send); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `russh-agent` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "997106a9dae3de6f8b8b87f241795dd7bfaa19cac3301fb9f41c9d938f8313b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997106a9dae3de6f8b8b87f241795dd7bfaa19cac3301fb9f41c9d938f8313b4", kill_on_drop: false }` [INFO] [stdout] 997106a9dae3de6f8b8b87f241795dd7bfaa19cac3301fb9f41c9d938f8313b4