[INFO] fetching crate russh-agent 0.2.1... [INFO] checking russh-agent-0.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate russh-agent 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate russh-agent 0.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.7.3 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (available: v0.3.3) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding bytes v0.6.0 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (available: v4.1.3) [INFO] [stderr] Adding digest v0.8.1 (available: v0.10.7) [INFO] [stderr] Adding ed25519-dalek v1.0.0-pre.3 (available: v1.0.1) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (available: v0.3.1) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.8) [INFO] [stderr] Adding slog-try v0.2.0 (available: v1.0.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (available: v2.4.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-try v0.2.0 [INFO] [stderr] Downloaded hxdmp v0.2.1 [INFO] [stderr] Downloaded bytes v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f850861fa3967f6e4a9600b3bdd7d5d06eeb701d6f9d16e320aadc9942b5f74f [INFO] running `Command { std: "docker" "start" "-a" "f850861fa3967f6e4a9600b3bdd7d5d06eeb701d6f9d16e320aadc9942b5f74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f850861fa3967f6e4a9600b3bdd7d5d06eeb701d6f9d16e320aadc9942b5f74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f850861fa3967f6e4a9600b3bdd7d5d06eeb701d6f9d16e320aadc9942b5f74f", kill_on_drop: false }` [INFO] [stdout] f850861fa3967f6e4a9600b3bdd7d5d06eeb701d6f9d16e320aadc9942b5f74f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2de60c4a522c7de3a37e401c2dfda2034091702ab7f30240b7c641918e51489 [INFO] running `Command { std: "docker" "start" "-a" "b2de60c4a522c7de3a37e401c2dfda2034091702ab7f30240b7c641918e51489", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.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 generic-array v0.12.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking term v0.7.0 [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 slog-try v0.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hxdmp v0.2.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking slog-term v2.9.1 [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] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | illegal_floating_point_literal_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | intra_doc_link_resolution_failure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mutable_borrow_reservation_conflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `overlapping_patterns` has been renamed to `overlapping_range_endpoints` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | overlapping_patterns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `overlapping_range_endpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `safe_packed_borrows` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | safe_packed_borrows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | where_clauses_object_safety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: lint `illegal_floating_point_literal_pattern` has been removed: no longer a warning, float patterns behave the same as `==` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | illegal_floating_point_literal_pattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | intra_doc_link_resolution_failure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mutable_borrow_reservation_conflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: lint `overlapping_patterns` has been renamed to `overlapping_range_endpoints` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | overlapping_patterns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `overlapping_range_endpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `safe_packed_borrows` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | safe_packed_borrows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | renamed_and_removed_lints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | where_clauses_object_safety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 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: 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 12 previous errors; 6 warnings emitted [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 13 previous errors; 6 warnings emitted [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531: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: there are multiple different versions of crate `rand_core` in the dependency graph [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] note: two types coming from two different versions of the same crate are different types even if they look the same [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.5.1/src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub trait CryptoRng {} [INFO] [stdout] | ------------------- this is the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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: there are multiple different versions of crate `rand_core` in the dependency graph [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] note: two types coming from two different versions of the same crate are different types even if they look the same [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.5.1/src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait RngCore { [INFO] [stdout] | ----------------- this is the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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: 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 24 previous errors; 6 warnings emitted [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 25 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2de60c4a522c7de3a37e401c2dfda2034091702ab7f30240b7c641918e51489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2de60c4a522c7de3a37e401c2dfda2034091702ab7f30240b7c641918e51489", kill_on_drop: false }` [INFO] [stdout] b2de60c4a522c7de3a37e401c2dfda2034091702ab7f30240b7c641918e51489