[INFO] crate kevlar 0.1.2 is already in cache [INFO] testing kevlar-0.1.2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate kevlar 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate kevlar 0.1.2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate kevlar 0.1.2 [INFO] finished tweaking crates.io crate kevlar 0.1.2 [INFO] tweaked toml for crates.io crate kevlar 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e8482ae0eff34e81186d1168267eea3e088b5206259403856ecc84a45a0b8ed [INFO] running `"docker" "start" "-a" "6e8482ae0eff34e81186d1168267eea3e088b5206259403856ecc84a45a0b8ed"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling kevlar v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `"docker" "inspect" "6e8482ae0eff34e81186d1168267eea3e088b5206259403856ecc84a45a0b8ed"` [INFO] running `"docker" "rm" "-f" "6e8482ae0eff34e81186d1168267eea3e088b5206259403856ecc84a45a0b8ed"` [INFO] [stdout] 6e8482ae0eff34e81186d1168267eea3e088b5206259403856ecc84a45a0b8ed [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce07c310a28a873815e9b0c8a09218b3b4e71f838d9f34ae33aca2a14d88919f [INFO] running `"docker" "start" "-a" "ce07c310a28a873815e9b0c8a09218b3b4e71f838d9f34ae33aca2a14d88919f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling kevlar v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `"docker" "inspect" "ce07c310a28a873815e9b0c8a09218b3b4e71f838d9f34ae33aca2a14d88919f"` [INFO] running `"docker" "rm" "-f" "ce07c310a28a873815e9b0c8a09218b3b4e71f838d9f34ae33aca2a14d88919f"` [INFO] [stdout] ce07c310a28a873815e9b0c8a09218b3b4e71f838d9f34ae33aca2a14d88919f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6de07d349b0f1d4ec196f1f39ffd19a71a38b694bcfc5b915146053ead0b537d [INFO] running `"docker" "start" "-a" "6de07d349b0f1d4ec196f1f39ffd19a71a38b694bcfc5b915146053ead0b537d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/kevlar-faf113e1cfd74a6f [INFO] [stderr] Doc-tests kevlar [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/testresult.rs - testresult::TestEvent::with_description (line 125) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::run_async (line 99) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::new (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - testcase::AsyncTestCase (line 4) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::run (line 74) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestArtifact::with_description (line 92) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestEvent::with_artifact (line 137) ... FAILED [INFO] [stdout] test src/testcase.rs - testcase::TestCase (line 8) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestArtifact::with_type (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestRecord::set_status (line 210) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/testresult.rs - testresult::TestEvent::with_description (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestEvent` [INFO] [stdout] --> src/testresult.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 3 | TestEvent::new(TestStatus::Failed).with_description("Something went wrong") [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TestEvent` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestStatus` [INFO] [stdout] --> src/testresult.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 3 | TestEvent::new(TestStatus::Failed).with_description("Something went wrong") [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `TestStatus` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testharness.rs - testharness::TestHarness::run_async (line 99) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/testharness.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 5 | impl AsyncTestCase for MyTest { [INFO] [stdout] | - item list starts here [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 7 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/testharness.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncTestCase` in this scope [INFO] [stdout] --> src/testharness.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl AsyncTestCase for MyTest { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::AsyncTestCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `harness` in this scope [INFO] [stdout] --> src/testharness.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 10 | harness.run_async::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testharness.rs - testharness::TestHarness::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestHarness` [INFO] [stdout] --> src/testharness.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 4 | let harness = TestHarness::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `TestHarness` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ConfigType` [INFO] [stdout] --> src/testharness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 6 | ConfigType::File(PathBuf::from("./config.json")), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ConfigType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PathBuf` [INFO] [stdout] --> src/testharness.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 6 | ConfigType::File(PathBuf::from("./config.json")), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PathBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - testcase::AsyncTestCase (line 4) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn run_async(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 9 | | info!("Do something interesting"); [INFO] [stdout] 10 | | Ok(()) [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | info!("Do something interesting"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncTestCase` in this scope [INFO] [stdout] --> src/lib.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl AsyncTestCase for MyTest { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::AsyncTestCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConfig` in this scope [INFO] [stdout] --> src/lib.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 8 | async fn run_async(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRecord` in this scope [INFO] [stdout] --> src/lib.rs:10:78 [INFO] [stdout] | [INFO] [stdout] 8 | async fn run_async(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/lib.rs:10:93 [INFO] [stdout] | [INFO] [stdout] 8 | async fn run_async(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0706. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testharness.rs - testharness::TestHarness::run (line 74) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/testharness.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 5 | impl TestCase for MyTest { [INFO] [stdout] | - item list starts here [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 7 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/testharness.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TestCase` in this scope [INFO] [stdout] --> src/testharness.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl TestCase for MyTest { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `harness` in this scope [INFO] [stdout] --> src/testharness.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 10 | harness.run::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testresult.rs - testresult::TestArtifact::with_description (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestArtifact` [INFO] [stdout] --> src/testresult.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Screen capture") [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `TestArtifact` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filename` in this scope [INFO] [stdout] --> src/testresult.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Screen capture") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testresult.rs - testresult::TestEvent::with_artifact (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestEvent` [INFO] [stdout] --> src/testresult.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 3 | let event = TestEvent::new(TestStatus::Failed) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TestEvent` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestStatus` [INFO] [stdout] --> src/testresult.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 3 | let event = TestEvent::new(TestStatus::Failed) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `artifact1` in this scope [INFO] [stdout] --> src/testresult.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_artifact(artifact1) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `artifact2` in this scope [INFO] [stdout] --> src/testresult.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 6 | .with_artifact(artifact2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testcase.rs - testcase::TestCase (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/testcase.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 8 | info!("Do something interesting"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TestCase` in this scope [INFO] [stdout] --> src/testcase.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl TestCase for MyTest { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestCase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConfig` in this scope [INFO] [stdout] --> src/testcase.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 7 | fn run(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRecord` in this scope [INFO] [stdout] --> src/testcase.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 7 | fn run(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> src/testcase.rs:13:81 [INFO] [stdout] | [INFO] [stdout] 7 | fn run(&mut self, test_config: TestConfig, test_record: &mut TestRecord) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testresult.rs - testresult::TestArtifact::with_type (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestArtifact` [INFO] [stdout] --> src/testresult.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Log File") [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `TestArtifact` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestArtifactType` [INFO] [stdout] --> src/testresult.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 4 | .with_type(TestArtifactType::Log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `TestArtifactType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filename` in this scope [INFO] [stdout] --> src/testresult.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Log File") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/lib.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/testresult.rs - testresult::TestRecord::set_status (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestStatus` [INFO] [stdout] --> src/testresult.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 3 | test_result.set_status(TestStatus::Failed); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestStatus` [INFO] [stdout] --> src/testresult.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 5 | test_result.set_status(TestStatus::KnownFailure); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> src/testresult.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 3 | test_result.set_status(TestStatus::Failed); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_result` in this scope [INFO] [stdout] --> src/testresult.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 5 | test_result.set_status(TestStatus::KnownFailure); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - testcase::AsyncTestCase (line 4) [INFO] [stdout] src/testcase.rs - testcase::TestCase (line 8) [INFO] [stdout] src/testharness.rs - testharness::TestHarness::new (line 26) [INFO] [stdout] src/testharness.rs - testharness::TestHarness::run (line 74) [INFO] [stdout] src/testharness.rs - testharness::TestHarness::run_async (line 99) [INFO] [stdout] src/testresult.rs - testresult::TestArtifact::with_description (line 92) [INFO] [stdout] src/testresult.rs - testresult::TestArtifact::with_type (line 80) [INFO] [stdout] src/testresult.rs - testresult::TestEvent::with_artifact (line 137) [INFO] [stdout] src/testresult.rs - testresult::TestEvent::with_description (line 125) [INFO] [stdout] src/testresult.rs - testresult::TestRecord::set_status (line 210) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "6de07d349b0f1d4ec196f1f39ffd19a71a38b694bcfc5b915146053ead0b537d"` [INFO] running `"docker" "rm" "-f" "6de07d349b0f1d4ec196f1f39ffd19a71a38b694bcfc5b915146053ead0b537d"` [INFO] [stdout] 6de07d349b0f1d4ec196f1f39ffd19a71a38b694bcfc5b915146053ead0b537d