[INFO] fetching crate taskpool 0.1.0... [INFO] checking taskpool-0.1.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate taskpool 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate taskpool 0.1.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate taskpool 0.1.0 [INFO] finished tweaking crates.io crate taskpool 0.1.0 [INFO] tweaked toml for crates.io crate taskpool 0.1.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stainless v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf3e64460c5b31cda9afba98acdd71e70509685ed018709152791b68930f0f0b [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" "cf3e64460c5b31cda9afba98acdd71e70509685ed018709152791b68930f0f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf3e64460c5b31cda9afba98acdd71e70509685ed018709152791b68930f0f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3e64460c5b31cda9afba98acdd71e70509685ed018709152791b68930f0f0b", kill_on_drop: false }` [INFO] [stdout] cf3e64460c5b31cda9afba98acdd71e70509685ed018709152791b68930f0f0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41203727bfb6d28cd26fec115622959259c87b8c6dd1c22b51ad1fc474294a8e [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" "41203727bfb6d28cd26fec115622959259c87b8c6dd1c22b51ad1fc474294a8e", kill_on_drop: false }` [INFO] [stderr] Compiling stainless v0.1.12 [INFO] [stderr] Checking taskpool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,` or `>`, found `:` [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | jobs: Sender, [INFO] [stdout] | ^ expected one of `,` or `>` [INFO] [stdout] | [INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] | [INFO] [stdout] 30 | jobs: Sender<{ proc(): Send }>, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,` or `>`, found `:` [INFO] [stdout] --> src/lib.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let (job_tx, job_rx) = channel::(); [INFO] [stdout] | ^ expected one of `,` or `>` [INFO] [stdout] | [INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] | [INFO] [stdout] 37 | let (job_tx, job_rx) = channel::<{ proc(): Send }>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/lib.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute(&mut self, job: proc(): Send) { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `+`, `,`, `->`, or `::`, found `:` [INFO] [stdout] --> src/lib.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute(&mut self, job: proc(): Send) { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `!`, `)`, `+`, `,`, `->`, or `::` [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,` or `>`, found `:` [INFO] [stdout] --> src/lib.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 77 | fn spawn_in_pool(jobs: Arc>>, [INFO] [stdout] | ^ expected one of `,` or `>` [INFO] [stdout] | [INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] | [INFO] [stdout] 77 | fn spawn_in_pool(jobs: Arc>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | monitor: Sender [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | monitor: Send [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Died` in this scope [INFO] [stdout] --> src/lib.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | let _ = self.monitor.send_opt(Died); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use MonitorMessage::Died; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | jobs: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | jobs: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | monitor: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 | monitor: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(tasks: uint) -> TaskPool { [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:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | let (job_tx, job_rx) = channel::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/lib.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let (quit_tx, quit_rx) = channel::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | for _ in range(0, tasks) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `proc` in this scope [INFO] [stdout] --> src/lib.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute(&mut self, job: proc(): Send) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Kill` in this scope [INFO] [stdout] --> src/lib.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | self.monitor.send(Kill); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use MonitorMessage::Kill; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/lib.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | fn spawn_in_pool(jobs: Arc>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/lib.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | monitor: Sender) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | monitor: Send) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stdout] --> src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | Kill => return [INFO] [stdout] | ^^^^^^ return type is not `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stainless-0.1.12/src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stainless-0.1.12/src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stainless` [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0069, E0412, E0425, E0658. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0069`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "41203727bfb6d28cd26fec115622959259c87b8c6dd1c22b51ad1fc474294a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41203727bfb6d28cd26fec115622959259c87b8c6dd1c22b51ad1fc474294a8e", kill_on_drop: false }` [INFO] [stdout] 41203727bfb6d28cd26fec115622959259c87b8c6dd1c22b51ad1fc474294a8e