[INFO] fetching crate cowmug 0.0.1... [INFO] testing cowmug-0.0.1 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c16cbdeec450757c322fd9100c7b499ae2ec98bcb5c1d0b9b9d43b3e2f2d6794 [INFO] running `Command { std: "docker" "start" "-a" "c16cbdeec450757c322fd9100c7b499ae2ec98bcb5c1d0b9b9d43b3e2f2d6794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c16cbdeec450757c322fd9100c7b499ae2ec98bcb5c1d0b9b9d43b3e2f2d6794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16cbdeec450757c322fd9100c7b499ae2ec98bcb5c1d0b9b9d43b3e2f2d6794", kill_on_drop: false }` [INFO] [stdout] c16cbdeec450757c322fd9100c7b499ae2ec98bcb5c1d0b9b9d43b3e2f2d6794 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b59853a670ae1c5c1d7f522ec7f8c279010d624849a8ad748db70797112419d2 [INFO] running `Command { std: "docker" "start" "-a" "b59853a670ae1c5c1d7f522ec7f8c279010d624849a8ad748db70797112419d2", 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.22s [INFO] running `Command { std: "docker" "inspect" "b59853a670ae1c5c1d7f522ec7f8c279010d624849a8ad748db70797112419d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59853a670ae1c5c1d7f522ec7f8c279010d624849a8ad748db70797112419d2", kill_on_drop: false }` [INFO] [stdout] b59853a670ae1c5c1d7f522ec7f8c279010d624849a8ad748db70797112419d2 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f040d9a3af91c92ed9ccf8140a06812fe6669ad781a923df134ce69e24743a3 [INFO] running `Command { std: "docker" "start" "-a" "0f040d9a3af91c92ed9ccf8140a06812fe6669ad781a923df134ce69e24743a3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cowmug v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "0f040d9a3af91c92ed9ccf8140a06812fe6669ad781a923df134ce69e24743a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f040d9a3af91c92ed9ccf8140a06812fe6669ad781a923df134ce69e24743a3", kill_on_drop: false }` [INFO] [stdout] 0f040d9a3af91c92ed9ccf8140a06812fe6669ad781a923df134ce69e24743a3 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74c7a071c19cc424d5043f5df7be02d15896cee26038d8d9b6f83f590cf3dd73 [INFO] running `Command { std: "docker" "start" "-a" "74c7a071c19cc424d5043f5df7be02d15896cee26038d8d9b6f83f590cf3dd73", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cowmug-899354e79cd0ae01) [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] [stderr] Doc-tests cowmug [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/question.rs - question::Question::add_choice (line 100) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::question (line 39) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::add_choices (line 114) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::index_answer (line 57) ... 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] [stderr] error: test failed, to rerun pass '--doc' [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::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::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::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::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 (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::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.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "74c7a071c19cc424d5043f5df7be02d15896cee26038d8d9b6f83f590cf3dd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c7a071c19cc424d5043f5df7be02d15896cee26038d8d9b6f83f590cf3dd73", kill_on_drop: false }` [INFO] [stdout] 74c7a071c19cc424d5043f5df7be02d15896cee26038d8d9b6f83f590cf3dd73