[INFO] fetching crate rayon-wasm 1.6.2... [INFO] testing rayon-wasm-1.6.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rayon-wasm 1.6.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rayon-wasm 1.6.2 [INFO] finished tweaking crates.io crate rayon-wasm 1.6.2 [INFO] tweaked toml for crates.io crate rayon-wasm 1.6.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rayon-wasm 1.6.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bca40753f8f334a11d99d7fc94fc229ed816b55956f0759670090797ede923e6 [INFO] running `Command { std: "docker" "start" "-a" "bca40753f8f334a11d99d7fc94fc229ed816b55956f0759670090797ede923e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bca40753f8f334a11d99d7fc94fc229ed816b55956f0759670090797ede923e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca40753f8f334a11d99d7fc94fc229ed816b55956f0759670090797ede923e6", kill_on_drop: false }` [INFO] [stdout] bca40753f8f334a11d99d7fc94fc229ed816b55956f0759670090797ede923e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad280152aa0abb4df51a87265b1ec21f1b0b51a9ed795b4370b8c616cb3c92fc [INFO] running `Command { std: "docker" "start" "-a" "ad280152aa0abb4df51a87265b1ec21f1b0b51a9ed795b4370b8c616cb3c92fc", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core-wasm v1.10.2 [INFO] [stderr] Compiling rayon-wasm v1.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.49s [INFO] running `Command { std: "docker" "inspect" "ad280152aa0abb4df51a87265b1ec21f1b0b51a9ed795b4370b8c616cb3c92fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad280152aa0abb4df51a87265b1ec21f1b0b51a9ed795b4370b8c616cb3c92fc", kill_on_drop: false }` [INFO] [stdout] ad280152aa0abb4df51a87265b1ec21f1b0b51a9ed795b4370b8c616cb3c92fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3e2b51e6389c6f675801b089a7c6f19518c670106abcd06c9bc6638d1b16b8 [INFO] running `Command { std: "docker" "start" "-a" "0f3e2b51e6389c6f675801b089a7c6f19518c670106abcd06c9bc6638d1b16b8", kill_on_drop: false }` [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rayon-wasm v1.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/octillion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/issue671-unzip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/drain_vec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/iter_panic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rayon` [INFO] [stdout] --> tests/iter_panic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "issue671-unzip") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/issue671.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/collect.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "octillion") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/named-threads.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "iter_panic") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `rayon` [INFO] [stdout] --> tests/named-threads.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "issue671") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `par_drain` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/drain_vec.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let yielded = vec_org.par_drain(0..5).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `drain` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let yielded = vec_org.par_drain(0..5).collect::>(); [INFO] [stdout] 7 + let yielded = vec_org.drain(0..5).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "drain_vec") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/issue671-unzip.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | let (indexes, (squares, cubes)): (Vec<_>, (Vec<_>, Vec<_>)) = input [INFO] [stdout] | ___________________________________________________________________- [INFO] [stdout] 9 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - .par_iter() [INFO] [stdout] 9 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ParallelIterator` in this scope [INFO] [stdout] --> tests/iter_panic.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn count(iter: impl ParallelIterator + UnwindSafe) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::prelude::ParallelIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/octillion.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn octillion() -> rayon::range::Iter { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::range; [INFO] [stdout] | [INFO] [stdout] help: if you import `range`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - fn octillion() -> rayon::range::Iter { [INFO] [stdout] 6 + fn octillion() -> range::Iter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/octillion.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn octillion_inclusive() -> rayon::range_inclusive::Iter { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::range_inclusive; [INFO] [stdout] | [INFO] [stdout] help: if you import `range_inclusive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - fn octillion_inclusive() -> rayon::range_inclusive::Iter { [INFO] [stdout] 11 + fn octillion_inclusive() -> range_inclusive::Iter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ParallelIterator` in this scope [INFO] [stdout] --> tests/octillion.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn octillion_flat() -> impl ParallelIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::prelude::ParallelIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/octillion.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let builder = rayon::ThreadPoolBuilder::new().num_threads(2); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_core::ThreadPoolBuilder; [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::ThreadPoolBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `ThreadPoolBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let builder = rayon::ThreadPoolBuilder::new().num_threads(2); [INFO] [stdout] 64 + let builder = ThreadPoolBuilder::new().num_threads(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/cross-pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `Vec>` in the current scope [INFO] [stdout] --> tests/issue671.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = Vec::>::new() [INFO] [stdout] | _____________- [INFO] [stdout] 8 | | .into_par_iter() [INFO] [stdout] | |_________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - .into_par_iter() [INFO] [stdout] 8 + .into_iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_drain` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/drain_vec.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let yielded = vec_org.par_drain(0..5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `drain` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - let yielded = vec_org.par_drain(0..5); [INFO] [stdout] 17 + let yielded = vec_org.drain(0..5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_drain` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/drain_vec.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | let yielded = vec_org.par_drain(5..5).collect::>(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `drain` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - let yielded = vec_org.par_drain(5..5).collect::>(); [INFO] [stdout] 27 + let yielded = vec_org.drain(5..5).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter_mut` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/collect.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | a.par_iter_mut() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - a.par_iter_mut() [INFO] [stdout] 31 + a.iter_mut() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rayon` [INFO] [stdout] --> tests/cross-pool.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_drain` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/drain_vec.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | let yielded = vec_org.par_drain(5..5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `drain` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 - let yielded = vec_org.par_drain(5..5); [INFO] [stdout] 37 + let yielded = vec_org.drain(5..5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec<{integer}>` in the current scope [INFO] [stdout] --> tests/collect.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | a.par_iter() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - a.par_iter() [INFO] [stdout] 89 + a.iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "collect") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> tests/named-threads.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | let thread_names = (0..N) [INFO] [stdout] | ________________________- [INFO] [stdout] 17 | | .into_par_iter() [INFO] [stdout] | |_________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/iter/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelIterator` which provides `into_par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - .into_par_iter() [INFO] [stdout] 17 + .into_iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::RangeInclusive` in the current scope [INFO] [stdout] --> tests/cross-pool.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | / (1..=n) [INFO] [stdout] 17 | | .into_par_iter() [INFO] [stdout] | |_____________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/iter/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::RangeInclusive` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelIterator` which provides `into_par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rayon_wasm::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - .into_par_iter() [INFO] [stdout] 17 + .into_iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/named-threads.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .all(|name| name.starts_with("hello-name-test-")); [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | .all(|name: /* Type */| name.starts_with("hello-name-test-")); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-wasm` (test "cross-pool") due to 3 previous errors [INFO] [stderr] error: could not compile `rayon-wasm` (test "named-threads") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0f3e2b51e6389c6f675801b089a7c6f19518c670106abcd06c9bc6638d1b16b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3e2b51e6389c6f675801b089a7c6f19518c670106abcd06c9bc6638d1b16b8", kill_on_drop: false }` [INFO] [stdout] 0f3e2b51e6389c6f675801b089a7c6f19518c670106abcd06c9bc6638d1b16b8