[INFO] fetching crate load 0.0.2... [INFO] checking load-0.0.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate load 0.0.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate load 0.0.2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a4771ec0969ecdb74c1d9da98f6c19f8e62cf5f16ce1aed121e7c0903470db8 [INFO] running `Command { std: "docker" "start" "-a" "6a4771ec0969ecdb74c1d9da98f6c19f8e62cf5f16ce1aed121e7c0903470db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a4771ec0969ecdb74c1d9da98f6c19f8e62cf5f16ce1aed121e7c0903470db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4771ec0969ecdb74c1d9da98f6c19f8e62cf5f16ce1aed121e7c0903470db8", kill_on_drop: false }` [INFO] [stdout] 6a4771ec0969ecdb74c1d9da98f6c19f8e62cf5f16ce1aed121e7c0903470db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 830aef5cdeef9704d7e96b8911a5f6c14c0f47c8f47aa58f2b2d9bcc89418dd2 [INFO] running `Command { std: "docker" "start" "-a" "830aef5cdeef9704d7e96b8911a5f6c14c0f47c8f47aa58f2b2d9bcc89418dd2", 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::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[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: 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>) [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>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/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>, [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>, [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>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/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>, [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:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | ReturnDeque(uint, Worker>) [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: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>, [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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | chan: Sender>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/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>, [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: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: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 `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[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/queue.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | port: Receiver>, [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[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[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/queue.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | chan: Sender>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/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>, [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[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[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[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[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/queue.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | port: Receiver>, [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[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[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 `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[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[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/506512391b1a75ae450d36c9420978402a91abcc/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[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/506512391b1a75ae450d36c9420978402a91abcc/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[E0599]: the method `into_iter` exists for struct `Vec>`, 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>` 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>`, 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>` 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>` [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>` [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>` [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>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/queue.rs:287:40 [INFO] [stdout] | [INFO] [stdout] 51 | struct WorkerInfo { [INFO] [stdout] | -------------------------------------- doesn't satisfy `WorkerInfo: 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: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/queue.rs:287:40 [INFO] [stdout] | [INFO] [stdout] 51 | struct WorkerInfo { [INFO] [stdout] | -------------------------------------- doesn't satisfy `WorkerInfo: 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: 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>` [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>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 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 35 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 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `load` (lib) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "830aef5cdeef9704d7e96b8911a5f6c14c0f47c8f47aa58f2b2d9bcc89418dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830aef5cdeef9704d7e96b8911a5f6c14c0f47c8f47aa58f2b2d9bcc89418dd2", kill_on_drop: false }` [INFO] [stdout] 830aef5cdeef9704d7e96b8911a5f6c14c0f47c8f47aa58f2b2d9bcc89418dd2 [INFO] checking load-0.0.2 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate load 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate load 0.0.2 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dda5030b38b861628847a22fb17e798b0282e789a61d87c6101ed1a0152c4dd [INFO] running `Command { std: "docker" "start" "-a" "0dda5030b38b861628847a22fb17e798b0282e789a61d87c6101ed1a0152c4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dda5030b38b861628847a22fb17e798b0282e789a61d87c6101ed1a0152c4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dda5030b38b861628847a22fb17e798b0282e789a61d87c6101ed1a0152c4dd", kill_on_drop: false }` [INFO] [stdout] 0dda5030b38b861628847a22fb17e798b0282e789a61d87c6101ed1a0152c4dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa654b6600da9aefb5a6884dd5a14271497455aee6f934216cc92a3bf90ad57 [INFO] running `Command { std: "docker" "start" "-a" "0aa654b6600da9aefb5a6884dd5a14271497455aee6f934216cc92a3bf90ad57", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "0aa654b6600da9aefb5a6884dd5a14271497455aee6f934216cc92a3bf90ad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa654b6600da9aefb5a6884dd5a14271497455aee6f934216cc92a3bf90ad57", kill_on_drop: false }` [INFO] [stdout] 0aa654b6600da9aefb5a6884dd5a14271497455aee6f934216cc92a3bf90ad57