[INFO] cloning repository https://github.com/jacquesrott/rust-pi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacquesrott/rust-pi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 397b301b480d332e9d84346969af2a4b325ca5f4
[INFO] testing jacquesrott/rust-pi against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jacquesrott/rust-pi on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jacquesrott/rust-pi
[INFO] finished tweaking git repo https://github.com/jacquesrott/rust-pi
[INFO] tweaked toml for git repo https://github.com/jacquesrott/rust-pi written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/jacquesrott/rust-pi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffb0684707538a13175a824b6aacc3a91b1f0058280791dd40ad56db70ed0d2d
[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" "ffb0684707538a13175a824b6aacc3a91b1f0058280791dd40ad56db70ed0d2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffb0684707538a13175a824b6aacc3a91b1f0058280791dd40ad56db70ed0d2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffb0684707538a13175a824b6aacc3a91b1f0058280791dd40ad56db70ed0d2d", kill_on_drop: false }`
[INFO] [stdout] ffb0684707538a13175a824b6aacc3a91b1f0058280791dd40ad56db70ed0d2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", 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] 031346b1c9627bddd641289bbfbef31dcac8888f2b2ece928a77da39eb884a87
[INFO] running `Command { std: "docker" "start" "-a" "031346b1c9627bddd641289bbfbef31dcac8888f2b2ece928a77da39eb884a87", kill_on_drop: false }`
[INFO] [stderr]    Compiling pi v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> src/main.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         spawn(proc() {
[INFO] [stdout]    |                     -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|s| from_str::<uint>(s[])
[INFO] [stdout]    |                                     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |             .map(|c| from_str::<uint>(c[])
[INFO] [stdout]    |                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use getopts::{optopt, optflag, getopts, usage};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |       |        |
[INFO] [stdout]   |               |       |        no `getopts` in the root
[INFO] [stdout]   |               |       no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step_inclusive`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter::range_step_inclusive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_step_inclusive` in `iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         Err(e) => fail!(e.to_string()),
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 {
[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/main.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 {
[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/main.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute(steps: uint, threads: uint) -> f64 {
[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/main.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute(steps: uint, threads: uint) -> f64 {
[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/main.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Send<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::sync::mpsc::Sender;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope
[INFO] [stdout]   --> src/main.rs:28:43
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::ops::Receiver;
[INFO] [stdout]    |
[INFO] [stdout] 5  | 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/main.rs:28:60
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | 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/main.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for thread in range(0, threads) {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         spawn(proc() {
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::thread::spawn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]   --> src/main.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         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/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for _ in range(0, threads) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `num_cpus` in module `os`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         os::num_cpus()
[INFO] [stdout]    |             ^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]   |
[INFO] [stdout]   = help: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<String>` in the current scope
[INFO] [stdout]   --> src/main.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let matches = match getopts(args.tail(), opts) {
[INFO] [stdout]    |                                      ^^^^ method not found in `Vec<String>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 93 |     println!("{}", f64::to_string(pi));
[INFO] [stdout]    |                                   ^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected `&f64`, found `f64`
[INFO] [stdout]    |                                   help: consider borrowing here: `&pi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0554, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pi` due to 24 previous errors
[INFO] running `Command { std: "docker" "inspect" "031346b1c9627bddd641289bbfbef31dcac8888f2b2ece928a77da39eb884a87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "031346b1c9627bddd641289bbfbef31dcac8888f2b2ece928a77da39eb884a87", kill_on_drop: false }`
[INFO] [stdout] 031346b1c9627bddd641289bbfbef31dcac8888f2b2ece928a77da39eb884a87
