[INFO] cloning repository https://github.com/cynicalart/simple_calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cynicalart/simple_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcynicalart%2Fsimple_calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcynicalart%2Fsimple_calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a3b7e98af636dee3f92215cf0b50a39796a958b6
[INFO] checking cynicalart/simple_calculator against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcynicalart%2Fsimple_calculator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cynicalart/simple_calculator
[INFO] finished tweaking git repo https://github.com/cynicalart/simple_calculator
[INFO] tweaked toml for git repo https://github.com/cynicalart/simple_calculator written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cynicalart/simple_calculator on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cynicalart/simple_calculator 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281
[INFO] running `Command { std: "docker" "start" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281", 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" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking simple_calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/calculus.rs:447:10
[INFO] [stdout]     |
[INFO] [stdout] 447 |     for (i, vector) in product_rule_vec.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:440:31
[INFO] [stdout]     |
[INFO] [stdout] 440 |     let mut multiplier: f64 = 0.0;
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 448 |         multiplier = simplify_multiplier(vector.to_vec());
[INFO] [stdout]     |         ------------------------------------------------- `multiplier` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:452:9
[INFO] [stdout]     |
[INFO] [stdout] 452 |         multiplier = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:441:29
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut exponent: f64 = 0.0;
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 449 |         exponent = simplify_exponent(vector.to_vec());
[INFO] [stdout]     |         --------------------------------------------- `exponent` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:453:9
[INFO] [stdout]     |
[INFO] [stdout] 453 |         exponent = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:444:35
[INFO] [stdout]     |
[INFO] [stdout] 444 |     let mut new_multiplier: f64 = 0.0;
[INFO] [stdout]     |                                   ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 469 |     new_multiplier = multipliers_vec[0] * multipliers_vec[3];
[INFO] [stdout]     |     -------------------------------------------------------- `new_multiplier` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:445:33
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut new_exponent: f64 = 0.0;
[INFO] [stdout]     |                                 ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 470 |     new_exponent = exponents_vec[0] + exponents_vec[3];
[INFO] [stdout]     |     -------------------------------------------------- `new_exponent` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplied_derivative` is never read
[INFO] [stdout]    --> src/calculus.rs:535:5
[INFO] [stdout]     |
[INFO] [stdout] 535 |     multiplied_derivative = Vec::new();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `derivative`
[INFO] [stdout]   --> src/main.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let derivative = calculus::calculate_derivative(expression_vec);
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_derivative`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPERATORS_ARR` is never used
[INFO] [stdout]  --> src/calculus.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const OPERATORS_ARR: [char; 5] = ['^', '*', '/', '+', '-'];
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCTIONS_ARR` is never used
[INFO] [stdout]  --> src/calculus.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const FUNCTIONS_ARR: [&str; 16] = ["log", "ln", "sin", "cos", "tan", "csc", "sec", "cot", "arcsin", "arccos", "arctan", "arccsc", "ar...
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EULER` is never used
[INFO] [stdout]  --> src/calculus.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const EULER: f64 = std::f64::consts::E;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/calculus.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const PI: f64 = std::f64::consts::PI;
[INFO] [stdout]   |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/calculus.rs:447:10
[INFO] [stdout]     |
[INFO] [stdout] 447 |     for (i, vector) in product_rule_vec.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:440:31
[INFO] [stdout]     |
[INFO] [stdout] 440 |     let mut multiplier: f64 = 0.0;
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 448 |         multiplier = simplify_multiplier(vector.to_vec());
[INFO] [stdout]     |         ------------------------------------------------- `multiplier` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:452:9
[INFO] [stdout]     |
[INFO] [stdout] 452 |         multiplier = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:441:29
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut exponent: f64 = 0.0;
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 449 |         exponent = simplify_exponent(vector.to_vec());
[INFO] [stdout]     |         --------------------------------------------- `exponent` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:453:9
[INFO] [stdout]     |
[INFO] [stdout] 453 |         exponent = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_multiplier` is never read
[INFO] [stdout]    --> src/calculus.rs:444:35
[INFO] [stdout]     |
[INFO] [stdout] 444 |     let mut new_multiplier: f64 = 0.0;
[INFO] [stdout]     |                                   ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 469 |     new_multiplier = multipliers_vec[0] * multipliers_vec[3];
[INFO] [stdout]     |     -------------------------------------------------------- `new_multiplier` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_exponent` is never read
[INFO] [stdout]    --> src/calculus.rs:445:33
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let mut new_exponent: f64 = 0.0;
[INFO] [stdout]     |                                 ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 470 |     new_exponent = exponents_vec[0] + exponents_vec[3];
[INFO] [stdout]     |     -------------------------------------------------- `new_exponent` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `multiplied_derivative` is never read
[INFO] [stdout]    --> src/calculus.rs:535:5
[INFO] [stdout]     |
[INFO] [stdout] 535 |     multiplied_derivative = Vec::new();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `derivative`
[INFO] [stdout]   --> src/main.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let derivative = calculus::calculate_derivative(expression_vec);
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_derivative`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPERATORS_ARR` is never used
[INFO] [stdout]  --> src/calculus.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const OPERATORS_ARR: [char; 5] = ['^', '*', '/', '+', '-'];
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCTIONS_ARR` is never used
[INFO] [stdout]  --> src/calculus.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const FUNCTIONS_ARR: [&str; 16] = ["log", "ln", "sin", "cos", "tan", "csc", "sec", "cot", "arcsin", "arccos", "arctan", "arccsc", "ar...
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EULER` is never used
[INFO] [stdout]  --> src/calculus.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const EULER: f64 = std::f64::consts::E;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/calculus.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const PI: f64 = std::f64::consts::PI;
[INFO] [stdout]   |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] running `Command { std: "docker" "inspect" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281", kill_on_drop: false }`
[INFO] [stdout] 62ddfc3c82643b549e1352389599207ec52fe985c455fe458d4aa8b67ed56281
