[INFO] fetching crate load 0.0.2... [INFO] testing load-0.0.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate load 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate load 0.0.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12597736a8f79f3435760a1e313992662cda291ef499e0730792f5d9db8fa3da [INFO] running `Command { std: "docker" "start" "-a" "12597736a8f79f3435760a1e313992662cda291ef499e0730792f5d9db8fa3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12597736a8f79f3435760a1e313992662cda291ef499e0730792f5d9db8fa3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12597736a8f79f3435760a1e313992662cda291ef499e0730792f5d9db8fa3da", kill_on_drop: false }` [INFO] [stdout] 12597736a8f79f3435760a1e313992662cda291ef499e0730792f5d9db8fa3da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504202bca2e11337e600975515e1986a38f1a089bb7b1be89e53e553ff9102d5 [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" "504202bca2e11337e600975515e1986a38f1a089bb7b1be89e53e553ff9102d5", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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::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: `AtomicU8` [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: `?::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 a variant or a `const` item, consider making the path in the pattern qualified: `?::Empty` [INFO] [stdout] --> src/queue.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... Empty | Abort => { [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 `Sender` in this scope [INFO] [stdout] --> src/queue.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | chan: Sender>, [INFO] [stdout] | ^^^^^^ [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 one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Receiver; [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] | [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 `XorShiftRng` in this scope [INFO] [stdout] --> src/queue.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | rng: XorShiftRng, [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 one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Receiver; [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 `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[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] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [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: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0432, E0463, E0496, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `load` due to 31 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "504202bca2e11337e600975515e1986a38f1a089bb7b1be89e53e553ff9102d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504202bca2e11337e600975515e1986a38f1a089bb7b1be89e53e553ff9102d5", kill_on_drop: false }` [INFO] [stdout] 504202bca2e11337e600975515e1986a38f1a089bb7b1be89e53e553ff9102d5