[INFO] fetching crate substrate-test-utils 2.0.0... [INFO] checking substrate-test-utils-2.0.0 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate substrate-test-utils 2.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate substrate-test-utils 2.0.0 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate substrate-test-utils 2.0.0 [INFO] finished tweaking crates.io crate substrate-test-utils 2.0.0 [INFO] tweaked toml for crates.io crate substrate-test-utils 2.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded substrate-test-utils-derive v0.8.0 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4cf20c735253d31a5372203357fd4598c1ce3b6dcef61afcec30942b802061a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f4cf20c735253d31a5372203357fd4598c1ce3b6dcef61afcec30942b802061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4cf20c735253d31a5372203357fd4598c1ce3b6dcef61afcec30942b802061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4cf20c735253d31a5372203357fd4598c1ce3b6dcef61afcec30942b802061a", kill_on_drop: false }` [INFO] [stdout] f4cf20c735253d31a5372203357fd4598c1ce3b6dcef61afcec30942b802061a [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f65f740d29978090644acff7fdb0347c8a48e3f9dd8d041d2616b0c4954908b1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f65f740d29978090644acff7fdb0347c8a48e3f9dd8d041d2616b0c4954908b1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling substrate-test-utils-derive v0.8.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking substrate-test-utils v2.0.0 (/opt/rustwide/workdir) [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[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: aborting due to 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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] [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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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: this error originates in an attribute macro (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 `tokio::runtime::Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 `tokio::runtime::Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 `tokio::runtime::Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 `tokio::runtime::Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 `tokio::runtime::Builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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: build failed [INFO] running `Command { std: "docker" "inspect" "f65f740d29978090644acff7fdb0347c8a48e3f9dd8d041d2616b0c4954908b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f65f740d29978090644acff7fdb0347c8a48e3f9dd8d041d2616b0c4954908b1", kill_on_drop: false }` [INFO] [stdout] f65f740d29978090644acff7fdb0347c8a48e3f9dd8d041d2616b0c4954908b1