[INFO] fetching crate dovepipe 0.1.6... [INFO] testing dovepipe-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dovepipe 0.1.6 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dovepipe 0.1.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate dovepipe 0.1.6 [INFO] tweaked toml for crates.io crate dovepipe 0.1.6 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dovepipe 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dovepipe 0.1.6 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2031ac40a72e80b1e2f2ee1b0e89f889cb8408ff08a71a426f5222473ed19ffb [INFO] running `Command { std: "docker" "start" "-a" "2031ac40a72e80b1e2f2ee1b0e89f889cb8408ff08a71a426f5222473ed19ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2031ac40a72e80b1e2f2ee1b0e89f889cb8408ff08a71a426f5222473ed19ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2031ac40a72e80b1e2f2ee1b0e89f889cb8408ff08a71a426f5222473ed19ffb", kill_on_drop: false }` [INFO] [stdout] 2031ac40a72e80b1e2f2ee1b0e89f889cb8408ff08a71a426f5222473ed19ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6318423cbd9563fb3c9990011cbedc0de2032fff5702bcd6587aaaeb48d7014 [INFO] running `Command { std: "docker" "start" "-a" "d6318423cbd9563fb3c9990011cbedc0de2032fff5702bcd6587aaaeb48d7014", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling dovepipe v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `destruct` is never used [INFO] [stdout] --> src/reciever.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 20 | trait ProgressTracker { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | async fn destruct(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/reciever.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct FileProgTrack { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.99s [INFO] running `Command { std: "docker" "inspect" "d6318423cbd9563fb3c9990011cbedc0de2032fff5702bcd6587aaaeb48d7014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6318423cbd9563fb3c9990011cbedc0de2032fff5702bcd6587aaaeb48d7014", kill_on_drop: false }` [INFO] [stdout] d6318423cbd9563fb3c9990011cbedc0de2032fff5702bcd6587aaaeb48d7014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f07a83c27c7c2edf94575f9031fce802281e7a8436d2c9e48aff458b35b3a98 [INFO] running `Command { std: "docker" "start" "-a" "5f07a83c27c7c2edf94575f9031fce802281e7a8436d2c9e48aff458b35b3a98", kill_on_drop: false }` [INFO] [stderr] Compiling dovepipe v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `destruct` is never used [INFO] [stdout] --> src/reciever.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 20 | trait ProgressTracker { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | async fn destruct(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/reciever.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct FileProgTrack { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destruct` is never used [INFO] [stdout] --> src/reciever.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 20 | trait ProgressTracker { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | async fn destruct(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/reciever.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct FileProgTrack { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "5f07a83c27c7c2edf94575f9031fce802281e7a8436d2c9e48aff458b35b3a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f07a83c27c7c2edf94575f9031fce802281e7a8436d2c9e48aff458b35b3a98", kill_on_drop: false }` [INFO] [stdout] 5f07a83c27c7c2edf94575f9031fce802281e7a8436d2c9e48aff458b35b3a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6a7d04738c5869321c9045fc303575d140eae325d7888e25db8e6bd0af677c3 [INFO] running `Command { std: "docker" "start" "-a" "f6a7d04738c5869321c9045fc303575d140eae325d7888e25db8e6bd0af677c3", kill_on_drop: false }` [INFO] [stderr] warning: method `destruct` is never used [INFO] [stderr] --> src/reciever.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 20 | trait ProgressTracker { [INFO] [stderr] | --------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 23 | async fn destruct(&self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `filename` is never read [INFO] [stderr] --> src/reciever.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | struct FileProgTrack { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 27 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dovepipe` (lib) generated 2 warnings [INFO] [stderr] warning: `dovepipe` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dovepipe-f90d3448ccfb5d97) [INFO] [stderr] Doc-tests dovepipe [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/reciever.rs - reciever::recv_file (line 308) ... FAILED [INFO] [stdout] test src/sender.rs - sender::send_file (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `send_file` in this scope [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 7 | send_file( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::send_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Source` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | Source::Port(port), [INFO] [stdout] | ^^^^^^ use of undeclared type `Source` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reciever.rs - reciever::recv_file (line 308) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `recv_file` in this scope [INFO] [stdout] --> src/reciever.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 6 | recv_file( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::recv_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Source` [INFO] [stdout] --> src/reciever.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 7 | Source::Port(port), [INFO] [stdout] | ^^^^^^ use of undeclared type `Source` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/reciever.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 8 | &mut File::create("output_from_recv.txt").expect("could not create output file"), [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::File; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressTracking` [INFO] [stdout] --> src/reciever.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 10 | ProgressTracking::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProgressTracking` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::reciever::ProgressTracking; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reciever.rs:318:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reciever_rs_308_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sender.rs - sender::send_file (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `send_file` in this scope [INFO] [stdout] --> src/sender.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 6 | send_file( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::send_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Source` [INFO] [stdout] --> src/sender.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 7 | Source::Port(port), [INFO] [stdout] | ^^^^^^ use of undeclared type `Source` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/sender.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sender_rs_26_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `recv_file` in this scope [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 6 | recv_file( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::recv_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Source` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 7 | Source::Port(port), [INFO] [stdout] | ^^^^^^ use of undeclared type `Source` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Source; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::Source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 8 | &mut File::create("output_from_recv.txt").expect("could not create output file"), [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::File; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressTracking` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 10 | ProgressTracking::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProgressTracking` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use dovepipe::reciever::ProgressTracking; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_23_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/reciever.rs - reciever::recv_file (line 308) [INFO] [stdout] src/sender.rs - sender::send_file (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6a7d04738c5869321c9045fc303575d140eae325d7888e25db8e6bd0af677c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a7d04738c5869321c9045fc303575d140eae325d7888e25db8e6bd0af677c3", kill_on_drop: false }` [INFO] [stdout] f6a7d04738c5869321c9045fc303575d140eae325d7888e25db8e6bd0af677c3