[INFO] fetching crate rust-prelude-plus 0.1.0... [INFO] testing rust-prelude-plus-0.1.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rust-prelude-plus 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust-prelude-plus 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rust-prelude-plus 0.1.0 [INFO] tweaked toml for crates.io crate rust-prelude-plus 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-prelude-plus 0.1.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-prelude-plus 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c4b45e88f3f5cc0eaee954f2e564eeb1984e10890aca8b9e8892ab691ae1e8b [INFO] running `Command { std: "docker" "start" "-a" "1c4b45e88f3f5cc0eaee954f2e564eeb1984e10890aca8b9e8892ab691ae1e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c4b45e88f3f5cc0eaee954f2e564eeb1984e10890aca8b9e8892ab691ae1e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4b45e88f3f5cc0eaee954f2e564eeb1984e10890aca8b9e8892ab691ae1e8b", kill_on_drop: false }` [INFO] [stdout] 1c4b45e88f3f5cc0eaee954f2e564eeb1984e10890aca8b9e8892ab691ae1e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea7df250c754395fb3409e2de43c3046eb0fe56c2ce43a8d2756cdea254d3b98 [INFO] running `Command { std: "docker" "start" "-a" "ea7df250c754395fb3409e2de43c3046eb0fe56c2ce43a8d2756cdea254d3b98", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling key-paths-core v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling key-paths-derive v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rust-prelude-plus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.60s [INFO] running `Command { std: "docker" "inspect" "ea7df250c754395fb3409e2de43c3046eb0fe56c2ce43a8d2756cdea254d3b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7df250c754395fb3409e2de43c3046eb0fe56c2ce43a8d2756cdea254d3b98", kill_on_drop: false }` [INFO] [stdout] ea7df250c754395fb3409e2de43c3046eb0fe56c2ce43a8d2756cdea254d3b98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d146423238208ca731c3e63d09ab418b48eb3cc8ec38dabcabc02c1687a261f2 [INFO] running `Command { std: "docker" "start" "-a" "d146423238208ca731c3e63d09ab418b48eb3cc8ec38dabcabc02c1687a261f2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap_builder v4.5.49 [INFO] [stderr] Compiling clap v4.5.49 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling key-paths-derive v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rust-prelude-plus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> examples/parallel_examples.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] --> examples/optimized_performance_comparison.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `rust_prelude_plus::parallel::parallel_collections` [INFO] [stdout] --> examples/parallel_examples.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_prelude_plus::parallel::parallel_collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `parallel_collections` in `parallel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/parallel.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "parallel")] [INFO] [stdout] | -------------------- the item is gated behind the `parallel` feature [INFO] [stdout] 12 | /// Parallel keypath operations for collections [INFO] [stdout] 13 | pub mod parallel_collections { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust_prelude_plus::async_ops::async_collections` [INFO] [stdout] --> examples/async_examples.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_prelude_plus::async_ops::async_collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `async_collections` in `async_ops` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/async_ops.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "async")] [INFO] [stdout] | ----------------- the item is gated behind the `r#async` feature [INFO] [stdout] 11 | /// Asynchronous keypath operations for collections [INFO] [stdout] 12 | pub mod async_collections { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/async_examples.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parallel_pools` in `parallel` [INFO] [stdout] --> examples/parallel_examples.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | match rust_prelude_plus::parallel::parallel_pools::create_keypath_thread_pool(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `parallel_pools` in `parallel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/parallel.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "parallel")] [INFO] [stdout] | -------------------- the item is gated behind the `parallel` feature [INFO] [stdout] 182 | /// Parallel keypath operations with custom thread pools [INFO] [stdout] 183 | pub mod parallel_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parallel_pools` in `parallel` [INFO] [stdout] --> examples/parallel_examples.rs:215:48 [INFO] [stdout] | [INFO] [stdout] 215 | match rust_prelude_plus::parallel::parallel_pools::execute_on_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `parallel_pools` in `parallel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/parallel.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "parallel")] [INFO] [stdout] | -------------------- the item is gated behind the `parallel` feature [INFO] [stdout] 182 | /// Parallel keypath operations with custom thread pools [INFO] [stdout] 183 | pub mod parallel_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parallel_pools` in `parallel` [INFO] [stdout] --> examples/parallel_examples.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | match rust_prelude_plus::parallel::parallel_pools::filter_on_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `parallel_pools` in `parallel` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/parallel.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "parallel")] [INFO] [stdout] | -------------------- the item is gated behind the `parallel` feature [INFO] [stdout] 182 | /// Parallel keypath operations with custom thread pools [INFO] [stdout] 183 | pub mod parallel_pools { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_products_by_category` is never used [INFO] [stdout] --> tests/testability_tests.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn group_products_by_category(products: &[Product]) -> KeyPathResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_examples.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | Ok(active_users) => println!("Active users count: {}", active_users.len()), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_examples.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | |email| !email.is_empty(), [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] 171 | |email: /* Type */| !email.is_empty(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_examples.rs:201:70 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(published_posts) => println!("Published posts count: {}", published_posts.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async_examples.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | println!("Popular posts count: {}", popular_posts.len()); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/parallel_examples.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | |name| name.clone(), [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] 121 | |name: /* Type */| name.clone(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/parallel_examples.rs:133:67 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(expensive) => println!("Expensive products count: {}", expensive.len()), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/async_examples.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 113 | let parallel_result: Vec = employees [INFO] [stdout] | _____________________________________- [INFO] [stdout] 114 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 114 - .par_iter() [INFO] [stdout] 114 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/parallel_examples.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 195 | let (in_stock, out_of_stock): (Vec, Vec) = products_owned [INFO] [stdout] | __________________________________________________________________- [INFO] [stdout] 196 | | .into_par_iter() [INFO] [stdout] | |_________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.11.0/src/iter/mod.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `Vec` 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] 3 + use rayon::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 196 - .into_par_iter() [INFO] [stdout] 196 + .into_iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-prelude-plus` (example "async_examples") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/parallel_examples.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | |name| name.len(), [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] 219 | |name: /* Type */| name.len(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/parallel_examples.rs:232:70 [INFO] [stdout] | [INFO] [stdout] 232 | Ok(filtered) => println!("Products > $50: {} items", filtered.len()), [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 181 | let parallel_result: Vec<&Employee> = employees [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 182 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 182 - .par_iter() [INFO] [stdout] 182 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/parallel_examples.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | |name| name.clone(), [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] 274 | |name: /* Type */| name.clone(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:233:43 [INFO] [stdout] | [INFO] [stdout] 233 | let total_salary: f64 = employees.par_iter().map(|emp| emp.salary).sum(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 233 - let total_salary: f64 = employees.par_iter().map(|emp| emp.salary).sum(); [INFO] [stdout] 233 + let total_salary: f64 = employees.iter().map(|emp| emp.salary).sum(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:235:36 [INFO] [stdout] | [INFO] [stdout] 235 | let max_salary = employees.par_iter().map(|emp| emp.salary).max_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 235 - let max_salary = employees.par_iter().map(|emp| emp.salary).max_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] 235 + let max_salary = employees.iter().map(|emp| emp.salary).max_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/optimized_performance_comparison.rs:235:77 [INFO] [stdout] | [INFO] [stdout] 235 | let max_salary = employees.par_iter().map(|emp| emp.salary).max_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [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] 235 | let max_salary = employees.par_iter().map(|emp| emp.salary).max_by(|a: /* Type */, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:236:36 [INFO] [stdout] | [INFO] [stdout] 236 | let min_salary = employees.par_iter().map(|emp| emp.salary).min_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 236 - let min_salary = employees.par_iter().map(|emp| emp.salary).min_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] 236 + let min_salary = employees.iter().map(|emp| emp.salary).min_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/optimized_performance_comparison.rs:236:77 [INFO] [stdout] | [INFO] [stdout] 236 | let min_salary = employees.par_iter().map(|emp| emp.salary).min_by(|a, b| a.partial_cmp(b).unwrap()).unwrap(); [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] 236 | let min_salary = employees.par_iter().map(|emp| emp.salary).min_by(|a: /* Type */, b| a.partial_cmp(b).unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | let active_count = employees.par_iter().filter(|emp| emp.is_active).count(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 237 - let active_count = employees.par_iter().filter(|emp| emp.is_active).count(); [INFO] [stdout] 237 + let active_count = employees.iter().filter(|emp| emp.is_active).count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for reference `&[Employee]` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 238 | let engineering_count = employees.par_iter().filter(|emp| emp.department == "Engineering").count(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 238 - let engineering_count = employees.par_iter().filter(|emp| emp.department == "Engineering").count(); [INFO] [stdout] 238 + let engineering_count = employees.iter().filter(|emp| emp.department == "Engineering").count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_sort_by` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | parallel_sorted.par_sort_by(|a, b| { [INFO] [stdout] | ----------------^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `sort_by` with a similar name [INFO] [stdout] | [INFO] [stdout] 284 - parallel_sorted.par_sort_by(|a, b| { [INFO] [stdout] 284 + parallel_sorted.sort_by(|a, b| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/optimized_performance_comparison.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 328 | let parallel_result: Vec = employees [INFO] [stdout] | ________________________________________- [INFO] [stdout] 329 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 329 - .par_iter() [INFO] [stdout] 329 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-prelude-plus` (example "optimized_performance_comparison") due to 12 previous errors [INFO] [stderr] error: could not compile `rust-prelude-plus` (example "parallel_examples") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "d146423238208ca731c3e63d09ab418b48eb3cc8ec38dabcabc02c1687a261f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d146423238208ca731c3e63d09ab418b48eb3cc8ec38dabcabc02c1687a261f2", kill_on_drop: false }` [INFO] [stdout] d146423238208ca731c3e63d09ab418b48eb3cc8ec38dabcabc02c1687a261f2