[INFO] fetching crate openssh-sftp-client 0.15.3...
[INFO] testing openssh-sftp-client-0.15.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate openssh-sftp-client 0.15.3 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate openssh-sftp-client 0.15.3
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate openssh-sftp-client 0.15.3
[INFO] tweaked toml for crates.io crate openssh-sftp-client 0.15.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate openssh-sftp-client 0.15.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate openssh-sftp-client 0.15.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f86b7bd43e132c99637c186ae5c5e77030e37c70d77216410d3e00ce85aea3be
[INFO] running `Command { std: "docker" "start" "-a" "f86b7bd43e132c99637c186ae5c5e77030e37c70d77216410d3e00ce85aea3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f86b7bd43e132c99637c186ae5c5e77030e37c70d77216410d3e00ce85aea3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f86b7bd43e132c99637c186ae5c5e77030e37c70d77216410d3e00ce85aea3be", kill_on_drop: false }`
[INFO] [stdout] f86b7bd43e132c99637c186ae5c5e77030e37c70d77216410d3e00ce85aea3be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8709ca1d3530c2734ad492adbc6fca4a39f5d09d1c2d92e3e6ce81727ff8a68f
[INFO] running `Command { std: "docker" "start" "-a" "8709ca1d3530c2734ad492adbc6fca4a39f5d09d1c2d92e3e6ce81727ff8a68f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling thin-vec v0.2.14
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling awaitable-error v0.1.0
[INFO] [stderr]    Compiling awaitable v0.4.0
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling derive_destructure2 v0.1.3
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tokio-io-utility v0.7.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling ssh_format_error v0.1.0
[INFO] [stderr]    Compiling vec-strings v0.4.8
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling concurrent_arena v0.1.11
[INFO] [stderr]    Compiling ssh_format v0.14.1
[INFO] [stderr]    Compiling openssh-sftp-protocol-error v0.1.1
[INFO] [stderr]    Compiling openssh-sftp-error v0.5.1
[INFO] [stderr]    Compiling openssh-sftp-protocol v0.24.1
[INFO] [stderr]    Compiling openssh-sftp-client-lowlevel v0.7.2
[INFO] [stderr]    Compiling openssh-sftp-client v0.15.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.99s
[INFO] running `Command { std: "docker" "inspect" "8709ca1d3530c2734ad492adbc6fca4a39f5d09d1c2d92e3e6ce81727ff8a68f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8709ca1d3530c2734ad492adbc6fca4a39f5d09d1c2d92e3e6ce81727ff8a68f", kill_on_drop: false }`
[INFO] [stdout] 8709ca1d3530c2734ad492adbc6fca4a39f5d09d1c2d92e3e6ce81727ff8a68f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a8b9fde5084b8726992e25061bfd0f3080eb553000811b5e78097fefb867ce2
[INFO] running `Command { std: "docker" "start" "-a" "6a8b9fde5084b8726992e25061bfd0f3080eb553000811b5e78097fefb867ce2", kill_on_drop: false }`
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling typed-builder-macro v0.21.0
[INFO] [stderr]    Compiling derive_destructure2 v0.1.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling typed-builder v0.21.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tokio-io-utility v0.7.6
[INFO] [stderr]    Compiling sendfd v0.4.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling ssh_format_error v0.1.0
[INFO] [stderr]    Compiling vec-strings v0.4.8
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling non-zero-byte-slice v0.1.0
[INFO] [stderr]    Compiling ssh_format v0.14.1
[INFO] [stderr]    Compiling openssh-mux-client-error v0.1.1
[INFO] [stderr]    Compiling openssh-sftp-protocol-error v0.1.1
[INFO] [stderr]    Compiling openssh-mux-client v0.17.7
[INFO] [stderr]    Compiling concurrent_arena v0.1.11
[INFO] [stderr]    Compiling openssh-sftp-error v0.5.1
[INFO] [stderr]    Compiling openssh-sftp-protocol v0.24.1
[INFO] [stderr]    Compiling openssh v0.11.5
[INFO] [stderr]    Compiling openssh-sftp-client-lowlevel v0.7.2
[INFO] [stderr]    Compiling openssh-sftp-client v0.15.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `sftp_test_common`
[INFO] [stdout]   --> tests/highlevel.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use sftp_test_common::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sftp_test_common`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sftp_test_common`, use `cargo add sftp_test_common` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]   --> tests/highlevel.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |     sftp.close().await.unwrap();
[INFO] [stdout]    |     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]    |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     sftp.close().await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]   --> tests/highlevel.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]    |             ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]    |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]   --> tests/highlevel.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let (mut child, sftp) =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     let content = &content[..min(sftp.max_write_len() as usize, content.len())];
[INFO] [stdout]    |                                  ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let (mut child, sftp): (_, _) =
[INFO] [stdout]    |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 | /             sftp.options()
[INFO] [stdout] 72 | |                 .write(true)
[INFO] [stdout] 73 | |                 .create_new(true)
[INFO] [stdout] 74 | |                 .open(&path)
[INFO] [stdout] 75 | |                 .await
[INFO] [stdout]    | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 | /             sftp.options()
[INFO] [stdout] 72 | |                 .write(true)
[INFO] [stdout] 73 | |                 .create_new(true)
[INFO] [stdout] 74 | |                 .open(&path)
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |                 .write(content)
[INFO] [stdout] 78 | |                 .await
[INFO] [stdout]    | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |         debug_assert_eq!(&*fs.read(&path).await.unwrap(), &*content);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 | /             sftp.create(&path)
[INFO] [stdout] 90 | |                 .await
[INFO] [stdout]    | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 | /             sftp.create(&path)
[INFO] [stdout] 90 | |                 .await
[INFO] [stdout] 91 | |                 .unwrap()
[INFO] [stdout] 92 | |                 .write(content)
[INFO] [stdout] 93 | |                 .await
[INFO] [stdout]    | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/highlevel.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 |         debug_assert_eq!(&*fs.read(&path).await.unwrap(), &*content);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         fs.remove_file(path).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     let (mut child, sftp) =
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout]  61 |     let (mut child, sftp): (_, _) =
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `max_write_len` found for struct `openssh_sftp_client::SftpOptions` in the current scope
[INFO] [stdout]    --> tests/highlevel.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     SftpOptions::new()
[INFO] [stdout] 114 | |         .max_write_len(max_rw_len)
[INFO] [stdout]     | |         -^^^^^^^^^^^^^ method not found in `openssh_sftp_client::SftpOptions`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |                   let max_len = max(sftp.max_write_len(), sftp.max_read_len()) as usize;
[INFO] [stdout]     |                                     ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:131:32
[INFO] [stdout]     |
[INFO] [stdout] 131 |                       let file = sftp
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 132 | |                         .options()
[INFO] [stdout] 133 | |                         .write(true)
[INFO] [stdout] 134 | |                         .read(true)
[INFO] [stdout] 135 | |                         .create(true)
[INFO] [stdout] 136 | |                         .open(&path)
[INFO] [stdout] 137 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         file.write_all(content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |                       file.rewind().await.unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |                       let buffer = file
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 159 | |                         .as_mut()
[INFO] [stdout] 160 | |                         .as_mut_file()
[INFO] [stdout] 161 | |                         .read_all(len, BytesMut::with_capacity(len))
[INFO] [stdout] 162 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                   sftp.fs().remove_file(&path).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   sftp.close().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 179 | / def_write_all_test!(
[INFO] [stdout] 180 | |     sftp_file_write_all,
[INFO] [stdout] 181 | |     SftpOptions::new(),
[INFO] [stdout] 182 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |                   let max_len = max(sftp.max_write_len(), sftp.max_read_len()) as usize;
[INFO] [stdout]     |                                     ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:131:32
[INFO] [stdout]     |
[INFO] [stdout] 131 |                       let file = sftp
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 132 | |                         .options()
[INFO] [stdout] 133 | |                         .write(true)
[INFO] [stdout] 134 | |                         .read(true)
[INFO] [stdout] 135 | |                         .create(true)
[INFO] [stdout] 136 | |                         .open(&path)
[INFO] [stdout] 137 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 | /         file.write_all_vectorized(
[INFO] [stdout] 200 | |             [
[INFO] [stdout] 201 | |                 IoSlice::new(&content[..len / 2]),
[INFO] [stdout] 202 | |                 IoSlice::new(&content[len / 2..]),
[INFO] [stdout] ...   |
[INFO] [stdout] 206 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |                       file.rewind().await.unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |                       let buffer = file
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 159 | |                         .as_mut()
[INFO] [stdout] 160 | |                         .as_mut_file()
[INFO] [stdout] 161 | |                         .read_all(len, BytesMut::with_capacity(len))
[INFO] [stdout] 162 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                   sftp.fs().remove_file(&path).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_session` found for struct `Sftp` in the current scope
[INFO] [stdout]   --> examples/openssh.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let sftp = Sftp::from_session(ssh_session, Default::default()).await?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^ function or associated item not found in `Sftp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   sftp.close().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 190 | / def_write_all_test!(
[INFO] [stdout] 191 | |     sftp_file_write_all_vectored,
[INFO] [stdout] 192 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 193 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/openssh.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let sftp = Sftp::from_session(ssh_session, Default::default()).await?;
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |     sftp.close().await?;
[INFO] [stdout]    |     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `sftp` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let sftp: /* Type */ = Sftp::from_session(ssh_session, Default::default()).await?;
[INFO] [stdout]    |             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |                   let max_len = max(sftp.max_write_len(), sftp.max_read_len()) as usize;
[INFO] [stdout]     |                                     ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:131:32
[INFO] [stdout]     |
[INFO] [stdout] 131 |                       let file = sftp
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 132 | |                         .options()
[INFO] [stdout] 133 | |                         .write(true)
[INFO] [stdout] 134 | |                         .read(true)
[INFO] [stdout] 135 | |                         .create(true)
[INFO] [stdout] 136 | |                         .open(&path)
[INFO] [stdout] 137 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 | /         file.write_all_zero_copy(
[INFO] [stdout] 221 | |             [
[INFO] [stdout] 222 | |                 BytesMut::from(&content[..len / 2]).freeze(),
[INFO] [stdout] 223 | |                 BytesMut::from(&content[len / 2..]).freeze(),
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |                       file.rewind().await.unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |                       let buffer = file
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 159 | |                         .as_mut()
[INFO] [stdout] 160 | |                         .as_mut_file()
[INFO] [stdout] 161 | |                         .read_all(len, BytesMut::with_capacity(len))
[INFO] [stdout] 162 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                   sftp.fs().remove_file(&path).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   sftp.close().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 211 | / def_write_all_test!(
[INFO] [stdout] 212 | |     sftp_file_write_all_zero_copy,
[INFO] [stdout] 213 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 214 | |     identity,
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 240 |
[INFO] [stdout] 241 |     let content = &content[..min(sftp.max_write_len() as usize, content.len())];
[INFO] [stdout]     |                                  ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:246:20
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let file = sftp
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 247 | |             .open(&path)
[INFO] [stdout] 248 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |         file.read_to_end(&mut buffer).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:260:20
[INFO] [stdout]     |
[INFO] [stdout] 260 |           let file = sftp
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 261 | |             .options()
[INFO] [stdout] 262 | |             .write(true)
[INFO] [stdout] 263 | |             .create_new(true)
[INFO] [stdout] 264 | |             .open(&path)
[INFO] [stdout] 265 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:271:26
[INFO] [stdout]     |
[INFO] [stdout] 271 |         debug_assert_eq!(file.write(content).await.unwrap(), content.len());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         file.flush().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:280:20
[INFO] [stdout]     |
[INFO] [stdout] 280 |           let file = sftp
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 281 | |             .create(&path)
[INFO] [stdout] 282 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:286:26
[INFO] [stdout]     |
[INFO] [stdout] 286 |         debug_assert_eq!(file.write(content).await.unwrap(), content.len());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 |         file.flush().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 |         fs.remove_file(&path).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:300:5
[INFO] [stdout]     |
[INFO] [stdout] 300 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 301 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |                   let max_len = max(sftp.max_write_len(), sftp.max_read_len()) as usize;
[INFO] [stdout]     |                                     ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:131:32
[INFO] [stdout]     |
[INFO] [stdout] 131 |                       let file = sftp
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 132 | |                         .options()
[INFO] [stdout] 133 | |                         .write(true)
[INFO] [stdout] 134 | |                         .read(true)
[INFO] [stdout] 135 | |                         .create(true)
[INFO] [stdout] 136 | |                         .open(&path)
[INFO] [stdout] 137 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:311:9
[INFO] [stdout]     |
[INFO] [stdout] 311 |         file.write_all(content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |                       file.rewind().await.unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |                       let buffer = file
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 159 | |                         .as_mut()
[INFO] [stdout] 160 | |                         .as_mut_file()
[INFO] [stdout] 161 | |                         .read_all(len, BytesMut::with_capacity(len))
[INFO] [stdout] 162 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                   sftp.fs().remove_file(&path).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   sftp.close().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 304 | / def_write_all_test!(
[INFO] [stdout] 305 | |     sftp_tokio_compact_file_write_all,
[INFO] [stdout] 306 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 307 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |                   let max_len = max(sftp.max_write_len(), sftp.max_read_len()) as usize;
[INFO] [stdout]     |                                     ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:131:32
[INFO] [stdout]     |
[INFO] [stdout] 131 |                       let file = sftp
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 132 | |                         .options()
[INFO] [stdout] 133 | |                         .write(true)
[INFO] [stdout] 134 | |                         .read(true)
[INFO] [stdout] 135 | |                         .create(true)
[INFO] [stdout] 136 | |                         .open(&path)
[INFO] [stdout] 137 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openssh-sftp-client` (example "openssh") due to 2 previous errors
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |                       file.rewind().await.unwrap();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |                       let buffer = file
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 159 | |                         .as_mut()
[INFO] [stdout] 160 | |                         .as_mut_file()
[INFO] [stdout] 161 | |                         .read_all(len, BytesMut::with_capacity(len))
[INFO] [stdout] 162 | |                         .await
[INFO] [stdout]     | |______________________________^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 |                   sftp.fs().remove_file(&path).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   sftp.close().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                   child.kill().await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 315 | / def_write_all_test!(
[INFO] [stdout] 316 | |     sftp_tokio_compact_file_write_vectored_all,
[INFO] [stdout] 317 | |     sftp_options_with_max_rw_len(),
[INFO] [stdout] 318 | |     file::TokioCompatFile::from,
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `def_write_all_test` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |         let mut file = sftp
[INFO] [stdout]     |                        ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 342 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:345:24
[INFO] [stdout]     |
[INFO] [stdout] 345 |           let mut file = sftp
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 346 | |             .options()
[INFO] [stdout] 347 | |             .read(true)
[INFO] [stdout] 348 | |             .write(true)
[INFO] [stdout] ...   |
[INFO] [stdout] 351 | |             .open(&path)
[INFO] [stdout] 352 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:354:20
[INFO] [stdout]     |
[INFO] [stdout] 354 |         assert_eq!(file.metadata().await.unwrap().len().unwrap(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         file.set_len(28802).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:357:20
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert_eq!(file.metadata().await.unwrap().len().unwrap(), 28802);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 361 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 342 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:362:13
[INFO] [stdout]     |
[INFO] [stdout] 362 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 371 |
[INFO] [stdout] 372 |     sftp.create(path).await.unwrap().sync_all().await.unwrap();
[INFO] [stdout]     |     ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 370 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:372:5
[INFO] [stdout]     |
[INFO] [stdout] 372 |     sftp.create(path).await.unwrap().sync_all().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:372:5
[INFO] [stdout]     |
[INFO] [stdout] 372 |     sftp.create(path).await.unwrap().sync_all().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 370 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:376:13
[INFO] [stdout]     |
[INFO] [stdout] 376 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |         let mut fs = sftp.fs();
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:390:9
[INFO] [stdout]     |
[INFO] [stdout] 390 |         fs.create_dir(&path).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:392:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |         fs.create_dir(&path.join("dir")).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 393 |         sftp.create(&path.join("file")).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:395:9
[INFO] [stdout]     |
[INFO] [stdout] 395 | /         fs.open_dir(&path)
[INFO] [stdout] 396 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:399:24
[INFO] [stdout]     |
[INFO] [stdout] 399 |             .for_each(|res| {
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 400 |                 let entry = res.unwrap();
[INFO] [stdout]     |                             --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 399 |             .for_each(|res: /* Type */| {
[INFO] [stdout]     |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:418:9
[INFO] [stdout]     |
[INFO] [stdout] 418 |         fs.remove_file(&path.join("file")).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:419:9
[INFO] [stdout]     |
[INFO] [stdout] 419 |         fs.remove_dir(&path.join("dir")).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 |         fs.remove_dir(&path).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 425 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:436:9
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 439 |         let mut fs = sftp.fs();
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |         fs.write(&filename, content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |         fs.symlink(&filename, &symlink).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:444:22
[INFO] [stdout]     |
[INFO] [stdout] 444 |         assert_eq!(&*fs.read(&symlink).await.unwrap(), content);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:446:20
[INFO] [stdout]     |
[INFO] [stdout] 446 |         assert_eq!(fs.canonicalize(&filename).await.unwrap(), filename);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:447:20
[INFO] [stdout]     |
[INFO] [stdout] 447 |         assert_eq!(fs.canonicalize(&symlink).await.unwrap(), filename);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:448:20
[INFO] [stdout]     |
[INFO] [stdout] 448 |         assert_eq!(fs.read_link(&symlink).await.unwrap(), filename);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:450:9
[INFO] [stdout]     |
[INFO] [stdout] 450 |         fs.remove_file(&symlink).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:454:5
[INFO] [stdout]     |
[INFO] [stdout] 454 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:436:9
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 455 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:455:13
[INFO] [stdout]     |
[INFO] [stdout] 455 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 469 |         let mut fs = sftp.fs();
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:471:9
[INFO] [stdout]     |
[INFO] [stdout] 471 |         fs.write(&filename, content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 |         fs.hard_link(&filename, &hardlink).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:474:22
[INFO] [stdout]     |
[INFO] [stdout] 474 |         assert_eq!(&*fs.read(&hardlink).await.unwrap(), content);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:476:20
[INFO] [stdout]     |
[INFO] [stdout] 476 |         assert_eq!(fs.canonicalize(&filename).await.unwrap(), filename);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:477:20
[INFO] [stdout]     |
[INFO] [stdout] 477 |         assert_eq!(fs.canonicalize(&hardlink).await.unwrap(), hardlink);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:479:9
[INFO] [stdout]     |
[INFO] [stdout] 479 |         fs.remove_file(&hardlink).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:483:5
[INFO] [stdout]     |
[INFO] [stdout] 483 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 484 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 |         let mut fs = sftp.fs();
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |         fs.write(&filename, content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |         fs.rename(&filename, &renamed).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:503:9
[INFO] [stdout]     |
[INFO] [stdout] 503 |         fs.read(&filename).await.unwrap_err();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:505:22
[INFO] [stdout]     |
[INFO] [stdout] 505 |         assert_eq!(&*fs.read(&renamed).await.unwrap(), content);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:506:20
[INFO] [stdout]     |
[INFO] [stdout] 506 |         assert_eq!(fs.canonicalize(&renamed).await.unwrap(), renamed);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:508:9
[INFO] [stdout]     |
[INFO] [stdout] 508 |         fs.remove_file(&renamed).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:512:5
[INFO] [stdout]     |
[INFO] [stdout] 512 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:495:9
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let (mut child, sftp) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 513 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let (mut child, sftp): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:513:13
[INFO] [stdout]     |
[INFO] [stdout] 513 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:522:9
[INFO] [stdout]     |
[INFO] [stdout] 522 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 525 |         let mut fs = sftp.fs();
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 522 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |         fs.write(&path, content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:529:13
[INFO] [stdout]     |
[INFO] [stdout] 529 |             fs.metadata(&path).await.unwrap().len().unwrap(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:533:9
[INFO] [stdout]     |
[INFO] [stdout] 533 | /         fs.set_metadata(&path, metadata::MetaDataBuilder::new().len(2834).create())
[INFO] [stdout] 534 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:536:20
[INFO] [stdout]     |
[INFO] [stdout] 536 |         assert_eq!(fs.metadata(&path).await.unwrap().len().unwrap(), 2834);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:540:5
[INFO] [stdout]     |
[INFO] [stdout] 540 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:522:9
[INFO] [stdout]     |
[INFO] [stdout] 522 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 522 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:541:13
[INFO] [stdout]     |
[INFO] [stdout] 541 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:550:9
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 551 |
[INFO] [stdout] 552 |     sftp.fs().create_dir(&path).await.unwrap();
[INFO] [stdout]     |     ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:552:5
[INFO] [stdout]     |
[INFO] [stdout] 552 |     sftp.fs().create_dir(&path).await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:555:25
[INFO] [stdout]     |
[INFO] [stdout] 555 |           let mut file0 = sftp
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 556 | |             .options()
[INFO] [stdout] 557 | |             .read(true)
[INFO] [stdout] 558 | |             .write(true)
[INFO] [stdout] 559 | |             .create(true)
[INFO] [stdout] 560 | |             .open(path.join("file0"))
[INFO] [stdout] 561 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |         file0.write_all(content).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 565 |         file0.rewind().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:567:25
[INFO] [stdout]     |
[INFO] [stdout] 567 |           let mut file1 = sftp
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 568 | |             .options()
[INFO] [stdout] 569 | |             .read(true)
[INFO] [stdout] 570 | |             .write(true)
[INFO] [stdout] 571 | |             .create(true)
[INFO] [stdout] 572 | |             .open(path.join("file1"))
[INFO] [stdout] 573 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:576:9
[INFO] [stdout]     |
[INFO] [stdout] 576 | /         file0
[INFO] [stdout] 577 | |             .copy_to(
[INFO] [stdout] 578 | |                 &mut file1,
[INFO] [stdout] 579 | |                 NonZeroU64::new(content.len().try_into().unwrap()).unwrap(),
[INFO] [stdout] 580 | |             )
[INFO] [stdout] 581 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:584:9
[INFO] [stdout]     |
[INFO] [stdout] 584 |         file1.rewind().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:586:15
[INFO] [stdout]     |
[INFO] [stdout] 586 |               &*file1
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 587 | |                 .read_all(content.len(), BytesMut::new())
[INFO] [stdout] 588 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:595:5
[INFO] [stdout]     |
[INFO] [stdout] 595 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:550:9
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let (mut child, sftp) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let (mut child, sftp): (_, _) = connect(sftp_options_with_max_rw_len()).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:596:13
[INFO] [stdout]     |
[INFO] [stdout] 596 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_session` found for struct `openssh_sftp_client::Sftp` in the current scope
[INFO] [stdout]    --> tests/highlevel.rs:637:26
[INFO] [stdout]     |
[INFO] [stdout] 637 |         let sftp = Sftp::from_session(session, Default::default())
[INFO] [stdout]     |                          ^^^^^^^^^^^^ function or associated item not found in `openssh_sftp_client::Sftp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:637:20
[INFO] [stdout]     |
[INFO] [stdout] 637 |           let sftp = Sftp::from_session(session, Default::default())
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 638 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:648:17
[INFO] [stdout]     |
[INFO] [stdout] 648 | /                 sftp.options()
[INFO] [stdout] 649 | |                     .write(true)
[INFO] [stdout] 650 | |                     .create_new(true)
[INFO] [stdout] 651 | |                     .open(&path)
[INFO] [stdout] 652 | |                     .await
[INFO] [stdout]     | |__________________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:648:17
[INFO] [stdout]     |
[INFO] [stdout] 648 | /                 sftp.options()
[INFO] [stdout] 649 | |                     .write(true)
[INFO] [stdout] 650 | |                     .create_new(true)
[INFO] [stdout] 651 | |                     .open(&path)
[INFO] [stdout] ...   |
[INFO] [stdout] 654 | |                     .write(content)
[INFO] [stdout] 655 | |                     .await
[INFO] [stdout]     | |__________________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:660:32
[INFO] [stdout]     |
[INFO] [stdout] 660 |             debug_assert_eq!(&*fs.read(&path).await.unwrap(), content);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:666:17
[INFO] [stdout]     |
[INFO] [stdout] 666 | /                 sftp.create(&path)
[INFO] [stdout] 667 | |                     .await
[INFO] [stdout]     | |__________________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:666:17
[INFO] [stdout]     |
[INFO] [stdout] 666 | /                 sftp.create(&path)
[INFO] [stdout] 667 | |                     .await
[INFO] [stdout] 668 | |                     .unwrap()
[INFO] [stdout] 669 | |                     .write(content)
[INFO] [stdout] 670 | |                     .await
[INFO] [stdout]     | |__________________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:675:32
[INFO] [stdout]     |
[INFO] [stdout] 675 |             debug_assert_eq!(&*fs.read(&path).await.unwrap(), content);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:678:13
[INFO] [stdout]     |
[INFO] [stdout] 678 |             fs.remove_file(&path).await.unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:681:9
[INFO] [stdout]     |
[INFO] [stdout] 681 |         sftp.close().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:694:9
[INFO] [stdout]     |
[INFO] [stdout] 694 |     let (mut child, sftp) = connect(option).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 697 |     let content = &content[..content.len().min(sftp.max_write_len() as usize)];
[INFO] [stdout]     |                                                ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 694 |     let (mut child, sftp): (_, _) = connect(option).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]    --> tests/highlevel.rs:695:9
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let (mut child2, sftp2) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 703 |         let file = sftp2
[INFO] [stdout]     |                    ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let (mut child2, sftp2): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:703:20
[INFO] [stdout]     |
[INFO] [stdout] 703 |           let file = sftp2
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 704 | |             .open(&path)
[INFO] [stdout] 705 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:709:9
[INFO] [stdout]     |
[INFO] [stdout] 709 |         file.read_to_end(&mut buffer).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:718:20
[INFO] [stdout]     |
[INFO] [stdout] 718 |           let file = sftp
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 719 | |             .options()
[INFO] [stdout] 720 | |             .write(true)
[INFO] [stdout] 721 | |             .create_new(true)
[INFO] [stdout] 722 | |             .open(&path)
[INFO] [stdout] 723 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:732:9
[INFO] [stdout]     |
[INFO] [stdout] 732 |         file.write_all(content1).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:734:9
[INFO] [stdout]     |
[INFO] [stdout] 734 |         file.write_all(content2).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:737:9
[INFO] [stdout]     |
[INFO] [stdout] 737 |         file.flush().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:743:9
[INFO] [stdout]     |
[INFO] [stdout] 743 |         fs.remove_file(&path).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:748:5
[INFO] [stdout]     |
[INFO] [stdout] 748 |     sftp.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:749:5
[INFO] [stdout]     |
[INFO] [stdout] 749 |     sftp2.close().await.unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:694:9
[INFO] [stdout]     |
[INFO] [stdout] 694 |     let (mut child, sftp) = connect(option).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 750 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 694 |     let (mut child, sftp): (_, _) = connect(option).await;
[INFO] [stdout]     |                          ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:750:13
[INFO] [stdout]     |
[INFO] [stdout] 750 |     assert!(child.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})`
[INFO] [stdout]    --> tests/highlevel.rs:695:9
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let (mut child2, sftp2) = connect(Default::default()).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 751 |     assert!(child2.wait().await.unwrap().success());
[INFO] [stdout]     |             ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let (mut child2, sftp2): (_, _) = connect(Default::default()).await;
[INFO] [stdout]     |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/highlevel.rs:751:13
[INFO] [stdout]     |
[INFO] [stdout] 751 |     assert!(child2.wait().await.unwrap().success());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openssh-sftp-client` (test "highlevel") due to 176 previous errors
[INFO] running `Command { std: "docker" "inspect" "6a8b9fde5084b8726992e25061bfd0f3080eb553000811b5e78097fefb867ce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a8b9fde5084b8726992e25061bfd0f3080eb553000811b5e78097fefb867ce2", kill_on_drop: false }`
[INFO] [stdout] 6a8b9fde5084b8726992e25061bfd0f3080eb553000811b5e78097fefb867ce2
