[INFO] fetching crate load 0.0.2...
[INFO] checking load-0.0.2 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate load 0.0.2 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate load 0.0.2 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate load 0.0.2
[INFO] finished tweaking crates.io crate load 0.0.2
[INFO] tweaked toml for crates.io crate load 0.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 999b8289f500cf9905129bd3e2de316f77bf1b56e562fd446e48927c84af7a20
[INFO] running `Command { std: "docker" "start" "-a" "999b8289f500cf9905129bd3e2de316f77bf1b56e562fd446e48927c84af7a20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "999b8289f500cf9905129bd3e2de316f77bf1b56e562fd446e48927c84af7a20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "999b8289f500cf9905129bd3e2de316f77bf1b56e562fd446e48927c84af7a20", kill_on_drop: false }`
[INFO] [stdout] 999b8289f500cf9905129bd3e2de316f77bf1b56e562fd446e48927c84af7a20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 208328e52540c194837ffb3082ff39a3a21d20f9f4de01c50926bf6c55355fe2
[INFO] running `Command { std: "docker" "start" "-a" "208328e52540c194837ffb3082ff39a3a21d20f9f4de01c50926bf6c55355fe2", kill_on_drop: false }`
[INFO] [stderr]     Checking load v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]    --> src/queue.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(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/queue.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(proc() {
[INFO] [stdout]     |                         -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rand`
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate rand;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rand`
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate rand;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::timer`
[INFO] [stdout]  --> src/queue.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::timer::sleep;
[INFO] [stdout]   |              ^^^^^ could not find `timer` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]   --> src/queue.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::duration::Duration;
[INFO] [stdout]    |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::timer`
[INFO] [stdout]  --> src/queue.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::timer::sleep;
[INFO] [stdout]   |              ^^^^^ could not find `timer` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::time::duration`
[INFO] [stdout]   --> src/queue.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::duration::Duration;
[INFO] [stdout]    |                ^^^^^^^^ could not find `duration` in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]   --> src/queue.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::rand::weak_rng;
[INFO] [stdout]    |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::atomic::AtomicUint`
[INFO] [stdout]   --> src/queue.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, SeqCst};
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         no `AtomicUint` in `sync::atomic`
[INFO] [stdout]    |                         help: a similar name exists in the module: `AtomicU32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::deque`
[INFO] [stdout]   --> src/queue.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::deque::{Abort, BufferPool, Data, Empty, Stealer, Worker};
[INFO] [stdout]    |                ^^^^^ could not find `deque` in `sync`
[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 = "Mozilla Publice License, v. 2.0"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]   --> src/queue.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::rand::weak_rng;
[INFO] [stdout]    |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::atomic::AtomicUint`
[INFO] [stdout]   --> src/queue.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, SeqCst};
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         no `AtomicUint` in `sync::atomic`
[INFO] [stdout]    |                         help: a similar name exists in the module: `AtomicU32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::sync::deque`
[INFO] [stdout]   --> src/queue.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::deque::{Abort, BufferPool, Data, Empty, Stealer, Worker};
[INFO] [stdout]    |                ^^^^^ could not find `deque` in `sync`
[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 = "Mozilla Publice License, v. 2.0"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Abort` is not bound in all patterns
[INFO] [stdout]    --> src/queue.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                       ^^^^^   ----- variable not in all patterns
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       pattern doesn't bind `Abort`
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::Abort`
[INFO] [stdout]    --> src/queue.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Empty` is not bound in all patterns
[INFO] [stdout]    --> src/queue.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                       -----   ^^^^^ pattern doesn't bind `Empty`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       variable not in all patterns
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on items, use the full path in the pattern
[INFO] [stdout]     |
[INFO] [stdout] 110 |                                 std::num::IntErrorKind::Empty | Abort => {
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 110 |                                 std::sync::mpsc::TryRecvError::Empty | Abort => {
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/queue.rs:188:22
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl<'a, QueueData: 'static, WorkData: Send> WorkerProxy<'a, QueueData, WorkData> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn user_data<'a>(&'a self) -> &'a QueueData {
[INFO] [stdout]     |                      ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Abort` is not bound in all patterns
[INFO] [stdout]    --> src/queue.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                       ^^^^^   ----- variable not in all patterns
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       pattern doesn't bind `Abort`
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::Abort`
[INFO] [stdout]    --> src/queue.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Empty` is not bound in all patterns
[INFO] [stdout]    --> src/queue.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 | ...                   Empty | Abort => {
[INFO] [stdout]     |                       -----   ^^^^^ pattern doesn't bind `Empty`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       variable not in all patterns
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to match on items, use the full path in the pattern
[INFO] [stdout]     |
[INFO] [stdout] 110 |                                 std::num::IntErrorKind::Empty | Abort => {
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 110 |                                 std::sync::mpsc::TryRecvError::Empty | Abort => {
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/queue.rs:188:22
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl<'a, QueueData: 'static, WorkData: Send> WorkerProxy<'a, QueueData, WorkData> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn user_data<'a>(&'a self) -> &'a QueueData {
[INFO] [stdout]     |                      ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/queue.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     ReturnDeque(uint, Worker<WorkUnit<QueueData, WorkData>>)
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope
[INFO] [stdout]   --> src/queue.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     chan: Sender<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 |     chan: Send<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     index: 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/queue.rs:65:11
[INFO] [stdout]    |
[INFO] [stdout] 65 |     port: Receiver<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:67:11
[INFO] [stdout]    |
[INFO] [stdout] 67 |     chan: Sender<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 67 |     chan: Send<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:108:66
[INFO] [stdout]     |
[INFO] [stdout] 108 | ...                   let victim = (self.rng.next_u32() as uint) % self.other_deques.len();
[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/queue.rs:198:11
[INFO] [stdout]     |
[INFO] [stdout] 198 |     port: Receiver<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]     |           ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::Receiver;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/queue.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |     work_count: uint,
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/queue.rs:208:30
[INFO] [stdout]     |
[INFO] [stdout] 208 |     pub fn new(thread_count: 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/queue.rs:211:50
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let (supervisor_chan, supervisor_port) = channel();
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::channel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:213:18
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for i in range(0, thread_count) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `channel` in this scope
[INFO] [stdout]    --> src/queue.rs:214:46
[INFO] [stdout]     |
[INFO] [stdout] 214 |             let (worker_chan, worker_port) = channel();
[INFO] [stdout]     |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::channel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:232:18
[INFO] [stdout]     |
[INFO] [stdout] 232 |         for i in range(0, thread_count) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:233:22
[INFO] [stdout]     |
[INFO] [stdout] 233 |             for j in range(0, thread_count) {
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/queue.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(proc() {
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for _ in range(0, self.workers.len()) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: variant `SeqCst` is private
[INFO] [stdout]   --> src/queue.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, SeqCst};
[INFO] [stdout]    |                                     ^^^^^^ private variant
[INFO] [stdout]    |
[INFO] [stdout] note: the variant `SeqCst` is defined here
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/sync/atomic.rs:225:5
[INFO] [stdout] help: import `SeqCst` directly
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, core::sync::atomic::Ordering::SeqCst};
[INFO] [stdout]    |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/queue.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     mem::uninitialized()
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:23
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(missing_docs, warnings)]
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/queue.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     ReturnDeque(uint, Worker<WorkUnit<QueueData, WorkData>>)
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope
[INFO] [stdout]   --> src/queue.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     chan: Sender<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 |     chan: Send<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     index: 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/queue.rs:65:11
[INFO] [stdout]    |
[INFO] [stdout] 65 |     port: Receiver<WorkerMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:67:11
[INFO] [stdout]    |
[INFO] [stdout] 67 |     chan: Sender<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 67 |     chan: Send<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]    |           ~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  + 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/queue.rs:108:66
[INFO] [stdout]     |
[INFO] [stdout] 108 | ...                   let victim = (self.rng.next_u32() as uint) % self.other_deques.len();
[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/queue.rs:198:11
[INFO] [stdout]     |
[INFO] [stdout] 198 |     port: Receiver<SupervisorMsg<QueueData, WorkData>>,
[INFO] [stdout]     |           ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::Receiver;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/queue.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |     work_count: uint,
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/queue.rs:208:30
[INFO] [stdout]     |
[INFO] [stdout] 208 |     pub fn new(thread_count: 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/queue.rs:211:50
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let (supervisor_chan, supervisor_port) = channel();
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::channel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:213:18
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for i in range(0, thread_count) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `channel` in this scope
[INFO] [stdout]    --> src/queue.rs:214:46
[INFO] [stdout]     |
[INFO] [stdout] 214 |             let (worker_chan, worker_port) = channel();
[INFO] [stdout]     |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::sync::mpsc::channel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:232:18
[INFO] [stdout]     |
[INFO] [stdout] 232 |         for i in range(0, thread_count) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:233:22
[INFO] [stdout]     |
[INFO] [stdout] 233 |             for j in range(0, thread_count) {
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/queue.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(proc() {
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/queue.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for _ in range(0, self.workers.len()) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 9   + use std::slice::range;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: variant `SeqCst` is private
[INFO] [stdout]   --> src/queue.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, SeqCst};
[INFO] [stdout]    |                                     ^^^^^^ private variant
[INFO] [stdout]    |
[INFO] [stdout] note: the variant `SeqCst` is defined here
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/sync/atomic.rs:225:5
[INFO] [stdout] help: import `SeqCst` directly
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::sync::atomic::{AtomicUint, core::sync::atomic::Ordering::SeqCst};
[INFO] [stdout]    |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/queue.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     mem::uninitialized()
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:23
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![deny(missing_docs, warnings)]
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `Vec<WorkerThread<_, _>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/queue.rs:241:31
[INFO] [stdout]     |
[INFO] [stdout] 241 |         for thread in threads.into_iter() {
[INFO] [stdout]     |                               ^^^^^^^^^ method cannot be called on `Vec<WorkerThread<_, _>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]    --> src/queue.rs:242:19
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(proc() {
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/queue.rs:263:43
[INFO] [stdout]     |
[INFO] [stdout] 263 |             &Some(ref mut deque) => deque.push(work_unit),
[INFO] [stdout]     |                                           ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `Vec<WorkerThread<_, _>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/queue.rs:241:31
[INFO] [stdout]     |
[INFO] [stdout] 241 |         for thread in threads.into_iter() {
[INFO] [stdout]     |                               ^^^^^^^^^ method cannot be called on `Vec<WorkerThread<_, _>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]    --> src/queue.rs:242:19
[INFO] [stdout]     |
[INFO] [stdout] 242 |             spawn(proc() {
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/queue.rs:263:43
[INFO] [stdout]     |
[INFO] [stdout] 263 |             &Some(ref mut deque) => deque.push(work_unit),
[INFO] [stdout]     |                                           ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter_mut` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:272:36
[INFO] [stdout]     |
[INFO] [stdout] 272 |         for worker in self.workers.iter_mut() {
[INFO] [stdout]     |                                    ^^^^^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter_mut` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:272:36
[INFO] [stdout]     |
[INFO] [stdout] 272 |         for worker in self.workers.iter_mut() {
[INFO] [stdout]     |                                    ^^^^^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:282:36
[INFO] [stdout]     |
[INFO] [stdout] 282 |         for worker in self.workers.iter() {
[INFO] [stdout]     |                                    ^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<WorkerInfo<QueueData, WorkData>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/queue.rs:287:40
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct WorkerInfo<QueueData, WorkData> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `WorkerInfo<QueueData, WorkData>: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 287 |         for _ in range(0, self.workers.len()) {
[INFO] [stdout]     |                                        ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `WorkerInfo<QueueData, WorkData>: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:282:36
[INFO] [stdout]     |
[INFO] [stdout] 282 |         for worker in self.workers.iter() {
[INFO] [stdout]     |                                    ^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<WorkerInfo<QueueData, WorkData>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/queue.rs:287:40
[INFO] [stdout]     |
[INFO] [stdout] 51  | struct WorkerInfo<QueueData, WorkData> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `WorkerInfo<QueueData, WorkData>: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 287 |         for _ in range(0, self.workers.len()) {
[INFO] [stdout]     |                                        ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `WorkerInfo<QueueData, WorkData>: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:297:36
[INFO] [stdout]     |
[INFO] [stdout] 297 |         for worker in self.workers.iter() {
[INFO] [stdout]     |                                    ^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/queue.rs:297:36
[INFO] [stdout]     |
[INFO] [stdout] 297 |         for worker in self.workers.iter() {
[INFO] [stdout]     |                                    ^^^^ method not found in `Vec<WorkerInfo<QueueData, WorkData>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0408, E0412, E0425, E0432, E0463, E0496, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0408, E0412, E0425, E0432, E0463, E0496, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `load` (lib test) due to 37 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `load` (lib) due to 37 previous errors
[INFO] running `Command { std: "docker" "inspect" "208328e52540c194837ffb3082ff39a3a21d20f9f4de01c50926bf6c55355fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "208328e52540c194837ffb3082ff39a3a21d20f9f4de01c50926bf6c55355fe2", kill_on_drop: false }`
[INFO] [stdout] 208328e52540c194837ffb3082ff39a3a21d20f9f4de01c50926bf6c55355fe2
