[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] checking jacquesrott/rust-pi against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jacquesrott/rust-pi on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jacquesrott/rust-pi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92c39151835c6a42522cf156d4a4fc3153ebd00e209b5ca42f2f4a940465fcc1
[INFO] running `Command { std: "docker" "start" "-a" "92c39151835c6a42522cf156d4a4fc3153ebd00e209b5ca42f2f4a940465fcc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92c39151835c6a42522cf156d4a4fc3153ebd00e209b5ca42f2f4a940465fcc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92c39151835c6a42522cf156d4a4fc3153ebd00e209b5ca42f2f4a940465fcc1", kill_on_drop: false }`
[INFO] [stdout] 92c39151835c6a42522cf156d4a4fc3153ebd00e209b5ca42f2f4a940465fcc1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa19164ecdc251d0ce6055b445dbd51c6c10ba0c3254d2d5eaa4479d09a4b44c
[INFO] running `Command { std: "docker" "start" "-a" "fa19164ecdc251d0ce6055b445dbd51c6c10ba0c3254d2d5eaa4479d09a4b44c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking 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: 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[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: 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]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/core/src/marker.rs:95:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 -     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout] 28 +     let (sender, receiver): (Send<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::sync::mpmc::Sender;
[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::mpmc::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 one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::sync::mpmc::channel;
[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 `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] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 55 -     let args: Vec<String> = os::args();
[INFO] [stdout] 55 +     let args: Vec<String> = 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[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[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]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[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]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/core/src/marker.rs:95:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Send` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 -     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout] 28 +     let (sender, receiver): (Send<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::sync::mpmc::Sender;
[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::mpmc::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 one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::sync::mpmc::channel;
[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 `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] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 55 -     let args: Vec<String> = os::args();
[INFO] [stdout] 55 +     let args: Vec<String> = 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[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]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[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 `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[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 93 |     println!("{}", f64::to_string(pi));
[INFO] [stdout]    |                    -------------- ^^ expected `&f64`, found `f64`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/alloc/src/string.rs:2840:7
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 93 |     println!("{}", f64::to_string(&pi));
[INFO] [stdout]    |                                   +
[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]    |                    -------------- ^^ expected `&f64`, found `f64`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/alloc/src/string.rs:2840:7
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 93 |     println!("{}", f64::to_string(&pi));
[INFO] [stdout]    |                                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pi` (bin "pi") due to 21 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pi` (bin "pi" test) due to 21 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fa19164ecdc251d0ce6055b445dbd51c6c10ba0c3254d2d5eaa4479d09a4b44c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa19164ecdc251d0ce6055b445dbd51c6c10ba0c3254d2d5eaa4479d09a4b44c", kill_on_drop: false }`
[INFO] [stdout] fa19164ecdc251d0ce6055b445dbd51c6c10ba0c3254d2d5eaa4479d09a4b44c
