[INFO] fetching crate kevlar 0.1.2... [INFO] testing kevlar-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate kevlar 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate kevlar 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c343563156f27d3c79242ae3507509cf49f19e9af8bf4ef54948a0417501ddc7 [INFO] running `Command { std: "docker" "start" "-a" "c343563156f27d3c79242ae3507509cf49f19e9af8bf4ef54948a0417501ddc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c343563156f27d3c79242ae3507509cf49f19e9af8bf4ef54948a0417501ddc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c343563156f27d3c79242ae3507509cf49f19e9af8bf4ef54948a0417501ddc7", kill_on_drop: false }` [INFO] [stdout] c343563156f27d3c79242ae3507509cf49f19e9af8bf4ef54948a0417501ddc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e4229de10e45762b07b03f3a691278201696bcb250d8ee4066eb405347fe13 [INFO] running `Command { std: "docker" "start" "-a" "a6e4229de10e45762b07b03f3a691278201696bcb250d8ee4066eb405347fe13", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling kevlar v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/testresult.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | filename: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label` [INFO] [stdout] --> src/testresult.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | label: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/testresult.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.26s [INFO] running `Command { std: "docker" "inspect" "a6e4229de10e45762b07b03f3a691278201696bcb250d8ee4066eb405347fe13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e4229de10e45762b07b03f3a691278201696bcb250d8ee4066eb405347fe13", kill_on_drop: false }` [INFO] [stdout] a6e4229de10e45762b07b03f3a691278201696bcb250d8ee4066eb405347fe13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd2905b5e05c8972fc94cfdeb1a37d0c5f4ab9c1a0a2bf2b29f09d7cbfa3ede [INFO] running `Command { std: "docker" "start" "-a" "9cd2905b5e05c8972fc94cfdeb1a37d0c5f4ab9c1a0a2bf2b29f09d7cbfa3ede", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling kevlar v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/testresult.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | filename: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label` [INFO] [stdout] --> src/testresult.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | label: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/testresult.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/testresult.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | filename: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label` [INFO] [stdout] --> src/testresult.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | label: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/testresult.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TestRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/testresult.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "9cd2905b5e05c8972fc94cfdeb1a37d0c5f4ab9c1a0a2bf2b29f09d7cbfa3ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd2905b5e05c8972fc94cfdeb1a37d0c5f4ab9c1a0a2bf2b29f09d7cbfa3ede", kill_on_drop: false }` [INFO] [stdout] 9cd2905b5e05c8972fc94cfdeb1a37d0c5f4ab9c1a0a2bf2b29f09d7cbfa3ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff72df0a38a4260c3426a735fb318cd312dcaf964c3db8596db4220158464bc9 [INFO] running `Command { std: "docker" "start" "-a" "ff72df0a38a4260c3426a735fb318cd312dcaf964c3db8596db4220158464bc9", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `filename` [INFO] [stderr] --> src/testresult.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | filename: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/testresult.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `label` [INFO] [stderr] --> src/testresult.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | label: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TestArtifact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/testresult.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/testresult.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TestRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/testresult.rs:186:10 [INFO] [stderr] | [INFO] [stderr] 186 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kevlar` (lib) generated 3 warnings [INFO] [stderr] warning: `kevlar` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/kevlar-69de884759a7899c) [INFO] [stdout] [INFO] [stderr] Doc-tests kevlar [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/testcase.rs - testcase::AsyncTestCase (line 27) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestArtifact::with_type (line 80) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestRecord::set_status (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::run_async (line 99) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::run (line 74) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestEvent::with_description (line 125) ... FAILED [INFO] [stdout] test src/testharness.rs - testharness::TestHarness::new (line 26) ... FAILED [INFO] [stdout] test src/testcase.rs - testcase::TestCase (line 8) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestEvent::with_artifact (line 137) ... FAILED [INFO] [stdout] test src/testresult.rs - testresult::TestArtifact::with_description (line 92) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/testcase.rs - testcase::AsyncTestCase (line 27) stdout ---- [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/testcase.rs:33: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/testcase.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] async_trait::async_trait [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/testcase.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 9 | info!("Do something interesting"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncTestCase` in this scope [INFO] [stdout] --> src/testcase.rs:32: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/testcase.rs:33: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/testcase.rs:33: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/testcase.rs:33: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/testresult.rs - testresult::TestArtifact::with_type (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestArtifactType` [INFO] [stdout] --> src/testresult.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 4 | .with_type(TestArtifactType::Log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TestArtifactType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestArtifact` [INFO] [stdout] --> src/testresult.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Log File") [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestArtifact; [INFO] [stdout] | [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/testresult.rs - testresult::TestRecord::set_status (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [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 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an 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::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::TestEvent::with_description (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEvent` [INFO] [stdout] --> src/testresult.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 3 | TestEvent::new(TestStatus::Failed).with_description("Something went wrong") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestEvent; [INFO] [stdout] | [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::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestHarness` [INFO] [stdout] --> src/testharness.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 4 | let harness = TestHarness::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use kevlar::TestHarness; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConfigType` [INFO] [stdout] --> src/testharness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 6 | ConfigType::File(PathBuf::from("./config.json")), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use kevlar::ConfigType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/testharness.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 6 | ConfigType::File(PathBuf::from("./config.json")), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [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/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] = note: consider importing this macro: [INFO] [stdout] log::info [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::TestEvent::with_artifact (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `TestStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEvent` [INFO] [stdout] --> src/testresult.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 3 | let event = TestEvent::new(TestStatus::Failed) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestEvent; [INFO] [stdout] | [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/testresult.rs - testresult::TestArtifact::with_description (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestArtifact` [INFO] [stdout] --> src/testresult.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 3 | let artifact = TestArtifact::new(filename, "Screen capture") [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use kevlar::TestArtifact; [INFO] [stdout] | [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/testcase.rs - testcase::AsyncTestCase (line 27) [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; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ff72df0a38a4260c3426a735fb318cd312dcaf964c3db8596db4220158464bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff72df0a38a4260c3426a735fb318cd312dcaf964c3db8596db4220158464bc9", kill_on_drop: false }` [INFO] [stdout] ff72df0a38a4260c3426a735fb318cd312dcaf964c3db8596db4220158464bc9