[INFO] fetching crate lib-ngrok 0.2.1... [INFO] testing lib-ngrok-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lib-ngrok 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate lib-ngrok 0.2.1 [INFO] finished tweaking crates.io crate lib-ngrok 0.2.1 [INFO] tweaked toml for crates.io crate lib-ngrok 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lib-ngrok 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lib-ngrok 0.2.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b41ac20a78e300a5452627e02d4faa6bba2d30f0d60e452805bc11913da5303 [INFO] running `Command { std: "docker" "start" "-a" "1b41ac20a78e300a5452627e02d4faa6bba2d30f0d60e452805bc11913da5303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b41ac20a78e300a5452627e02d4faa6bba2d30f0d60e452805bc11913da5303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b41ac20a78e300a5452627e02d4faa6bba2d30f0d60e452805bc11913da5303", kill_on_drop: false }` [INFO] [stdout] 1b41ac20a78e300a5452627e02d4faa6bba2d30f0d60e452805bc11913da5303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ac5f0a25e5c30f48f8fd7d0ec0d631a49492709c57dbcf8992fa31bb0a9a62 [INFO] running `Command { std: "docker" "start" "-a" "16ac5f0a25e5c30f48f8fd7d0ec0d631a49492709c57dbcf8992fa31bb0a9a62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling lib-ngrok v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `arrch64` [INFO] [stdout] --> src/url.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(all(target_os = "linux", target_arch = "arrch64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"aarch64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "16ac5f0a25e5c30f48f8fd7d0ec0d631a49492709c57dbcf8992fa31bb0a9a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ac5f0a25e5c30f48f8fd7d0ec0d631a49492709c57dbcf8992fa31bb0a9a62", kill_on_drop: false }` [INFO] [stdout] 16ac5f0a25e5c30f48f8fd7d0ec0d631a49492709c57dbcf8992fa31bb0a9a62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b9c1a31b09b88beb6f96006ad9028f137fbe2f341ee254c7c785cbb907c54c [INFO] running `Command { std: "docker" "start" "-a" "45b9c1a31b09b88beb6f96006ad9028f137fbe2f341ee254c7c785cbb907c54c", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling anyhow v1.0.61 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling dialoguer v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling lib-ngrok v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `arrch64` [INFO] [stdout] --> src/url.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(all(target_os = "linux", target_arch = "arrch64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"aarch64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arrch64` [INFO] [stdout] --> src/url.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(all(target_os = "linux", target_arch = "arrch64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"aarch64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.38s [INFO] running `Command { std: "docker" "inspect" "45b9c1a31b09b88beb6f96006ad9028f137fbe2f341ee254c7c785cbb907c54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b9c1a31b09b88beb6f96006ad9028f137fbe2f341ee254c7c785cbb907c54c", kill_on_drop: false }` [INFO] [stdout] 45b9c1a31b09b88beb6f96006ad9028f137fbe2f341ee254c7c785cbb907c54c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 310667e8e533f1a38777e63159d3121e142dc257d528d90794253d6a13618d3e [INFO] running `Command { std: "docker" "start" "-a" "310667e8e533f1a38777e63159d3121e142dc257d528d90794253d6a13618d3e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `arrch64` [INFO] [stderr] --> src/url.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(all(target_os = "linux", target_arch = "arrch64"))] [INFO] [stderr] | ^^^^^^^^^^^^^^--------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"aarch64"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lib-ngrok` (lib) generated 1 warning [INFO] [stderr] warning: `lib-ngrok` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_ngrok-60d1f9ae5a43afee) [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] [stderr] Doc-tests lib_ngrok [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 8 | let ngrok_path = &Path::new("ngrok"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bin` in module `download` [INFO] [stdout] --> src/lib.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 9 | download::bin(ngrok_path).await?; [INFO] [stdout] | ^^^ not found in `download` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 7 | async fn download() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 8 | | let ngrok_path = &Path::new("ngrok"); [INFO] [stdout] 9 | | download::bin(ngrok_path).await?; [INFO] [stdout] | | - help: remove this semicolon to return this value [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "310667e8e533f1a38777e63159d3121e142dc257d528d90794253d6a13618d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310667e8e533f1a38777e63159d3121e142dc257d528d90794253d6a13618d3e", kill_on_drop: false }` [INFO] [stdout] 310667e8e533f1a38777e63159d3121e142dc257d528d90794253d6a13618d3e