[INFO] cloning repository https://github.com/rafesholler/cli-parser-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafesholler/cli-parser-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafesholler%2Fcli-parser-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafesholler%2Fcli-parser-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 194117d70213491b89810372d04b258ea6a52ffd [INFO] testing rafesholler/cli-parser-rust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafesholler%2Fcli-parser-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rafesholler/cli-parser-rust [INFO] finished tweaking git repo https://github.com/rafesholler/cli-parser-rust [INFO] tweaked toml for git repo https://github.com/rafesholler/cli-parser-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rafesholler/cli-parser-rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rafesholler/cli-parser-rust 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fae11c200d5a59936026af9e118729388be41c1480f4404966e96a75290de83 [INFO] running `Command { std: "docker" "start" "-a" "5fae11c200d5a59936026af9e118729388be41c1480f4404966e96a75290de83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fae11c200d5a59936026af9e118729388be41c1480f4404966e96a75290de83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fae11c200d5a59936026af9e118729388be41c1480f4404966e96a75290de83", kill_on_drop: false }` [INFO] [stdout] 5fae11c200d5a59936026af9e118729388be41c1480f4404966e96a75290de83 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14264b06380e4321abce599f795305eddf34e78aca95400bb19c5de8841df04e [INFO] running `Command { std: "docker" "start" "-a" "14264b06380e4321abce599f795305eddf34e78aca95400bb19c5de8841df04e", kill_on_drop: false }` [INFO] [stderr] Compiling simple-cli-parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "14264b06380e4321abce599f795305eddf34e78aca95400bb19c5de8841df04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14264b06380e4321abce599f795305eddf34e78aca95400bb19c5de8841df04e", kill_on_drop: false }` [INFO] [stdout] 14264b06380e4321abce599f795305eddf34e78aca95400bb19c5de8841df04e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a62345d1b3335434c73be4279935e620360a9634d2efcab296004e3dc2139068 [INFO] running `Command { std: "docker" "start" "-a" "a62345d1b3335434c73be4279935e620360a9634d2efcab296004e3dc2139068", kill_on_drop: false }` [INFO] [stderr] Compiling simple-cli-parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "a62345d1b3335434c73be4279935e620360a9634d2efcab296004e3dc2139068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62345d1b3335434c73be4279935e620360a9634d2efcab296004e3dc2139068", kill_on_drop: false }` [INFO] [stdout] a62345d1b3335434c73be4279935e620360a9634d2efcab296004e3dc2139068 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9c988c94ee47284c2a2df0ad37fbf72a520c561b201db05d58bca5cb2eb7dd7 [INFO] running `Command { std: "docker" "start" "-a" "e9c988c94ee47284c2a2df0ad37fbf72a520c561b201db05d58bca5cb2eb7dd7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_cli_parser-489600384dfc6ecf) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::append_args ... ok [INFO] [stdout] test tests::test_parse_success ... ok [INFO] [stdout] test tests::test_parse_err ... ok [INFO] [stdout] test tests::create_arg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_cli_parser [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - Arg::new (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::add_arg (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - Arg (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::input (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::args (line 226) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::len (line 236) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::flag (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::new (line 187) ... FAILED [INFO] [stdout] test src/lib.rs - Parser (line 169) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::parse (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::param (line 120) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::short (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::add_args (line 210) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Arg::new (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | let arg = Arg::new(); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::add_arg (line 197) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | let arg = Arg::new().param("num"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 197 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 197 + use simple_cli_parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Arg (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | let arg = Arg::new().param("num"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 88 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 88 + use simple_cli_parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Arg::input (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | let arg = Arg::new().input("inp"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 131 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::args (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> src/lib.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | let args = parser.args(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::len (line 236) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let n = parser.len(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Arg::flag (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | let arg = Arg::new().flag("optional"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 142 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cli_parser` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cli_parser::{ Parser, Arg }; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `cli_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cli_parser`, use `cargo add cli_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::new (line 187) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 187 + use simple_cli_parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 169 + use simple_cli_parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | let arg = Arg::new().param("num"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 169 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::parse (line 250) stdout ---- [INFO] [stdout] error: no rules expected `;` [INFO] [stdout] --> src/lib.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | Arg::new().flag("help").short('h'); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] = note: while trying to match sequence start [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Arg::param (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | let arg = Arg::new().param("p1"); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 120 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Arg::short (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | let arg = Arg::new().flag("help").short('h'); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Parser::add_args (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | Arg::new().param("num1"), [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 210 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | Arg::new().param("num2"), [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 210 + use simple_cli_parser::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/lib.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 210 + use simple_cli_parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - Arg (line 88) [INFO] [stdout] src/lib.rs - Arg::flag (line 142) [INFO] [stdout] src/lib.rs - Arg::input (line 131) [INFO] [stdout] src/lib.rs - Arg::new (line 108) [INFO] [stdout] src/lib.rs - Arg::param (line 120) [INFO] [stdout] src/lib.rs - Arg::short (line 153) [INFO] [stdout] src/lib.rs - Parser (line 169) [INFO] [stdout] src/lib.rs - Parser::add_arg (line 197) [INFO] [stdout] src/lib.rs - Parser::add_args (line 210) [INFO] [stdout] src/lib.rs - Parser::args (line 226) [INFO] [stdout] src/lib.rs - Parser::len (line 236) [INFO] [stdout] src/lib.rs - Parser::new (line 187) [INFO] [stdout] src/lib.rs - Parser::parse (line 250) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.76s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9c988c94ee47284c2a2df0ad37fbf72a520c561b201db05d58bca5cb2eb7dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c988c94ee47284c2a2df0ad37fbf72a520c561b201db05d58bca5cb2eb7dd7", kill_on_drop: false }` [INFO] [stdout] e9c988c94ee47284c2a2df0ad37fbf72a520c561b201db05d58bca5cb2eb7dd7