fixed workflow rust setup #4
157 tests run, 18 passed, 5 skipped, 134 failed.
Annotations
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.aggregate_data_sect_aggregate_data_line_7
failed ::aggregate_data_sect_aggregate_data_line_7
Raw output
error[E0432]: unresolved import `postgres`
--> /tmp/rust-skepticJWb0vA/test.rs:2:5
|
2 | use postgres::{Client, Error, NoTls};
| ^^^^^^^^ use of undeclared crate or module `postgres`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'aggregate_data_sect_aggregate_data_line_7' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticJWb0vA/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticJWb0vA/out.exe.d,metadata=/tmp/rust-skepticJWb0vA/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::aggregate_data_sect_aggregate_data_line_7
6: skeptic::aggregate_data_sect_aggregate_data_line_7::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.about_sect_how_to_use_the_recipes_line_59
failed ::about_sect_how_to_use_the_recipes_line_59
Raw output
error[E0432]: unresolved import `rand`
--> /tmp/rust-skepticp5cbHH/test.rs:2:5
|
2 | use rand::Rng;
| ^^^^ use of undeclared crate or module `rand`
error[E0433]: failed to resolve: use of undeclared crate or module `rand`
--> /tmp/rust-skepticp5cbHH/test.rs:5:19
|
5 | let mut rng = rand::thread_rng();
| ^^^^ use of undeclared crate or module `rand`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
thread 'about_sect_how_to_use_the_recipes_line_59' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticp5cbHH/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticp5cbHH/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::about_sect_how_to_use_the_recipes_line_59
6: skeptic::about_sect_how_to_use_the_recipes_line_59::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.add_complex_sect_adding_complex_numbers_line_9
failed ::add_complex_sect_adding_complex_numbers_line_9
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `num`
--> /tmp/rust-skepticGsMM2o/test.rs:3:24
|
3 | let complex_num1 = num::complex::Complex::new(10.0, 20.0); // Must use floats
| ^^^ use of undeclared crate or module `num`
error[E0433]: failed to resolve: use of undeclared crate or module `num`
--> /tmp/rust-skepticGsMM2o/test.rs:4:24
|
4 | let complex_num2 = num::complex::Complex::new(3.1, -4.2);
| ^^^ use of undeclared crate or module `num`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.
thread 'add_complex_sect_adding_complex_numbers_line_9' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticGsMM2o/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticGsMM2o/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::add_complex_sect_adding_complex_numbers_line_9
6: skeptic::add_complex_sect_adding_complex_numbers_line_9::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.add_matrices_sect_adding_matrices_line_8
failed ::add_matrices_sect_adding_matrices_line_8
Raw output
error[E0432]: unresolved import `ndarray`
--> /tmp/rust-skepticqGnsgY/test.rs:2:5
|
2 | use ndarray::arr2;
| ^^^^^^^ use of undeclared crate or module `ndarray`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'add_matrices_sect_adding_matrices_line_8' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticqGnsgY/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticqGnsgY/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::add_matrices_sect_adding_matrices_line_8
6: skeptic::add_matrices_sect_adding_matrices_line_8::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.ansi_term_basic_sect_ansi_terminal_line_13
failed ::ansi_term_basic_sect_ansi_terminal_line_13
Raw output
error[E0432]: unresolved import `ansi_term`
--> /tmp/rust-skeptic6vka1y/test.rs:2:5
|
2 | use ansi_term::Colour;
| ^^^^^^^^^ use of undeclared crate or module `ansi_term`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'ansi_term_basic_sect_ansi_terminal_line_13' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic6vka1y/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic6vka1y/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::ansi_term_basic_sect_ansi_terminal_line_13
6: skeptic::ansi_term_basic_sect_ansi_terminal_line_13::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.ansi_term_basic_sect_ansi_terminal_line_30
failed ::ansi_term_basic_sect_ansi_terminal_line_30
Raw output
error[E0432]: unresolved import `ansi_term`
--> /tmp/rust-skeptic5wcQQj/test.rs:2:5
|
2 | use ansi_term::Style;
| ^^^^^^^^^ use of undeclared crate or module `ansi_term`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'ansi_term_basic_sect_ansi_terminal_line_30' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic5wcQQj/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic5wcQQj/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::ansi_term_basic_sect_ansi_terminal_line_30
6: skeptic::ansi_term_basic_sect_ansi_terminal_line_30::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.ansi_term_basic_sect_ansi_terminal_line_42
failed ::ansi_term_basic_sect_ansi_terminal_line_42
Raw output
error[E0432]: unresolved import `ansi_term`
--> /tmp/rust-skeptic9SKLW1/test.rs:2:5
|
2 | use ansi_term::Colour;
| ^^^^^^^^^ use of undeclared crate or module `ansi_term`
error[E0432]: unresolved import `ansi_term`
--> /tmp/rust-skeptic9SKLW1/test.rs:3:5
|
3 | use ansi_term::Style;
| ^^^^^^^^^ use of undeclared crate or module `ansi_term`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0432`.
thread 'ansi_term_basic_sect_ansi_terminal_line_42' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic9SKLW1/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic9SKLW1/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::ansi_term_basic_sect_ansi_terminal_line_42
6: skeptic::ansi_term_basic_sect_ansi_terminal_line_42::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.backtrace_sect_obtain_backtrace_of_complex_error_scenarios_line_14
failed ::backtrace_sect_obtain_backtrace_of_complex_error_scenarios_line_14
Raw output
error[E0432]: unresolved import `error_chain`
--> /tmp/rust-skepticWWDkOc/test.rs:2:5
|
2 | use error_chain::error_chain;
| ^^^^^^^^^^^ use of undeclared crate or module `error_chain`
error[E0432]: unresolved import `serde`
--> /tmp/rust-skepticWWDkOc/test.rs:4:5
|
4 | use serde::Deserialize;
| ^^^^^ use of undeclared crate or module `serde`
error[E0433]: failed to resolve: use of undeclared crate or module `csv`
--> /tmp/rust-skepticWWDkOc/test.rs:40:26
|
40 | let color: Rgb = csv::Reader::from_reader(csv_data)
| ^^^ use of undeclared crate or module `csv`
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticWWDkOc/test.rs:72:13
|
72 | fn run() -> Result<()> {
| ^^^^^^ -- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
72 | fn run() -> Result<(), E> {
| +++
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticWWDkOc/test.rs:38:40
|
38 | fn from_reader(csv_data: &[u8]) -> Result<Rgb> {
| ^^^^^^ --- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
38 | fn from_reader(csv_data: &[u8]) -> Result<Rgb, E> {
| +++
error: aborting due to 5 previous errors
Some errors have detailed explanations: E0107, E0432, E0433.
For more information about an error, try `rustc --explain E0107`.
thread 'backtrace_sect_obtain_backtrace_of_complex_error_scenarios_line_14' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticWWDkOc/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticWWDkOc/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::backtrace_sect_obtain_backtrace_of_complex_error_scenarios_line_14
6: skeptic::backtrace_sect_obtain_backtrace_of_complex_error_scenarios_line_14::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.base64_sect_encode_and_decode_base64_line_8
failed ::base64_sect_encode_and_decode_base64_line_8
Raw output
error[E0432]: unresolved import `error_chain`
--> /tmp/rust-skepticbs5pXV/test.rs:2:5
|
2 | use error_chain::error_chain;
| ^^^^^^^^^^^ use of undeclared crate or module `error_chain`
error[E0432]: unresolved import `base64`
--> /tmp/rust-skepticbs5pXV/test.rs:5:5
|
5 | use base64::{encode, decode};
| ^^^^^^ use of undeclared crate or module `base64`
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticbs5pXV/test.rs:14:14
|
14 | fn main() -> Result<()> {
| ^^^^^^ -- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
14 | fn main() -> Result<(), E> {
| +++
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0107, E0432.
For more information about an error, try `rustc --explain E0107`.
thread 'base64_sect_encode_and_decode_base64_line_8' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticbs5pXV/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticbs5pXV/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::base64_sect_encode_and_decode_base64_line_8
6: skeptic::base64_sect_encode_and_decode_base64_line_8::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.base_sect_create_a_base_url_by_removing_path_segments_line_10
failed ::base_sect_create_a_base_url_by_removing_path_segments_line_10
Raw output
error[E0432]: unresolved import `error_chain`
--> /tmp/rust-skepticGoVeZ3/test.rs:2:5
|
2 | use error_chain::error_chain;
| ^^^^^^^^^^^ use of undeclared crate or module `error_chain`
error[E0432]: unresolved import `url`
--> /tmp/rust-skepticGoVeZ3/test.rs:5:5
|
5 | use url::Url;
| ^^^ use of undeclared crate or module `url`
error[E0433]: failed to resolve: use of undeclared type `Error`
--> /tmp/rust-skepticGoVeZ3/test.rs:58:24
|
58 | return Err(Error::from_kind(ErrorKind::CannotBeABase));
| ^^^^^ use of undeclared type `Error`
|
help: consider importing one of these items
|
2 + use std::error::Error;
|
2 + use std::fmt::Error;
|
2 + use std::io::Error;
|
2 + use core::error::Error;
|
and 1 other candidate
error[E0433]: failed to resolve: use of undeclared type `ErrorKind`
--> /tmp/rust-skepticGoVeZ3/test.rs:58:41
|
58 | return Err(Error::from_kind(ErrorKind::CannotBeABase));
| ^^^^^^^^^ use of undeclared type `ErrorKind`
|
help: consider importing this enum
|
2 + use std::io::ErrorKind;
|
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticGoVeZ3/test.rs:26:14
|
26 | fn main() -> Result<()> {
| ^^^^^^ -- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
26 | fn main() -> Result<(), E> {
| +++
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticGoVeZ3/test.rs:46:30
|
46 | fn base_url(mut url: Url) -> Result<Url> {
| ^^^^^^ --- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
46 | fn base_url(mut url: Url) -> Result<Url, E> {
| +++
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0107, E0432, E0433.
For more information about an error, try `rustc --explain E0107`.
thread 'base_sect_create_a_base_url_by_removing_path_segments_line_10' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticGoVeZ3/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticGoVeZ3/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::base_sect_create_a_base_url_by_removing_path_segments_line_10
6: skeptic::base_sect_create_a_base_url_by_removing_path_segments_line_10::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.basic_sect_basic_authentication_line_7
failed ::basic_sect_basic_authentication_line_7
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `reqwest`
--> /tmp/rust-skepticLv8JzK/test.rs:2:5
|
2 | use reqwest::blocking::Client;
| ^^^^^^^ use of undeclared crate or module `reqwest`
error[E0432]: unresolved import `reqwest`
--> /tmp/rust-skepticLv8JzK/test.rs:4:5
|
4 | use reqwest::Error;
| ^^^^^^^ use of undeclared crate or module `reqwest`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
thread 'basic_sect_basic_authentication_line_7' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticLv8JzK/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticLv8JzK/out.exe.d,metadata=/tmp/rust-skepticLv8JzK/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::basic_sect_basic_authentication_line_7
6: skeptic::basic_sect_basic_authentication_line_7::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.basic_sect_download_a_file_to_a_temporary_directory_line_12
failed ::basic_sect_download_a_file_to_a_temporary_directory_line_12
Raw output
error[E0432]: unresolved import `error_chain`
--> /tmp/rust-skepticeUHgjc/test.rs:2:5
|
2 | use error_chain::error_chain;
| ^^^^^^^^^^^ use of undeclared crate or module `error_chain`
error[E0432]: unresolved import `tempfile`
--> /tmp/rust-skepticeUHgjc/test.rs:8:5
|
8 | use tempfile::Builder;
| ^^^^^^^^ use of undeclared crate or module `tempfile`
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> /tmp/rust-skepticeUHgjc/test.rs:24:3
|
24 | #[tokio::main]
| ^^^^^ use of undeclared crate or module `tokio`
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
--> /tmp/rust-skepticeUHgjc/test.rs:26:20
|
26 | async fn main() -> Result<()> {
| ^^^^^^ -- supplied 1 generic argument
| |
| expected 2 generic arguments
|
help: add missing generic argument
|
26 | async fn main() -> Result<(), E> {
| +++
error[E0433]: failed to resolve: use of undeclared crate or module `reqwest`
--> /tmp/rust-skepticeUHgjc/test.rs:32:20
|
32 | let response = reqwest::get(target).await?;
| ^^^^^^^ use of undeclared crate or module `reqwest`
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> /tmp/rust-skepticeUHgjc/test.rs:60:9
|
60 | let content = response.bytes().await?;
| ^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u8]`
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> /tmp/rust-skepticeUHgjc/test.rs:60:20
|
60 | let content = response.bytes().await?;
| ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u8]`
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> /tmp/rust-skepticeUHgjc/test.rs:60:42
|
60 | let content = response.bytes().await?;
| ^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u8]`
note: required by a bound in `Break`
--> /rustc/824759493246ee383beb9cd5ceffa0e15deb9fa4/library/core/src/ops/control_flow.rs:94:5
error[E0752]: `main` function is not allowed to be `async`
--> /tmp/rust-skepticeUHgjc/test.rs:26:1
|
26 | async fn main() -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
error: aborting due to 9 previous errors
Some errors have detailed explanations: E0107, E0277, E0432, E0433, E0752.
For more information about an error, try `rustc --explain E0107`.
thread 'basic_sect_download_a_file_to_a_temporary_directory_line_12' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticeUHgjc/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticeUHgjc/out.exe.d,metadata=/tmp/rust-skepticeUHgjc/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::basic_sect_download_a_file_to_a_temporary_directory_line_12
6: skeptic::basic_sect_download_a_file_to_a_temporary_directory_line_12::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.big_integers_sect_big_integers_line_7
failed ::big_integers_sect_big_integers_line_7
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `num`
--> /tmp/rust-skepticA5J1wL/test.rs:2:5
|
2 | use num::bigint::{BigInt, ToBigInt};
| ^^^ use of undeclared crate or module `num`
error[E0599]: no method named `to_bigint` found for type `{integer}` in the current scope
--> /tmp/rust-skepticA5J1wL/test.rs:5:36
|
5 | if let Some(mut factorial) = 1.to_bigint() {
| ^^^^^^^^^ method not found in `{integer}`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
thread 'big_integers_sect_big_integers_line_7' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticA5J1wL/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticA5J1wL/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::big_integers_sect_big_integers_line_7
6: skeptic::big_integers_sect_big_integers_line_7::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.bitfield_sect_define_and_operate_on_a_type_represented_as_a_bitfield_line_9
failed ::bitfield_sect_define_and_operate_on_a_type_represented_as_a_bitfield_line_9
Raw output
error[E0432]: unresolved import `bitflags`
--> /tmp/rust-skeptic8YcChB/test.rs:2:5
|
2 | use bitflags::bitflags;
| ^^^^^^^^ use of undeclared crate or module `bitflags`
error[E0412]: cannot find type `MyFlags` in this scope
--> /tmp/rust-skeptic8YcChB/test.rs:16:6
|
16 | impl MyFlags {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `MyFlags` in this scope
--> /tmp/rust-skeptic8YcChB/test.rs:17:37
|
17 | pub fn clear(&mut self) -> &mut MyFlags {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `MyFlags` in this scope
--> /tmp/rust-skeptic8YcChB/test.rs:23:23
|
23 | impl fmt::Display for MyFlags {
| ^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:30:14
|
30 | let e1 = MyFlags::FLAG_A | MyFlags::FLAG_C;
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:30:32
|
30 | let e1 = MyFlags::FLAG_A | MyFlags::FLAG_C;
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:31:14
|
31 | let e2 = MyFlags::FLAG_B | MyFlags::FLAG_C;
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:31:32
|
31 | let e2 = MyFlags::FLAG_B | MyFlags::FLAG_C;
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:32:27
|
32 | assert_eq!((e1 | e2), MyFlags::FLAG_ABC);
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:33:27
|
33 | assert_eq!((e1 & e2), MyFlags::FLAG_C);
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:34:27
|
34 | assert_eq!((e1 - e2), MyFlags::FLAG_A);
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:35:21
|
35 | assert_eq!(!e2, MyFlags::FLAG_A);
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:37:21
|
37 | let mut flags = MyFlags::FLAG_ABC;
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:40:32
|
40 | assert_eq!(format!("{:?}", MyFlags::FLAG_B), "FLAG_B");
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:41:32
|
41 | assert_eq!(format!("{:?}", MyFlags::FLAG_A | MyFlags::FLAG_B), "FLAG_A | FLAG_B");
| ^^^^^^^ use of undeclared type `MyFlags`
error[E0433]: failed to resolve: use of undeclared type `MyFlags`
--> /tmp/rust-skeptic8YcChB/test.rs:41:50
|
41 | assert_eq!(format!("{:?}", MyFlags::FLAG_A | MyFlags::FLAG_B), "FLAG_A | FLAG_B");
| ^^^^^^^ use of undeclared type `MyFlags`
error: aborting due to 16 previous errors
Some errors have detailed explanations: E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
thread 'bitfield_sect_define_and_operate_on_a_type_represented_as_a_bitfield_line_9' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic8YcChB/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic8YcChB/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::bitfield_sect_define_and_operate_on_a_type_represented_as_a_bitfield_line_9
6: skeptic::bitfield_sect_define_and_operate_on_a_type_represented_as_a_bitfield_line_9::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.broken_sect_check_a_webpage_for_broken_links_line_14
failed ::broken_sect_check_a_webpage_for_broken_links_line_14
Raw output
error: expected item, found `{`
--> /tmp/rust-skepticIq5cz2/test.rs:4:3
|
4 | {{#include ../../../crates/web/src/broken.rs}}
| ^ expected item
|
= note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
error: aborting due to 1 previous error
thread 'broken_sect_check_a_webpage_for_broken_links_line_14' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticIq5cz2/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticIq5cz2/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::broken_sect_check_a_webpage_for_broken_links_line_14
6: skeptic::broken_sect_check_a_webpage_for_broken_links_line_14::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.cc_bundled_cpp_sect_compile_and_link_statically_to_a_bundled_c_library_line_21
failed ::cc_bundled_cpp_sect_compile_and_link_statically_to_a_bundled_c_library_line_21
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `cc`
--> /tmp/rust-skepticpE0iMC/test.rs:3:5
|
3 | cc::Build::new()
| ^^ use of undeclared crate or module `cc`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.
thread 'cc_bundled_cpp_sect_compile_and_link_statically_to_a_bundled_c_library_line_21' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticpE0iMC/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticpE0iMC/out.exe.d,metadata=/tmp/rust-skepticpE0iMC/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::cc_bundled_cpp_sect_compile_and_link_statically_to_a_bundled_c_library_line_21
6: skeptic::cc_bundled_cpp_sect_compile_and_link_statically_to_a_bundled_c_library_line_21::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.cc_bundled_static_sect_compile_and_link_statically_to_a_bundled_c_library_line_33
failed ::cc_bundled_static_sect_compile_and_link_statically_to_a_bundled_c_library_line_33
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `cc`
--> /tmp/rust-skepticOGx7ez/test.rs:3:5
|
3 | cc::Build::new()
| ^^ use of undeclared crate or module `cc`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.
thread 'cc_bundled_static_sect_compile_and_link_statically_to_a_bundled_c_library_line_33' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticOGx7ez/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticOGx7ez/out.exe.d,metadata=/tmp/rust-skepticOGx7ez/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::cc_bundled_static_sect_compile_and_link_statically_to_a_bundled_c_library_line_33
6: skeptic::cc_bundled_static_sect_compile_and_link_statically_to_a_bundled_c_library_line_33::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.cc_defines_sect_compile_a_c_library_while_setting_custom_defines_line_26
failed ::cc_defines_sect_compile_a_c_library_while_setting_custom_defines_line_26
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `cc`
--> /tmp/rust-skepticuSsLTd/test.rs:3:5
|
3 | cc::Build::new()
| ^^ use of undeclared crate or module `cc`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.
thread 'cc_defines_sect_compile_a_c_library_while_setting_custom_defines_line_26' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticuSsLTd/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticuSsLTd/out.exe.d,metadata=/tmp/rust-skepticuSsLTd/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::cc_defines_sect_compile_a_c_library_while_setting_custom_defines_line_26
6: skeptic::cc_defines_sect_compile_a_c_library_while_setting_custom_defines_line_26::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.checked_sect_perform_checked_date_and_time_calculations_line_13
failed ::checked_sect_perform_checked_date_and_time_calculations_line_13
Raw output
error[E0432]: unresolved import `chrono`
--> /tmp/rust-skepticJSR3ZI/test.rs:2:5
|
2 | use chrono::{DateTime, Duration, Utc};
| ^^^^^^ use of undeclared crate or module `chrono`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'checked_sect_perform_checked_date_and_time_calculations_line_13' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticJSR3ZI/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticJSR3ZI/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::checked_sect_perform_checked_date_and_time_calculations_line_13
6: skeptic::checked_sect_perform_checked_date_and_time_calculations_line_13::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.clap_basic_sect_parse_command_line_arguments_line_25
failed ::clap_basic_sect_parse_command_line_arguments_line_25
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `clap`
--> /tmp/rust-skeptic2x8AYv/test.rs:4:5
|
4 | use clap::{Arg, Command, builder::PathBufValueParser};
| ^^^^ use of undeclared crate or module `clap`
error[E0432]: unresolved import `clap`
--> /tmp/rust-skeptic2x8AYv/test.rs:4:5
|
4 | use clap::{Arg, Command, builder::PathBufValueParser};
| ^^^^ use of undeclared crate or module `clap`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
thread 'clap_basic_sect_parse_command_line_arguments_line_25' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic2x8AYv/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic2x8AYv/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::clap_basic_sect_parse_command_line_arguments_line_25
6: skeptic::clap_basic_sect_parse_command_line_arguments_line_25::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.cpu_count_sect_check_number_of_logical_cpu_cores_line_7
failed ::cpu_count_sect_check_number_of_logical_cpu_cores_line_7
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `num_cpus`
--> /tmp/rust-skepticbLPwah/test.rs:3:47
|
3 | println!("Number of logical cores is {}", num_cpus::get());
| ^^^^^^^^ use of undeclared crate or module `num_cpus`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.
thread 'cpu_count_sect_check_number_of_logical_cpu_cores_line_7' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticbLPwah/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticbLPwah/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::cpu_count_sect_check_number_of_logical_cpu_cores_line_7
6: skeptic::cpu_count_sect_check_number_of_logical_cpu_cores_line_7::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.create_complex_sect_creating_complex_numbers_line_8
failed ::create_complex_sect_creating_complex_numbers_line_8
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `num`
--> /tmp/rust-skeptic0w5aZY/test.rs:3:27
|
3 | let complex_integer = num::complex::Complex::new(10, 20);
| ^^^ use of undeclared crate or module `num`
error[E0433]: failed to resolve: use of undeclared crate or module `num`
--> /tmp/rust-skeptic0w5aZY/test.rs:4:25
|
4 | let complex_float = num::complex::Complex::new(10.1, 20.1);
| ^^^ use of undeclared crate or module `num`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.
thread 'create_complex_sect_creating_complex_numbers_line_8' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skeptic0w5aZY/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skeptic0w5aZY/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::create_complex_sect_creating_complex_numbers_line_8
6: skeptic::create_complex_sect_creating_complex_numbers_line_8::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.create_tables_sect_create_tables_in_a_postgres_database_line_9
failed ::create_tables_sect_create_tables_in_a_postgres_database_line_9
Raw output
error[E0432]: unresolved import `postgres`
--> /tmp/rust-skepticpdv0J1/test.rs:2:5
|
2 | use postgres::{Client, NoTls, Error};
| ^^^^^^^^ use of undeclared crate or module `postgres`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
thread 'create_tables_sect_create_tables_in_a_postgres_database_line_9' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticpdv0J1/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "--emit=dep-info=/tmp/rust-skepticpdv0J1/out.exe.d,metadata=/tmp/rust-skepticpdv0J1/out.exe.m"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::compile_test
5: skeptic::create_tables_sect_create_tables_in_a_postgres_database_line_9
6: skeptic::create_tables_sect_create_tables_in_a_postgres_database_line_9::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.crossbeam_complex_sect_create_a_parallel_pipeline_line_27
failed ::crossbeam_complex_sect_create_a_parallel_pipeline_line_27
Raw output
error[E0432]: unresolved import `crossbeam_channel`
--> /tmp/rust-skepticUVLCCT/test.rs:4:5
|
4 | use crossbeam_channel::bounded;
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `crossbeam_channel`
error[E0433]: failed to resolve: use of undeclared crate or module `crossbeam`
--> /tmp/rust-skepticUVLCCT/test.rs:12:5
|
12 | crossbeam::scope(|s| {
| ^^^^^^^^^ use of undeclared crate or module `crossbeam`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
thread 'crossbeam_complex_sect_create_a_parallel_pipeline_line_27' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticUVLCCT/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticUVLCCT/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::crossbeam_complex_sect_create_a_parallel_pipeline_line_27
6: skeptic::crossbeam_complex_sect_create_a_parallel_pipeline_line_27::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
github-actions / Test Report
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs.crossbeam_spawn_sect_spawn_a_short_lived_thread_line_12
failed ::crossbeam_spawn_sect_spawn_a_short_lived_thread_line_12
Raw output
error[E0433]: failed to resolve: use of undeclared crate or module `crossbeam`
--> /tmp/rust-skepticxNLqiM/test.rs:18:5
|
18 | crossbeam::scope(|s| {
| ^^^^^^^^^ use of undeclared crate or module `crossbeam`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.
thread 'crossbeam_spawn_sect_spawn_a_short_lived_thread_line_12' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/skeptic-0.13.7/src/rt.rs:127:9:
Command failed:
"rustc" "/tmp/rust-skepticxNLqiM/test.rs" "--verbose" "--crate-type=bin" "--edition=2021" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug" "-L" "/home/runner/work/rust-cookbook/rust-cookbook/target/debug/deps" "--target" "x86_64-unknown-linux-gnu" "-o" "/tmp/rust-skepticxNLqiM/out.exe"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: skeptic::rt::interpret_output
3: skeptic::rt::handle_test
4: skeptic::rt::run_test
5: skeptic::crossbeam_spawn_sect_spawn_a_short_lived_thread_line_12
6: skeptic::crossbeam_spawn_sect_spawn_a_short_lived_thread_line_12::{{closure}}
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.