[INFO] fetching crate sp-tasks 3.0.0... [INFO] testing sp-tasks-3.0.0 against master#0e21a27075a8c508f00d1a4430497f17ce93d5c9 for pr-98839 [INFO] extracting crate sp-tasks 3.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sp-tasks 3.0.0 on toolchain 0e21a27075a8c508f00d1a4430497f17ce93d5c9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e54658b8570ed1e8b8f322120c9a8ecc360ee5d7526e8e828bffef84575b985d [INFO] running `Command { std: "docker" "start" "-a" "e54658b8570ed1e8b8f322120c9a8ecc360ee5d7526e8e828bffef84575b985d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e54658b8570ed1e8b8f322120c9a8ecc360ee5d7526e8e828bffef84575b985d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54658b8570ed1e8b8f322120c9a8ecc360ee5d7526e8e828bffef84575b985d", kill_on_drop: false }` [INFO] [stdout] e54658b8570ed1e8b8f322120c9a8ecc360ee5d7526e8e828bffef84575b985d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0f33337ecfa881b2c8b997cb50c87a09cbc26bf53a85b33e2e78b2953a1896 [INFO] running `Command { std: "docker" "start" "-a" "0c0f33337ecfa881b2c8b997cb50c87a09cbc26bf53a85b33e2e78b2953a1896", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling environmental v1.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling trie-root v0.16.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling ed25519 v1.5.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling trie-db v0.22.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling sp-panic-handler v3.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.5.6 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.4 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.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 45s [INFO] running `Command { std: "docker" "inspect" "0c0f33337ecfa881b2c8b997cb50c87a09cbc26bf53a85b33e2e78b2953a1896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0f33337ecfa881b2c8b997cb50c87a09cbc26bf53a85b33e2e78b2953a1896", kill_on_drop: false }` [INFO] [stdout] 0c0f33337ecfa881b2c8b997cb50c87a09cbc26bf53a85b33e2e78b2953a1896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c619c4715a5c4c2810444344f51a65e99893c66a31c291d9617b3c3c063d519e [INFO] running `Command { std: "docker" "start" "-a" "c619c4715a5c4c2810444344f51a65e99893c66a31c291d9617b3c3c063d519e", 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.18s [INFO] running `Command { std: "docker" "inspect" "c619c4715a5c4c2810444344f51a65e99893c66a31c291d9617b3c3c063d519e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c619c4715a5c4c2810444344f51a65e99893c66a31c291d9617b3c3c063d519e", kill_on_drop: false }` [INFO] [stdout] c619c4715a5c4c2810444344f51a65e99893c66a31c291d9617b3c3c063d519e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 783b8f9bc036360febf4c56e5590e43d179ed98c8b8242c57d7c062eb9f9282f [INFO] running `Command { std: "docker" "start" "-a" "783b8f9bc036360febf4c56e5590e43d179ed98c8b8242c57d7c062eb9f9282f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sp_tasks-3232c8de864acba3) [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.19s [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` 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.3.1/src/codec.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | fn encode(&self) -> Vec { [INFO] [stdout] | ------ the method is available for `Option<&[u8]>` here [INFO] [stdout] | [INFO] [stdout] note: the method `encode` exists on the type `&[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.3.1/src/codec.rs:228:2 [INFO] [stdout] | [INFO] [stdout] 228 | fn encode(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&[u8]` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 13 | sp_tasks::spawn(my_parallel_computator, computation_payload.chunks(10).nth(idx as _).expect("REASON").encode()) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | 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 0.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "783b8f9bc036360febf4c56e5590e43d179ed98c8b8242c57d7c062eb9f9282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783b8f9bc036360febf4c56e5590e43d179ed98c8b8242c57d7c062eb9f9282f", kill_on_drop: false }` [INFO] [stdout] 783b8f9bc036360febf4c56e5590e43d179ed98c8b8242c57d7c062eb9f9282f