[INFO] cloning repository https://github.com/skydig/shellfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skydig/shellfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62ed1ec94d10275a46a118204a574300f6469938 [INFO] testing skydig/shellfish against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skydig/shellfish [INFO] finished tweaking git repo https://github.com/skydig/shellfish [INFO] tweaked toml for git repo https://github.com/skydig/shellfish written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skydig/shellfish on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skydig/shellfish 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing skydig/shellfish against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skydig/shellfish [INFO] finished tweaking git repo https://github.com/skydig/shellfish [INFO] tweaked toml for git repo https://github.com/skydig/shellfish written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skydig/shellfish on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skydig/shellfish 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing skydig/shellfish against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skydig/shellfish [INFO] finished tweaking git repo https://github.com/skydig/shellfish [INFO] tweaked toml for git repo https://github.com/skydig/shellfish written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skydig/shellfish on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skydig/shellfish 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing skydig/shellfish against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skydig/shellfish [INFO] finished tweaking git repo https://github.com/skydig/shellfish [INFO] tweaked toml for git repo https://github.com/skydig/shellfish written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skydig/shellfish on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skydig/shellfish 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing skydig/shellfish against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskydig%2Fshellfish" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skydig/shellfish [INFO] finished tweaking git repo https://github.com/skydig/shellfish [INFO] tweaked toml for git repo https://github.com/skydig/shellfish written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skydig/shellfish on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skydig/shellfish 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v5.3.1 [INFO] [stderr] Downloaded blocking v1.6.0 [INFO] [stderr] Downloaded polling v3.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 393de42b3d81cc5d853bcacf0b1cf69028b3d6f6611545565919ad38051e7e17 [INFO] running `Command { std: "docker" "start" "-a" "393de42b3d81cc5d853bcacf0b1cf69028b3d6f6611545565919ad38051e7e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "393de42b3d81cc5d853bcacf0b1cf69028b3d6f6611545565919ad38051e7e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393de42b3d81cc5d853bcacf0b1cf69028b3d6f6611545565919ad38051e7e17", kill_on_drop: false }` [INFO] [stdout] 393de42b3d81cc5d853bcacf0b1cf69028b3d6f6611545565919ad38051e7e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f705050a04ce90da4f88cf9868776fb6e3c6f710542bf6b1335895cec1bb0833 [INFO] running `Command { std: "docker" "start" "-a" "f705050a04ce90da4f88cf9868776fb6e3c6f710542bf6b1335895cec1bb0833", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling shellfish v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.75s [INFO] running `Command { std: "docker" "inspect" "f705050a04ce90da4f88cf9868776fb6e3c6f710542bf6b1335895cec1bb0833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f705050a04ce90da4f88cf9868776fb6e3c6f710542bf6b1335895cec1bb0833", kill_on_drop: false }` [INFO] [stdout] f705050a04ce90da4f88cf9868776fb6e3c6f710542bf6b1335895cec1bb0833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c15f143a5e6d371b34aad2a583b1a52c4b51d0065685c73395a1bd2d9140e8 [INFO] running `Command { std: "docker" "start" "-a" "a3c15f143a5e6d371b34aad2a583b1a52c4b51d0065685c73395a1bd2d9140e8", kill_on_drop: false }` [INFO] [stderr] Compiling shellfish v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "a3c15f143a5e6d371b34aad2a583b1a52c4b51d0065685c73395a1bd2d9140e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c15f143a5e6d371b34aad2a583b1a52c4b51d0065685c73395a1bd2d9140e8", kill_on_drop: false }` [INFO] [stdout] a3c15f143a5e6d371b34aad2a583b1a52c4b51d0065685c73395a1bd2d9140e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b3ee2ad805cdfd06579d198cd35f2ef800008a2aabe4f45c16d3cb9742f832a [INFO] running `Command { std: "docker" "start" "-a" "3b3ee2ad805cdfd06579d198cd35f2ef800008a2aabe4f45c16d3cb9742f832a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/shellfish-1720e0d9417c9b3c) [INFO] [stderr] Doc-tests shellfish [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - command (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 39) ... FAILED [INFO] [stdout] test src/command.rs - command::Command::new (line 45) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - command (line 163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> src/lib.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `clap_command` in this scope [INFO] [stdout] --> src/lib.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 34 | .insert("greet", clap_command!((), GreetArgs, greet)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> src/lib.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[clap(author, version, about)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/lib.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/lib.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shell` [INFO] [stdout] --> src/lib.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut shell = Shell::new_with_async_handler( [INFO] [stdout] | ^^^^^ use of undeclared type `Shell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use shellfish::Shell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultEditor` [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 30 | DefaultEditor::new()?, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DefaultEditor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use rustyline::DefaultEditor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultAsyncHandler` [INFO] [stdout] --> src/lib.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 29 | DefaultAsyncHandler::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DefaultAsyncHandler` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 24 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - command (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `shellfish::app`, `shellfish::handler::DefaultAsyncHandler` [INFO] [stdout] --> src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 12 | use shellfish::{app, handler::DefaultAsyncHandler, Command, Shell}; [INFO] [stdout] | ^^^ ^^^^^^^^^------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | help: a similar name exists in the module: `DefaultHandler` [INFO] [stdout] | | no `DefaultAsyncHandler` in `handler` [INFO] [stdout] | no `app` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod app; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `app` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "app")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_std` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 95 | use async_std::fs; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std` [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_std` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_async_handler` found for struct `Shell` in the current scope [INFO] [stdout] --> src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 17 | let mut shell = Shell::new_with_async_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Shell<'_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Shell<'_, _, _, _, _>` consider using one of the following associated functions: [INFO] [stdout] Shell::<'a, T, M, DefaultHandler, IO>::new [INFO] [stdout] Shell::<'a, T, M, H, I>::new_with_handler [INFO] [stdout] --> /opt/rustwide/workdir/src/shell.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(state: T, prompt: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / pub fn new_with_handler( [INFO] [stdout] 87 | | state: T, [INFO] [stdout] 88 | | prompt: M, [INFO] [stdout] 89 | | handler: H, [INFO] [stdout] 90 | | input_handler: I, [INFO] [stdout] 91 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] help: there is an associated function `new_with_handler` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - let mut shell = Shell::new_with_async_handler( [INFO] [stdout] 17 + let mut shell = Shell::new_with_handler( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_async` found for struct `shellfish::Command` in the current scope [INFO] [stdout] --> src/lib.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 40 | Command::new_async( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `shellfish::Command<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `shellfish::Command<_>`, consider using `shellfish::Command::::new` which returns `shellfish::Command<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/command.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(help: String, command: CommandFn) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [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/lib.rs - command (line 163) [INFO] [stdout] src/lib.rs - command (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3b3ee2ad805cdfd06579d198cd35f2ef800008a2aabe4f45c16d3cb9742f832a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b3ee2ad805cdfd06579d198cd35f2ef800008a2aabe4f45c16d3cb9742f832a", kill_on_drop: false }` [INFO] [stdout] 3b3ee2ad805cdfd06579d198cd35f2ef800008a2aabe4f45c16d3cb9742f832a