[INFO] updating cached repository https://github.com/jacquesrott/rust-pi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 397b301b480d332e9d84346969af2a4b325ca5f4 [INFO] testing jacquesrott/rust-pi against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacquesrott/rust-pi on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/jacquesrott/rust-pi already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac4363b30e2a1e18fed25fcd9fc98fc229c49944008aa044a18228cde71f76a1 [INFO] running `"docker" "start" "-a" "ac4363b30e2a1e18fed25fcd9fc98fc229c49944008aa044a18228cde71f76a1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pi v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | spawn(proc() { [INFO] [stderr] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stderr] | | [INFO] [stderr] | help: missing `,` [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/main.rs:70:37 [INFO] [stderr] | [INFO] [stderr] 70 | .map(|s| from_str::(s[]) [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/main.rs:82:41 [INFO] [stderr] | [INFO] [stderr] 82 | .map(|c| from_str::(c[]) [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use getopts::{optopt, optflag, getopts, usage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ no `usage` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `getopts` in the root [INFO] [stderr] | | no `optflag` in the root [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::range_step_inclusive` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::iter::range_step_inclusive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_step_inclusive` in `iter` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | Err(e) => fail!(e.to_string()), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | fn compute(steps: uint, threads: uint) -> f64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | fn compute(steps: uint, threads: uint) -> f64 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/main.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | let (sender, receiver): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 28 | let (sender, receiver): (Send, Receiver) = channel(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/main.rs:28:43 [INFO] [stderr] | [INFO] [stderr] 28 | let (sender, receiver): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/main.rs:28:60 [INFO] [stderr] | [INFO] [stderr] 28 | let (sender, receiver): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | for thread in range(0, threads) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | for _ in range(0, threads) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:55:33 [INFO] [stderr] | [INFO] [stderr] 55 | let args: Vec = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `num_cpus` in module `os` [INFO] [stderr] --> src/main.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | os::num_cpus() [INFO] [stderr] | ^^^^^^^^ not found in `os` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(slicing_syntax)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | let matches = match getopts(args.tail(), opts) { [INFO] [stderr] | ^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:93:35 [INFO] [stderr] | [INFO] [stderr] 93 | println!("{}", f64::to_string(pi)); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&f64`, found `f64` [INFO] [stderr] | help: consider borrowing here: `&pi` [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0554, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `pi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ac4363b30e2a1e18fed25fcd9fc98fc229c49944008aa044a18228cde71f76a1"` [INFO] running `"docker" "rm" "-f" "ac4363b30e2a1e18fed25fcd9fc98fc229c49944008aa044a18228cde71f76a1"` [INFO] [stdout] ac4363b30e2a1e18fed25fcd9fc98fc229c49944008aa044a18228cde71f76a1