[INFO] fetching crate web-fs 0.2.9... [INFO] testing web-fs-0.2.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate web-fs 0.2.9 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate web-fs 0.2.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate web-fs 0.2.9 [INFO] tweaked toml for crates.io crate web-fs 0.2.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate web-fs 0.2.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate web-fs 0.2.9 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76aedada1129b375d2c3dc234f632a22d609fdacb1a21e9d99f790e418c96298 [INFO] running `Command { std: "docker" "start" "-a" "76aedada1129b375d2c3dc234f632a22d609fdacb1a21e9d99f790e418c96298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76aedada1129b375d2c3dc234f632a22d609fdacb1a21e9d99f790e418c96298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76aedada1129b375d2c3dc234f632a22d609fdacb1a21e9d99f790e418c96298", kill_on_drop: false }` [INFO] [stdout] 76aedada1129b375d2c3dc234f632a22d609fdacb1a21e9d99f790e418c96298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4dedef38c60fde8a442cc6dc67a551c150ffdf69bf34d55d37fec176559d84a [INFO] running `Command { std: "docker" "start" "-a" "f4dedef38c60fde8a442cc6dc67a551c150ffdf69bf34d55d37fec176559d84a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.56 [INFO] [stderr] Compiling web-fs v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.47s [INFO] running `Command { std: "docker" "inspect" "f4dedef38c60fde8a442cc6dc67a551c150ffdf69bf34d55d37fec176559d84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4dedef38c60fde8a442cc6dc67a551c150ffdf69bf34d55d37fec176559d84a", kill_on_drop: false }` [INFO] [stdout] f4dedef38c60fde8a442cc6dc67a551c150ffdf69bf34d55d37fec176559d84a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 298340775fb3ce9c16fd8f4c220a942938a9727df93de4278dde237e69b8c678 [INFO] running `Command { std: "docker" "start" "-a" "298340775fb3ce9c16fd8f4c220a942938a9727df93de4278dde237e69b8c678", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.56 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.56 [INFO] [stderr] Compiling web-fs v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.05s [INFO] running `Command { std: "docker" "inspect" "298340775fb3ce9c16fd8f4c220a942938a9727df93de4278dde237e69b8c678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298340775fb3ce9c16fd8f4c220a942938a9727df93de4278dde237e69b8c678", kill_on_drop: false }` [INFO] [stdout] 298340775fb3ce9c16fd8f4c220a942938a9727df93de4278dde237e69b8c678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9c9a0de7c028ecb5f58c2e98e1f144861a6385f06b9618bc9909517ff39e029 [INFO] running `Command { std: "docker" "start" "-a" "e9c9a0de7c028ecb5f58c2e98e1f144861a6385f06b9618bc9909517ff39e029", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_fs-60d398f285eeeb32) [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] Running tests/read_write.rs (/opt/rustwide/target/debug/deps/read_write-cc1254040de81882) [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 web_fs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 16) ... FAILED [INFO] [stdout] test src/../README.md - (line 56) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 16) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_fs` [INFO] [stdout] --> src/../README.md:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use async_fs::{File, read_to_string, write, OpenOptions}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `async_fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_fs`, use `cargo add async_fs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:30:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 30 | let mut file = File::create("testf").await.unwrap(); [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/../README.md:31:41 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 31 | file.write_all("Hello,".as_bytes()).await.unwrap(); [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/../README.md:35:40 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 35 | let mut file = File::open("testf").await.unwrap(); [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/../README.md:37:35 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 37 | file.read_to_string(&mut buf).await.unwrap(); [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/../README.md:42:78 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 42 | let mut file = OpenOptions::new().write(true).append(true).open("testf").await.unwrap(); [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/../README.md:43:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 43 | file.write_all(" world!".as_bytes()).await.unwrap(); [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/../README.md:46:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 46 | let buf = read_to_string("testf").await.unwrap(); [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/../README.md:51:34 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 51 | write("testf", "Hello, FS!").await.unwrap(); [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/../README.md:52:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 52 | let buf = read_to_string("testf").await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 56) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/../README.md:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> src/../README.md:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | console_log::init_with_level(log::Level::Debug).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console_log` in this scope [INFO] [stdout] --> src/../README.md:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | console_log::init_with_level(log::Level::Debug).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `console_log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console_log`, use `cargo add console_log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 16) [INFO] [stdout] src/../README.md - (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.53s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9c9a0de7c028ecb5f58c2e98e1f144861a6385f06b9618bc9909517ff39e029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c9a0de7c028ecb5f58c2e98e1f144861a6385f06b9618bc9909517ff39e029", kill_on_drop: false }` [INFO] [stdout] e9c9a0de7c028ecb5f58c2e98e1f144861a6385f06b9618bc9909517ff39e029