[INFO] cloning repository https://github.com/dnguyen-23/SigFigs-Error-Calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dnguyen-23/SigFigs-Error-Calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnguyen-23%2FSigFigs-Error-Calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnguyen-23%2FSigFigs-Error-Calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5c17c739c6c1a4bd69f618ffd99e1951b02f058 [INFO] checking dnguyen-23/SigFigs-Error-Calculator against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnguyen-23%2FSigFigs-Error-Calculator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator [INFO] finished tweaking git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator [INFO] tweaked toml for git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dnguyen-23/SigFigs-Error-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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking dnguyen-23/SigFigs-Error-Calculator against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnguyen-23%2FSigFigs-Error-Calculator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator [INFO] finished tweaking git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator [INFO] tweaked toml for git repo https://github.com/dnguyen-23/SigFigs-Error-Calculator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dnguyen-23/SigFigs-Error-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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b6ab1a09c24c001db74dc95ec3f5ade7511b92f44dc627e044257ef9ae3cbe8 [INFO] running `Command { std: "docker" "start" "-a" "1b6ab1a09c24c001db74dc95ec3f5ade7511b92f44dc627e044257ef9ae3cbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b6ab1a09c24c001db74dc95ec3f5ade7511b92f44dc627e044257ef9ae3cbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6ab1a09c24c001db74dc95ec3f5ade7511b92f44dc627e044257ef9ae3cbe8", kill_on_drop: false }` [INFO] [stdout] 1b6ab1a09c24c001db74dc95ec3f5ade7511b92f44dc627e044257ef9ae3cbe8 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d45eaaa132ad5d909bb74e6513fcb68a9d470e9527a2cedfb69d0a6ff5e5c9 [INFO] running `Command { std: "docker" "start" "-a" "a5d45eaaa132ad5d909bb74e6513fcb68a9d470e9527a2cedfb69d0a6ff5e5c9", kill_on_drop: false }` [INFO] [stderr] Checking Error_Calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut diff: Vec<[String; 3]> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut diff: Vec<[String; 3]> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result_str` is never read [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut result_str = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let mut error: f32 = (error1.parse::().unwrap().powf(2.0) + error2.parse::().unwrap().powf(2.0)).powf(0.5); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | for (idx, letter) in raw_str_error.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | for (idx, letter) in raw_str_error.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut error = error1.parse::().unwrap() * constant as f64; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:497:10 [INFO] [stdout] | [INFO] [stdout] 497 | for (idx, value) in number.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut n_dec_idx = number.find(".").unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let mut e_dec_idx = error.find(".").unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let mut e_dec_places = (error[e_dec_idx..].len() as u32 - 1_u32) as i32; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_number` is never used [INFO] [stdout] --> src/main.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn print_number(msmt_vector: & Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Error_Calc` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `error_calc` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut diff: Vec<[String; 3]> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut diff: Vec<[String; 3]> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result_str` is never read [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut result_str = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let mut error: f32 = (error1.parse::().unwrap().powf(2.0) + error2.parse::().unwrap().powf(2.0)).powf(0.5); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | for (idx, letter) in raw_str_error.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | for (idx, letter) in raw_str_error.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut error = error1.parse::().unwrap() * constant as f64; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:497:10 [INFO] [stdout] | [INFO] [stdout] 497 | for (idx, value) in number.chars().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut n_dec_idx = number.find(".").unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let mut e_dec_idx = error.find(".").unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let mut e_dec_places = (error[e_dec_idx..].len() as u32 - 1_u32) as i32; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_number` is never used [INFO] [stdout] --> src/main.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn print_number(msmt_vector: & Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Error_Calc` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `error_calc` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "a5d45eaaa132ad5d909bb74e6513fcb68a9d470e9527a2cedfb69d0a6ff5e5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d45eaaa132ad5d909bb74e6513fcb68a9d470e9527a2cedfb69d0a6ff5e5c9", kill_on_drop: false }` [INFO] [stdout] a5d45eaaa132ad5d909bb74e6513fcb68a9d470e9527a2cedfb69d0a6ff5e5c9