[INFO] cloning repository https://github.com/gab-umich/ellipse_circumference
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gab-umich/ellipse_circumference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab-umich%2Fellipse_circumference", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab-umich%2Fellipse_circumference'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6db5d4a72f5bb252a490761c1418250a34eabbe
[INFO] testing gab-umich/ellipse_circumference against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab-umich%2Fellipse_circumference" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gab-umich/ellipse_circumference
[INFO] finished tweaking git repo https://github.com/gab-umich/ellipse_circumference
[INFO] tweaked toml for git repo https://github.com/gab-umich/ellipse_circumference written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gab-umich/ellipse_circumference on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gab-umich/ellipse_circumference 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76
[INFO] running `Command { std: "docker" "start" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ellipse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: missing parameters for function definition
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout]   |                                ^
[INFO] [stdout]   |
[INFO] [stdout] help: add a parameter list
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn approx_curve_length<F, G, H>() -> f64(
[INFO] [stdout]   |                                ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iter` in this scope
[INFO] [stdout]   --> src/main.rs:10:47
[INFO] [stdout]    |
[INFO] [stdout] 10 |     println!("Running with {:?} iterations.", iter);
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `a` in this scope
[INFO] [stdout]   --> src/main.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut buf : [f64; 2] = [0.0, curve(a)];
[INFO] [stdout]    |                                          ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `b` in this scope
[INFO] [stdout]   --> src/main.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let delta = (b-a) / (iter as f64);
[INFO] [stdout]    |                  ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `a` in this scope
[INFO] [stdout]   --> src/main.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let delta = (b-a) / (iter as f64);
[INFO] [stdout]    |                    ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iter` in this scope
[INFO] [stdout]   --> src/main.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let delta = (b-a) / (iter as f64);
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iter` in this scope
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for i in 1..iter+1 {
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `a` in this scope
[INFO] [stdout]   --> src/main.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         buf[1] = curve(a + delta * i as f64);
[INFO] [stdout]    |                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 17 -         buf[1] = curve(a + delta * i as f64);
[INFO] [stdout] 17 +         buf[1] = curve(i + delta * i as f64);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `a` in this scope
[INFO] [stdout]   --> src/main.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let theta_avg = a + delta * (i as f64 - 0.5);
[INFO] [stdout]    |                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 -         let theta_avg = a + delta * (i as f64 - 0.5);
[INFO] [stdout] 18 +         let theta_avg = i + delta * (i as f64 - 0.5);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:42
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |                                          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: named parameters in parenthesized generic argument lists are experimental
[INFO] [stdout]  --> src/main.rs:6:58
[INFO] [stdout]   |
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |                                                          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #158499 <https://github.com/rust-lang/rust/issues/158499> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/main.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
[INFO] [stdout]  --> src/main.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout]   |  ____________________________________^
[INFO] [stdout] 6 | |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout] 7 | | ) where
[INFO] [stdout]   | |_^ only `Fn` traits may use parentheses
[INFO] [stdout]   |
[INFO] [stdout] help: use angle brackets instead
[INFO] [stdout]   |
[INFO] [stdout] 5 - fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout] 6 -     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout] 7 - ) where
[INFO] [stdout] 5 + fn approx_curve_length<F, G, H> -> f64<a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H> where
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0109]: type arguments are not allowed on builtin type `f64`
[INFO] [stdout]  --> src/main.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout]   |                                    --- not allowed on builtin type `f64`
[INFO] [stdout] 6 |     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout]   |        ^^^     ^^^        ^^^         ^               ^               ^ type argument not allowed
[INFO] [stdout]   |
[INFO] [stdout] help: primitive type `f64` doesn't have generic parameters
[INFO] [stdout]   |
[INFO] [stdout] 5 - fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout] 6 -     a: f64, b: f64, iter: u32, curve: F, incrementor: G, accumulator: H
[INFO] [stdout] 7 - ) where
[INFO] [stdout] 5 + fn approx_curve_length<F, G, H> -> f64 where
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `curve` in this scope
[INFO] [stdout]   --> src/main.rs:12:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut buf : [f64; 2] = [0.0, curve(a)];
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `curve` in this scope
[INFO] [stdout]   --> src/main.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |         buf[1] = curve(a + delta * i as f64);
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `incrementor` in this scope
[INFO] [stdout]   --> src/main.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |         count = count + incrementor(buf[0], buf[1], delta, theta_avg);
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `accumulator` in this scope
[INFO] [stdout]   --> src/main.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let result = accumulator(count, delta) * 2.0;
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 6 arguments were supplied
[INFO] [stdout]   --> src/main.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let length = approx_curve_length(a, b, *iter, f, inc, acc);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:5:4
[INFO] [stdout]    |
[INFO] [stdout]  5 | fn approx_curve_length<F, G, H> -> f64(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 31 -         let length = approx_curve_length(a, b, *iter, f, inc, acc);
[INFO] [stdout] 31 +         let length = approx_curve_length();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grid_incre`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let grid_incre = |l: f64, r:f64, d: f64, _: f64| {
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_incre`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grid_accu`
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let grid_accu = |x: f64, d: f64| -> f64 { x * d };
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_accu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0109, E0214, E0425, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ellipse` (bin "ellipse") due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76", kill_on_drop: false }`
[INFO] [stdout] 61458626c3e8f811ca3a50a3ee40a877f985cfa2895c78b3aec7f706f0f84b76
