[INFO] cloning repository https://github.com/ogghostjelly/ziponline
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ogghostjelly/ziponline" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogghostjelly%2Fziponline", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogghostjelly%2Fziponline'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac6b412878d3942da65398f9e32a80eec33c7b88
[INFO] testing ogghostjelly/ziponline against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogghostjelly%2Fziponline" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ogghostjelly/ziponline
[INFO] finished tweaking git repo https://github.com/ogghostjelly/ziponline
[INFO] tweaked toml for git repo https://github.com/ogghostjelly/ziponline written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ogghostjelly/ziponline on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ogghostjelly/ziponline 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25200deb8eb47b9399362d6d0625f0563d4b8e2aeb58fe7a599a0fedf9fd32d5
[INFO] running `Command { std: "docker" "start" "-a" "25200deb8eb47b9399362d6d0625f0563d4b8e2aeb58fe7a599a0fedf9fd32d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25200deb8eb47b9399362d6d0625f0563d4b8e2aeb58fe7a599a0fedf9fd32d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25200deb8eb47b9399362d6d0625f0563d4b8e2aeb58fe7a599a0fedf9fd32d5", kill_on_drop: false }`
[INFO] [stdout] 25200deb8eb47b9399362d6d0625f0563d4b8e2aeb58fe7a599a0fedf9fd32d5
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 54a6c86de9719bba33a89da3c16c63d636545f25bbbc89cc3973b9ee9b1ec39f
[INFO] running `Command { std: "docker" "start" "-a" "54a6c86de9719bba33a89da3c16c63d636545f25bbbc89cc3973b9ee9b1ec39f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling ziponline v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.45s
[INFO] running `Command { std: "docker" "inspect" "54a6c86de9719bba33a89da3c16c63d636545f25bbbc89cc3973b9ee9b1ec39f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54a6c86de9719bba33a89da3c16c63d636545f25bbbc89cc3973b9ee9b1ec39f", kill_on_drop: false }`
[INFO] [stdout] 54a6c86de9719bba33a89da3c16c63d636545f25bbbc89cc3973b9ee9b1ec39f
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2fb8cf9c02b1904de346852389a38de587c30766d975b604c637983e4d66b7b9
[INFO] running `Command { std: "docker" "start" "-a" "2fb8cf9c02b1904de346852389a38de587c30766d975b604c637983e4d66b7b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling ziponline v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "2fb8cf9c02b1904de346852389a38de587c30766d975b604c637983e4d66b7b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fb8cf9c02b1904de346852389a38de587c30766d975b604c637983e4d66b7b9", kill_on_drop: false }`
[INFO] [stdout] 2fb8cf9c02b1904de346852389a38de587c30766d975b604c637983e4d66b7b9
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d8dd81273b1e8ea82c0341afcf68e6f1e0844eaef0ba6ba6bd92260c2ae38a3c
[INFO] running `Command { std: "docker" "start" "-a" "d8dd81273b1e8ea82c0341afcf68e6f1e0844eaef0ba6ba6bd92260c2ae38a3c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/ziponline/c3b4611e61cc6ef4/deps/ziponline-c3b4611e61cc6ef4)
[INFO] [stderr]    Doc-tests ziponline
[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 2 tests
[INFO] [stdout] test src/lib.rs - (line 23) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 10) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 23) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LazyZipFile`
[INFO] [stdout]   --> src/lib.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut zip_file = LazyZipFile::new(
[INFO] [stdout]    |                    ^^^^^^^^^^^ use of undeclared type `LazyZipFile`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use ziponline::LazyZipFile;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     client,   // the reqwest::Client
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `url` in this scope
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     url,      // the url of the zip file
[INFO] [stdout]    |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `filesize` in this scope
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     filesize, // the filesize or None if it is unknown
[INFO] [stdout]    |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_23_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 28 | ).await?;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:30:51
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_23_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 30 | let abc_reader = zip_file.extract_file("abc.txt").await?;
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:31:51
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_23_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 31 | let def_reader = zip_file.extract_file("def.txt").await?;
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:32:51
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_23_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 32 | let ghi_reader = zip_file.extract_file("ghi.txt").await?;
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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 10) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | io::copy(&mut reader, ...);
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 20 - io::copy(&mut reader, ...);
[INFO] [stdout] 20 + io::copy(&mut reader, ..);
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 20 - io::copy(&mut reader, ...);
[INFO] [stdout] 20 + io::copy(&mut reader, ..=);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | io::copy(&mut reader, ...);
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 20 - io::copy(&mut reader, ...);
[INFO] [stdout] 20 + io::copy(&mut reader, ..);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/lib.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     &client,    // the reqwest::Client
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `url` in this scope
[INFO] [stdout]   --> src/lib.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     &url,       // the url of the zip file
[INFO] [stdout]    |      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | io::copy(&mut reader, ...);
[INFO] [stdout]    | ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 - io::copy(&mut reader, ...);
[INFO] [stdout] 20 + i8::copy(&mut reader, ...);
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  9 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | ).await?;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586, 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 10)
[INFO] [stdout]     src/lib.rs - (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.41s; merged doctests compilation took 0.13s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d8dd81273b1e8ea82c0341afcf68e6f1e0844eaef0ba6ba6bd92260c2ae38a3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8dd81273b1e8ea82c0341afcf68e6f1e0844eaef0ba6ba6bd92260c2ae38a3c", kill_on_drop: false }`
[INFO] [stdout] d8dd81273b1e8ea82c0341afcf68e6f1e0844eaef0ba6ba6bd92260c2ae38a3c
