[INFO] fetching crate simple-cli-parser 0.1.1... [INFO] testing simple-cli-parser-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate simple-cli-parser 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate simple-cli-parser 0.1.1 [INFO] finished tweaking crates.io crate simple-cli-parser 0.1.1 [INFO] tweaked toml for crates.io crate simple-cli-parser 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simple-cli-parser 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple-cli-parser 0.1.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab47670250bd99ca38724db852533e4b5db62ba37efb1b830cd89c51ce97f451 [INFO] running `Command { std: "docker" "start" "-a" "ab47670250bd99ca38724db852533e4b5db62ba37efb1b830cd89c51ce97f451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab47670250bd99ca38724db852533e4b5db62ba37efb1b830cd89c51ce97f451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab47670250bd99ca38724db852533e4b5db62ba37efb1b830cd89c51ce97f451", kill_on_drop: false }` [INFO] [stdout] ab47670250bd99ca38724db852533e4b5db62ba37efb1b830cd89c51ce97f451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed769cecbd6209354120851f922e3abb78c27497716ac8620ee2a0b0783758c2 [INFO] running `Command { std: "docker" "start" "-a" "ed769cecbd6209354120851f922e3abb78c27497716ac8620ee2a0b0783758c2", 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.25s [INFO] running `Command { std: "docker" "inspect" "ed769cecbd6209354120851f922e3abb78c27497716ac8620ee2a0b0783758c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed769cecbd6209354120851f922e3abb78c27497716ac8620ee2a0b0783758c2", kill_on_drop: false }` [INFO] [stdout] ed769cecbd6209354120851f922e3abb78c27497716ac8620ee2a0b0783758c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0769019c4266e3d2a5f1750ceb92b39b8fa10954d8ae1ee26b19dc96065319 [INFO] running `Command { std: "docker" "start" "-a" "7b0769019c4266e3d2a5f1750ceb92b39b8fa10954d8ae1ee26b19dc96065319", 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.61s [INFO] running `Command { std: "docker" "inspect" "7b0769019c4266e3d2a5f1750ceb92b39b8fa10954d8ae1ee26b19dc96065319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0769019c4266e3d2a5f1750ceb92b39b8fa10954d8ae1ee26b19dc96065319", kill_on_drop: false }` [INFO] [stdout] 7b0769019c4266e3d2a5f1750ceb92b39b8fa10954d8ae1ee26b19dc96065319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6670f8e1f04da6acc927f827e3a2ae37cbbbfa609f8eb12b0aed73b2ce30efe [INFO] running `Command { std: "docker" "start" "-a" "c6670f8e1f04da6acc927f827e3a2ae37cbbbfa609f8eb12b0aed73b2ce30efe", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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::create_arg ... ok [INFO] [stdout] test tests::test_parse_success ... ok [INFO] [stdout] test tests::test_parse_err ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_cli_parser [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - Parser::parse (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::flag (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::short (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::new (line 187) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::new (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::len (line 236) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Arg (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - Parser (line 169) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::input (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::add_args (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::add_arg (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - Parser::args (line 226) ... FAILED [INFO] [stdout] test src/lib.rs - Arg::param (line 120) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 7 | 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::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] 3 | 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] 2 + 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] 3 | 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] 2 + 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::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] 3 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 3 | let arg = Arg::new(); [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 3 | 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 - (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cli_parser` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 - 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] 3 | 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] 2 + 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] 4 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 3 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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] 2 + 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 - 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] 3 | 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] 2 + 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] 4 | Arg::new().param("num1"), [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | Arg::new().param("num2"), [INFO] [stdout] | ^^^ use of undeclared type `Arg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 7 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] ---- 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] 3 | 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] 2 + 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] 4 | let parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 3 | 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 - 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] 3 | 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] 2 + 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] [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.69s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.74s; merged doctests compilation took 0.05s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c6670f8e1f04da6acc927f827e3a2ae37cbbbfa609f8eb12b0aed73b2ce30efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6670f8e1f04da6acc927f827e3a2ae37cbbbfa609f8eb12b0aed73b2ce30efe", kill_on_drop: false }` [INFO] [stdout] c6670f8e1f04da6acc927f827e3a2ae37cbbbfa609f8eb12b0aed73b2ce30efe