[INFO] fetching crate russh-agent 0.2.1... [INFO] checking russh-agent-0.2.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate russh-agent 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate russh-agent 0.2.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.6.0) [INFO] [stderr] Adding bytes v0.6.0 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (latest: v4.1.2) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-dalek v1.0.0-pre.3 (latest: v2.1.1) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding slog-try v0.2.0 (latest: v1.0.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.37.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (latest: v2.2.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hxdmp v0.2.1 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d96aaff49a5dab4958fdcf1ce7792571f1eae9c1bba6ccb78cedb460b4a83fee [INFO] running `Command { std: "docker" "start" "-a" "d96aaff49a5dab4958fdcf1ce7792571f1eae9c1bba6ccb78cedb460b4a83fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d96aaff49a5dab4958fdcf1ce7792571f1eae9c1bba6ccb78cedb460b4a83fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96aaff49a5dab4958fdcf1ce7792571f1eae9c1bba6ccb78cedb460b4a83fee", kill_on_drop: false }` [INFO] [stdout] d96aaff49a5dab4958fdcf1ce7792571f1eae9c1bba6ccb78cedb460b4a83fee [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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54dd1435b9d178ef24317d7089fa1cbce29a20cdc0ccbbc69726194125ab1b40 [INFO] running `Command { std: "docker" "start" "-a" "54dd1435b9d178ef24317d7089fa1cbce29a20cdc0ccbbc69726194125ab1b40", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking hxdmp v0.2.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking slog-try v0.2.0 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking slog-async v2.8.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling getset v0.1.2 [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 `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 `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[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] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] slog::Result [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::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 core::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use core::fmt::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use slog::Error; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] 113 | pub use slog::FilterLevel::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 core::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use core::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use slog::Result; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::fmt::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 core::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use core::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use crate::client::message::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 85 | use slog::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] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] slog::Result [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] tokio::io::Result [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[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] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] crate::client::Result [INFO] [stdout] slog::Result [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::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 core::error::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use core::fmt::Error; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 113 | pub use rand::Error; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] 113 | pub use slog::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 core::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use core::result::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use slog::Result; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] 114 | pub use std::fmt::Result; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [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] | |_____________^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [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] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [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] | |_____________^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0557, E0599. [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 11 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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:510: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:510:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::CryptoRng` is not satisfied [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rand_core::CryptoRng`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] rand::rngs::adapter::reseeding::ReseedingRng [INFO] [stdout] rand::rngs::entropy::EntropyRng [INFO] [stdout] rand::rngs::std::StdRng [INFO] [stdout] rand::rngs::thread::ThreadRng [INFO] [stdout] rand_chacha::chacha::ChaCha12Core [INFO] [stdout] rand_chacha::chacha::ChaCha12Rng [INFO] [stdout] and 6 others [INFO] [stdout] note: required by a bound in `Keypair::generate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ed25519-dalek-1.0.0-pre.3/src/ed25519.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate(csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 129 | where [INFO] [stdout] 130 | R: CryptoRng + RngCore, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsRng: rand_core::RngCore` is not satisfied [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `rand_core::RngCore`: [INFO] [stdout] &'a mut R [INFO] [stdout] Box [INFO] [stdout] rand::rngs::adapter::read::ReadRng [INFO] [stdout] rand::rngs::adapter::reseeding::ReseedingRng [INFO] [stdout] rand::rngs::entropy::EntropyRng [INFO] [stdout] rand::rngs::mock::StepRng [INFO] [stdout] rand::rngs::std::StdRng [INFO] [stdout] rand::rngs::thread::ThreadRng [INFO] [stdout] and 6 others [INFO] [stdout] note: required by a bound in `Keypair::generate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ed25519-dalek-1.0.0-pre.3/src/ed25519.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate(csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 129 | where [INFO] [stdout] 130 | R: CryptoRng + RngCore, [INFO] [stdout] | ^^^^^^^ required by this bound in `Keypair::generate` [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[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> src/client/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = join!(client, receive, send); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [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] error[E0599]: no method named `take_output` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> src/client/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = join!(client, receive, send); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Pin<_>` [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: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0557, E0599. [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 23 previous errors [INFO] running `Command { std: "docker" "inspect" "54dd1435b9d178ef24317d7089fa1cbce29a20cdc0ccbbc69726194125ab1b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54dd1435b9d178ef24317d7089fa1cbce29a20cdc0ccbbc69726194125ab1b40", kill_on_drop: false }` [INFO] [stdout] 54dd1435b9d178ef24317d7089fa1cbce29a20cdc0ccbbc69726194125ab1b40