[INFO] fetching crate cowmug 0.0.1... [INFO] testing cowmug-0.0.1 against 1.49.0 for beta-1.50-1 [INFO] extracting crate cowmug 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cowmug 0.0.1 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ba061e04929c399012f8044f350da359587172c67882365b6d6bdcc04c19969 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ba061e04929c399012f8044f350da359587172c67882365b6d6bdcc04c19969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ba061e04929c399012f8044f350da359587172c67882365b6d6bdcc04c19969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba061e04929c399012f8044f350da359587172c67882365b6d6bdcc04c19969", kill_on_drop: false }` [INFO] [stdout] 7ba061e04929c399012f8044f350da359587172c67882365b6d6bdcc04c19969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaaa27fdf116d8589d16db1c9c83d2230fd89250a19a56929f3149f5427c8458 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eaaa27fdf116d8589d16db1c9c83d2230fd89250a19a56929f3149f5427c8458", kill_on_drop: false }` [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 2.67s [INFO] running `Command { std: "docker" "inspect" "eaaa27fdf116d8589d16db1c9c83d2230fd89250a19a56929f3149f5427c8458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaaa27fdf116d8589d16db1c9c83d2230fd89250a19a56929f3149f5427c8458", kill_on_drop: false }` [INFO] [stdout] eaaa27fdf116d8589d16db1c9c83d2230fd89250a19a56929f3149f5427c8458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79779de6493e5f7723a43af8bc6883ec73b9b9e5c24e8fe1f6a2ed80f7fb30c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79779de6493e5f7723a43af8bc6883ec73b9b9e5c24e8fe1f6a2ed80f7fb30c9", kill_on_drop: false }` [INFO] [stderr] Compiling cowmug v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "79779de6493e5f7723a43af8bc6883ec73b9b9e5c24e8fe1f6a2ed80f7fb30c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79779de6493e5f7723a43af8bc6883ec73b9b9e5c24e8fe1f6a2ed80f7fb30c9", kill_on_drop: false }` [INFO] [stdout] 79779de6493e5f7723a43af8bc6883ec73b9b9e5c24e8fe1f6a2ed80f7fb30c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46e27619045d532a5d61270598b43cb14d955ac5ee45929f036f724a5879801a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46e27619045d532a5d61270598b43cb14d955ac5ee45929f036f724a5879801a", 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] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stdout] running 1 test [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cowmug-26b55afdee796f92 [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Doc-tests cowmug [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/question.rs - question::Question::add_choices (line 114) ... FAILED [INFO] [stdout] test src/question.rs - question::Question (line 8) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::question (line 39) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::add_choice (line 100) ... FAILED [INFO] [stdout] test src/prompt.rs - prompt::Prompt::exec (line 29) ... FAILED [INFO] [stdout] test src/question.rs - question::Question::index_answer (line 57) ... 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::add_choices (line 114) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:115:66 [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 | } [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 (line 8) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:9:66 [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 | } [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/question.rs - question::Question::question (line 39) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:40:66 [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 | } [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_choice (line 100) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:101:66 [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 | } [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/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::index_answer (line 57) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/question.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [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 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:59:66 [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 | } [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::string_answer (line 78) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/question.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [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 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/question.rs:80:66 [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 | } [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "46e27619045d532a5d61270598b43cb14d955ac5ee45929f036f724a5879801a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e27619045d532a5d61270598b43cb14d955ac5ee45929f036f724a5879801a", kill_on_drop: false }` [INFO] [stdout] 46e27619045d532a5d61270598b43cb14d955ac5ee45929f036f724a5879801a