[INFO] fetching crate sp-tasks 3.0.0... [INFO] testing sp-tasks-3.0.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate sp-tasks 3.0.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sp-tasks 3.0.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-tasks 3.0.0 [INFO] finished tweaking crates.io crate sp-tasks 3.0.0 [INFO] tweaked toml for crates.io crate sp-tasks 3.0.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 543fdf405dafbf5da6f110485f379cf2ee264c6bcb45c8b084ec744a70e241ee [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" "543fdf405dafbf5da6f110485f379cf2ee264c6bcb45c8b084ec744a70e241ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "543fdf405dafbf5da6f110485f379cf2ee264c6bcb45c8b084ec744a70e241ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "543fdf405dafbf5da6f110485f379cf2ee264c6bcb45c8b084ec744a70e241ee", kill_on_drop: false }` [INFO] [stdout] 543fdf405dafbf5da6f110485f379cf2ee264c6bcb45c8b084ec744a70e241ee [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42c59d66aa4731de24431cb7d386d9461d10525a73dc151a2bbf5e74711725b8 [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" "42c59d66aa4731de24431cb7d386d9461d10525a73dc151a2bbf5e74711725b8", kill_on_drop: false }` [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling sp-panic-handler v3.0.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.1.1 [INFO] [stderr] Compiling impl-codec v0.5.0 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sp-tasks v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "42c59d66aa4731de24431cb7d386d9461d10525a73dc151a2bbf5e74711725b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c59d66aa4731de24431cb7d386d9461d10525a73dc151a2bbf5e74711725b8", kill_on_drop: false }` [INFO] [stdout] 42c59d66aa4731de24431cb7d386d9461d10525a73dc151a2bbf5e74711725b8 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bfb758ce2ac761e746c5288003c1d18f03daa6229636d9a986e69ec163fd8e55 [INFO] running `Command { std: "docker" "start" "-a" "bfb758ce2ac761e746c5288003c1d18f03daa6229636d9a986e69ec163fd8e55", kill_on_drop: false }` [INFO] [stderr] Compiling sp-tasks v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.16s [INFO] running `Command { std: "docker" "inspect" "bfb758ce2ac761e746c5288003c1d18f03daa6229636d9a986e69ec163fd8e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb758ce2ac761e746c5288003c1d18f03daa6229636d9a986e69ec163fd8e55", kill_on_drop: false }` [INFO] [stdout] bfb758ce2ac761e746c5288003c1d18f03daa6229636d9a986e69ec163fd8e55 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 304af9af13e940993e5807722aad965b081b98e1466de506d1b2b43178b2fbe6 [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" "304af9af13e940993e5807722aad965b081b98e1466de506d1b2b43178b2fbe6", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sp_tasks-1edadf64c2d4c0fb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::basic ... ok [INFO] [stdout] test tests::panicking ... ok [INFO] [stdout] test tests::many_joins ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] Doc-tests sp-tasks [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `codec` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codec::Encode; [INFO] [stdout] | ^^^^^ help: a similar path exists: `sp_runtime_interface::codec` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `Option<&[u8]>` in the current scope [INFO] [stdout] --> src/lib.rs:45:97 [INFO] [stdout] | [INFO] [stdout] 13 | sp_tasks::spawn(my_parallel_computator, computation_payload.chunks(10).nth(idx as _).encode()) [INFO] [stdout] | ^^^^^^ method not found in `Option<&[u8]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.1.1/src/codec.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn encode(&self) -> Vec { [INFO] [stdout] | ------ the method is available for `Option<&[u8]>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use parity_scale_codec::codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "304af9af13e940993e5807722aad965b081b98e1466de506d1b2b43178b2fbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304af9af13e940993e5807722aad965b081b98e1466de506d1b2b43178b2fbe6", kill_on_drop: false }` [INFO] [stdout] 304af9af13e940993e5807722aad965b081b98e1466de506d1b2b43178b2fbe6