[INFO] fetching crate substrate-test-utils 3.0.0... [INFO] checking substrate-test-utils-3.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate substrate-test-utils 3.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate substrate-test-utils 3.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate substrate-test-utils 3.0.0 [INFO] finished tweaking crates.io crate substrate-test-utils 3.0.0 [INFO] tweaked toml for crates.io crate substrate-test-utils 3.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (available: v2.4.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded substrate-test-utils-derive v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d189845cad405c82473d90b92625e7a5b239fbe131431806cd0897016702fbc8 [INFO] running `Command { std: "docker" "start" "-a" "d189845cad405c82473d90b92625e7a5b239fbe131431806cd0897016702fbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d189845cad405c82473d90b92625e7a5b239fbe131431806cd0897016702fbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d189845cad405c82473d90b92625e7a5b239fbe131431806cd0897016702fbc8", kill_on_drop: false }` [INFO] [stdout] d189845cad405c82473d90b92625e7a5b239fbe131431806cd0897016702fbc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0118ad465cb96424d0114cdd85975e0cf7230bc25295ddaf5cdba13a445cde [INFO] running `Command { std: "docker" "start" "-a" "6d0118ad465cb96424d0114cdd85975e0cf7230bc25295ddaf5cdba13a445cde", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling substrate-test-utils-derive v0.9.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking substrate-test-utils v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sc_service` [INFO] [stdout] --> tests/basic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sc_service::{TaskExecutor, TaskType}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sc_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `trybuild` [INFO] [stdout] --> tests/ui.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | let t = trybuild::TestCases::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-test-utils` (test "ui") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[substrate_test_utils::test(max_threads = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/basic.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::time::delay_for(std::time::Duration::from_secs( [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `time` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 393 | / cfg_time! { [INFO] [stdout] 394 | | pub mod time; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `substrate_test_utils::tokio` [INFO] [stdout] --> tests/basic.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `substrate_test_utils::tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-core` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / cfg_rt_core! { [INFO] [stdout] 389 | | pub mod task; [INFO] [stdout] 390 | | pub use task::spawn; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_rt_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `substrate_test_utils::tokio` [INFO] [stdout] --> tests/basic.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `substrate_test_utils::tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-core` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / cfg_rt_core! { [INFO] [stdout] 389 | | pub mod task; [INFO] [stdout] 390 | | pub use task::spawn; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_rt_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `substrate_test_utils::tokio` [INFO] [stdout] --> tests/basic.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[substrate_test_utils::test(max_threads = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `substrate_test_utils::tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-core` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / cfg_rt_core! { [INFO] [stdout] 389 | | pub mod task; [INFO] [stdout] 390 | | pub use task::spawn; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_rt_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `substrate_test_utils::tokio` [INFO] [stdout] --> tests/basic.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `substrate_test_utils::tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-core` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / cfg_rt_core! { [INFO] [stdout] 389 | | pub mod task; [INFO] [stdout] 390 | | pub use task::spawn; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_rt_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `substrate_test_utils::tokio` [INFO] [stdout] --> tests/basic.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `substrate_test_utils::tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-core` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.25/src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / cfg_rt_core! { [INFO] [stdout] 389 | | pub mod task; [INFO] [stdout] 390 | | pub use task::spawn; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::test` which comes from the expansion of the macro `cfg_rt_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 19 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[substrate_test_utils::test(max_threads = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[substrate_test_utils::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `substrate_test_utils::tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-test-utils` (test "basic") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "6d0118ad465cb96424d0114cdd85975e0cf7230bc25295ddaf5cdba13a445cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0118ad465cb96424d0114cdd85975e0cf7230bc25295ddaf5cdba13a445cde", kill_on_drop: false }` [INFO] [stdout] 6d0118ad465cb96424d0114cdd85975e0cf7230bc25295ddaf5cdba13a445cde