[INFO] fetching crate cowmug 0.0.1... [INFO] testing cowmug-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cowmug 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cowmug 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cowmug 0.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cowmug 0.0.1 [INFO] tweaked toml for crates.io crate cowmug 0.0.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate cowmug 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01362838887cdaa973a8f4d04b03200ced9d7d32ccca540e5cb4e947d3516a45 [INFO] running `Command { std: "docker" "start" "-a" "01362838887cdaa973a8f4d04b03200ced9d7d32ccca540e5cb4e947d3516a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01362838887cdaa973a8f4d04b03200ced9d7d32ccca540e5cb4e947d3516a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01362838887cdaa973a8f4d04b03200ced9d7d32ccca540e5cb4e947d3516a45", kill_on_drop: false }` [INFO] [stdout] 01362838887cdaa973a8f4d04b03200ced9d7d32ccca540e5cb4e947d3516a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b22763e5fcfd39db96a4f795c7e489065d25761b2dd40476c523b44bb141515 [INFO] running `Command { std: "docker" "start" "-a" "1b22763e5fcfd39db96a4f795c7e489065d25761b2dd40476c523b44bb141515", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling cowmug v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "1b22763e5fcfd39db96a4f795c7e489065d25761b2dd40476c523b44bb141515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b22763e5fcfd39db96a4f795c7e489065d25761b2dd40476c523b44bb141515", kill_on_drop: false }` [INFO] [stdout] 1b22763e5fcfd39db96a4f795c7e489065d25761b2dd40476c523b44bb141515 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6b4de35068b87d8aacc374208ca90f3f7c988f6740d528240b198a679e877e [INFO] running `Command { std: "docker" "start" "-a" "2f6b4de35068b87d8aacc374208ca90f3f7c988f6740d528240b198a679e877e", kill_on_drop: false }` [INFO] [stderr] Compiling cowmug v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cowmug-355544b6fef1ff12) [INFO] running `Command { std: "docker" "inspect" "2f6b4de35068b87d8aacc374208ca90f3f7c988f6740d528240b198a679e877e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6b4de35068b87d8aacc374208ca90f3f7c988f6740d528240b198a679e877e", kill_on_drop: false }` [INFO] [stdout] 2f6b4de35068b87d8aacc374208ca90f3f7c988f6740d528240b198a679e877e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 035b0c93f6425d0a97bf1c2f8692c89792c547d680ae5f26749ef63907e0183c [INFO] running `Command { std: "docker" "start" "-a" "035b0c93f6425d0a97bf1c2f8692c89792c547d680ae5f26749ef63907e0183c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cowmug-355544b6fef1ff12) [INFO] [stderr] Doc-tests cowmug [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/question.rs - question::Question::index_answer (line 57) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::add_choices (line 114) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::question (line 39) ... FAILED [INFO] [stdout] test src/question.rs - question::Question (line 8) ... FAILED [INFO] [stdout] test src/prompt.rs - prompt::Prompt::exec (line 29) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::add_choice (line 100) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::string_answer (line 78) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/question.rs - question::Question::index_answer (line 57) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/question.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_question_rs_57_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 3 | let mut list_questions: Vec = Vec::new(); [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 12 | } _doctest_main_src_question_rs_57_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 12 | } _doctest_main_src_question_rs_57_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Question` in this scope [INFO] [stdout] --> src/question.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 3 | let mut list_questions: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prompt` in this scope [INFO] [stdout] --> src/question.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 9 | prompt.exec(&mut list_questions).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/question.rs - question::Question::add_choices (line 114) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 10 | } _doctest_main_src_question_rs_114_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [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/question.rs - question::Question::question (line 39) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 5 | } _doctest_main_src_question_rs_39_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [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/question.rs - question::Question (line 8) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 7 | } _doctest_main_src_question_rs_8_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [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/prompt.rs - prompt::Prompt::exec (line 29) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Question` in this scope [INFO] [stdout] --> src/prompt.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 3 | let mut list_questions: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/prompt.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut pizza_size = Question::new(String::from("Choose the size of your pizza: ")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/prompt.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 10 | let mut pizza_flavor = Question::new(String::from("Choose pizza:")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Prompt` [INFO] [stdout] --> src/prompt.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 19 | let mut prompt = Prompt::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Prompt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/prompt.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut choices_is_correct = Question::new(format!( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/question.rs - question::Question::add_choice (line 100) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 7 | } _doctest_main_src_question_rs_100_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [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/question.rs - question::Question::string_answer (line 78) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/question.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_question_rs_78_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 3 | let mut list_questions: Vec = Vec::new(); [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 12 | } _doctest_main_src_question_rs_78_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^ unclosed delimiter ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/question.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 12 | } _doctest_main_src_question_rs_78_0() } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Question` in this scope [INFO] [stdout] --> src/question.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 3 | let mut list_questions: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Question` [INFO] [stdout] --> src/question.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 4 | let mut question = Question::new(String::from("choose a color: "); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cowmug::Question; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prompt` in this scope [INFO] [stdout] --> src/question.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 9 | prompt.exec(&mut list_questions).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/prompt.rs - prompt::Prompt::exec (line 29) [INFO] [stdout] src/question.rs - question::Question (line 8) [INFO] [stdout] src/question.rs - question::Question::add_choice (line 100) [INFO] [stdout] src/question.rs - question::Question::add_choices (line 114) [INFO] [stdout] src/question.rs - question::Question::index_answer (line 57) [INFO] [stdout] src/question.rs - question::Question::question (line 39) [INFO] [stdout] src/question.rs - question::Question::string_answer (line 78) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "035b0c93f6425d0a97bf1c2f8692c89792c547d680ae5f26749ef63907e0183c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035b0c93f6425d0a97bf1c2f8692c89792c547d680ae5f26749ef63907e0183c", kill_on_drop: false }` [INFO] [stdout] 035b0c93f6425d0a97bf1c2f8692c89792c547d680ae5f26749ef63907e0183c