[INFO] fetching crate openssh-sftp-client 0.15.3... [INFO] building openssh-sftp-client-0.15.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate openssh-sftp-client 0.15.3 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openssh-sftp-client 0.15.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded openssh-sftp-client-lowlevel v0.7.2 [INFO] [stderr] Downloaded awaitable-error v0.1.0 [INFO] [stderr] Downloaded non-zero-byte-slice v0.1.0 [INFO] [stderr] Downloaded concurrent_arena v0.1.11 [INFO] [stderr] Downloaded openssh-mux-client-error v0.1.1 [INFO] [stderr] Downloaded openssh-mux-client v0.17.7 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded vec-strings v0.4.8 [INFO] [stderr] Downloaded awaitable v0.4.0 [INFO] [stderr] Downloaded openssh-sftp-protocol v0.24.1 [INFO] [stderr] Downloaded sendfd v0.4.4 [INFO] [stderr] Downloaded typed-builder v0.21.0 [INFO] [stderr] Downloaded openssh v0.11.5 [INFO] [stderr] Downloaded openssh-sftp-error v0.5.1 [INFO] [stderr] Downloaded ssh_format_error v0.1.0 [INFO] [stderr] Downloaded derive_destructure2 v0.1.3 [INFO] [stderr] Downloaded ssh_format v0.14.1 [INFO] [stderr] Downloaded tokio-io-utility v0.7.6 [INFO] [stderr] Downloaded openssh-sftp-protocol-error v0.1.1 [INFO] [stderr] Downloaded typed-builder-macro v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ed3ba9ee5dd31f8b584ccff51c8599328886e104b9fe37a8eddeab4d15ed565 [INFO] running `Command { std: "docker" "start" "-a" "3ed3ba9ee5dd31f8b584ccff51c8599328886e104b9fe37a8eddeab4d15ed565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ed3ba9ee5dd31f8b584ccff51c8599328886e104b9fe37a8eddeab4d15ed565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed3ba9ee5dd31f8b584ccff51c8599328886e104b9fe37a8eddeab4d15ed565", kill_on_drop: false }` [INFO] [stdout] 3ed3ba9ee5dd31f8b584ccff51c8599328886e104b9fe37a8eddeab4d15ed565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60801f975fbb309262bfd9fa1bbc2ad3b2803d0f3c00b389bf76c8855227e83a [INFO] running `Command { std: "docker" "start" "-a" "60801f975fbb309262bfd9fa1bbc2ad3b2803d0f3c00b389bf76c8855227e83a", kill_on_drop: false }` [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling awaitable-error v0.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling awaitable v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.13 [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 thiserror v2.0.12 [INFO] [stderr] Compiling pin-project v1.1.10 [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 ssh_format v0.14.1 [INFO] [stderr] Compiling concurrent_arena v0.1.11 [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 15.88s [INFO] running `Command { std: "docker" "inspect" "60801f975fbb309262bfd9fa1bbc2ad3b2803d0f3c00b389bf76c8855227e83a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60801f975fbb309262bfd9fa1bbc2ad3b2803d0f3c00b389bf76c8855227e83a", kill_on_drop: false }` [INFO] [stdout] 60801f975fbb309262bfd9fa1bbc2ad3b2803d0f3c00b389bf76c8855227e83a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03894412d1f63ff25e4ea0d92863ddccf1d70cfbd023ce5b1fd1dc7c6e6777a2 [INFO] running `Command { std: "docker" "start" "-a" "03894412d1f63ff25e4ea0d92863ddccf1d70cfbd023ce5b1fd1dc7c6e6777a2", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [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 typed-builder-macro v0.21.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling derive_destructure2 v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling typed-builder v0.21.0 [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-sftp-error v0.5.1 [INFO] [stderr] Compiling openssh-sftp-protocol v0.24.1 [INFO] [stderr] Compiling openssh-mux-client v0.17.7 [INFO] [stderr] Compiling concurrent_arena v0.1.11 [INFO] [stderr] Compiling openssh-sftp-client-lowlevel v0.7.2 [INFO] [stderr] Compiling openssh v0.11.5 [INFO] [stderr] Compiling openssh-sftp-client v0.15.3 (/opt/rustwide/workdir) [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] --> 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] 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[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] [stderr] error: could not compile `openssh-sftp-client` (example "openssh") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:24 [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:32 [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:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:83:49 [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:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:98:49 [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:36 [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:24 [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:32 [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:40 [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:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | .map($file_converter) [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:39 [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:41 [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:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .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:168:52 [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:36 [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:23 [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:36 [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:40 [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:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | .map($file_converter) [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:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:156:41 [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:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .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:168:52 [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[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:171:36 [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:23 [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:36 [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:127:40 [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:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | .map($file_converter) [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:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:156:41 [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:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .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:168:52 [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:36 [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:23 [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:36 [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:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | .map(file::TokioCompatFile::from) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:252:45 [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:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | .map(file::TokioCompatFile::from) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:271:52 [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:28 [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:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | .map(file::TokioCompatFile::from) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:286:52 [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:28 [INFO] [stdout] | [INFO] [stdout] 291 | 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:296:37 [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:24 [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:32 [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:40 [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:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | .map($file_converter) [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:39 [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:41 [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:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .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:168:52 [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:36 [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:23 [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:36 [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:40 [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:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | .map($file_converter) [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:156:41 [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .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:168:52 [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:36 [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:23 [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:36 [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] 346 | .options() [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:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:354:42 [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:35 [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:42 [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:24 [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:32 [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:29 [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:55 [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:24 [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:32 [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:36 [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:48 [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:47 [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:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | .unwrap() [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:50 [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:48 [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:36 [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:24 [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:32 [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:44 [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:47 [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:46 [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:53 [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:52 [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:49 [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:40 [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:24 [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:32 [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:44 [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:50 [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:47 [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:53 [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:53 [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:41 [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:24 [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:32 [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:44 [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:46 [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:34 [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:46 [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:52 [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:40 [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:24 [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:32 [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:40 [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:38 [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:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:536:45 [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:24 [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:32 [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:39 [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:562:14 [INFO] [stdout] | [INFO] [stdout] 562 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:564:40 [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:30 [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:574:14 [INFO] [stdout] | [INFO] [stdout] 574 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:582:14 [INFO] [stdout] | [INFO] [stdout] 582 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:584:30 [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:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:595:24 [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:32 [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:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:653:22 [INFO] [stdout] | [INFO] [stdout] 653 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:656:22 [INFO] [stdout] | [INFO] [stdout] 656 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:660:53 [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:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:671:22 [INFO] [stdout] | [INFO] [stdout] 671 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:675:53 [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:41 [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:28 [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] 704 | .open(&path) [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:706:14 [INFO] [stdout] | [INFO] [stdout] 706 | .map(file::TokioCompatFile::from) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:709:45 [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:724:14 [INFO] [stdout] | [INFO] [stdout] 724 | .map(file::TokioCompatFile::from) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/highlevel.rs:732:40 [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:40 [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:28 [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:37 [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:24 [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:25 [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:32 [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:33 [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" "03894412d1f63ff25e4ea0d92863ddccf1d70cfbd023ce5b1fd1dc7c6e6777a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03894412d1f63ff25e4ea0d92863ddccf1d70cfbd023ce5b1fd1dc7c6e6777a2", kill_on_drop: false }` [INFO] [stdout] 03894412d1f63ff25e4ea0d92863ddccf1d70cfbd023ce5b1fd1dc7c6e6777a2