[INFO] fetching crate parmap 0.0.1... [INFO] checking parmap-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate parmap 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate parmap 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parmap 0.0.1 [INFO] finished tweaking crates.io crate parmap 0.0.1 [INFO] tweaked toml for crates.io crate parmap 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a375f4a61a2cbbf06a8abeac14cda7f682e00937f79b0ec49ea094d359353b3 [INFO] running `Command { std: "docker" "start" "-a" "1a375f4a61a2cbbf06a8abeac14cda7f682e00937f79b0ec49ea094d359353b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a375f4a61a2cbbf06a8abeac14cda7f682e00937f79b0ec49ea094d359353b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a375f4a61a2cbbf06a8abeac14cda7f682e00937f79b0ec49ea094d359353b3", kill_on_drop: false }` [INFO] [stdout] 1a375f4a61a2cbbf06a8abeac14cda7f682e00937f79b0ec49ea094d359353b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc40369352187ee0ca169950e3cbde07f079c4a13e595ee24b4d3d78934a78f [INFO] running `Command { std: "docker" "start" "-a" "abc40369352187ee0ca169950e3cbde07f079c4a13e595ee24b4d3d78934a78f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking parmap v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | let mut pool = sync::TaskPool::new(8, || { proc(_) {} }); [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | let mut pool = sync::TaskPool::new(8, || { proc(_) {} }); [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TaskPool` in `sync` [INFO] [stdout] --> src/lib.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | let mut pool = sync::TaskPool::new(8, || { proc(_) {} }); [INFO] [stdout] | ^^^^^^^^ could not find `TaskPool` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TaskPool` in `sync` [INFO] [stdout] --> src/lib.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | let mut pool = sync::TaskPool::new(8, || { proc(_) {} }); [INFO] [stdout] | ^^^^^^^^ could not find `TaskPool` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | left: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | from: Receiver [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | left: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | from: Receiver [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> src/lib.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> src/lib.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | impl Iterator for ParMap { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | impl Iterator for ParMap { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl Iterator for ParMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl Iterator for ParMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pool.execute(proc(_) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 37 | tx.send(mapper(x)); [INFO] [stdout] | ------ ^ expected type parameter `T`, found associated type [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found associated type `::Item` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 37 | tx.send(mapper(x)); [INFO] [stdout] | ------ ^ expected type parameter `T`, found associated type [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found associated type `::Item` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 27 | impl> Parallel for I { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parmap` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `parmap` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "abc40369352187ee0ca169950e3cbde07f079c4a13e595ee24b4d3d78934a78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc40369352187ee0ca169950e3cbde07f079c4a13e595ee24b4d3d78934a78f", kill_on_drop: false }` [INFO] [stdout] abc40369352187ee0ca169950e3cbde07f079c4a13e595ee24b4d3d78934a78f