[INFO] cloning repository https://github.com/JanPrzystal/fixed_math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanPrzystal/fixed_math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanPrzystal%2Ffixed_math", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanPrzystal%2Ffixed_math'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9977a6bd8957cb8cbbd0c3dcda2c256ffd43ec72 [INFO] checking JanPrzystal/fixed_math against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanPrzystal%2Ffixed_math" "/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/JanPrzystal/fixed_math [INFO] finished tweaking git repo https://github.com/JanPrzystal/fixed_math [INFO] tweaked toml for git repo https://github.com/JanPrzystal/fixed_math written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JanPrzystal/fixed_math on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JanPrzystal/fixed_math 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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 [INFO] checking JanPrzystal/fixed_math against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanPrzystal%2Ffixed_math" "/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/JanPrzystal/fixed_math [INFO] finished tweaking git repo https://github.com/JanPrzystal/fixed_math [INFO] tweaked toml for git repo https://github.com/JanPrzystal/fixed_math written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JanPrzystal/fixed_math on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JanPrzystal/fixed_math 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ea7772639dea56aaa3609aacc201bd35072cbf424a403a383ab3987b08de060 [INFO] running `Command { std: "docker" "start" "-a" "2ea7772639dea56aaa3609aacc201bd35072cbf424a403a383ab3987b08de060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea7772639dea56aaa3609aacc201bd35072cbf424a403a383ab3987b08de060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea7772639dea56aaa3609aacc201bd35072cbf424a403a383ab3987b08de060", kill_on_drop: false }` [INFO] [stdout] 2ea7772639dea56aaa3609aacc201bd35072cbf424a403a383ab3987b08de060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80bd32588172529cfcf3c9362d71d36d3729dbfa7221ff4f6e3db4a9fe44c7fd [INFO] running `Command { std: "docker" "start" "-a" "80bd32588172529cfcf3c9362d71d36d3729dbfa7221ff4f6e3db4a9fe44c7fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fixed_math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `num32` should have an upper camel case name [INFO] [stdout] --> src/mixed_number.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct num32{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Num32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `num32` should have an upper camel case name [INFO] [stdout] --> src/mixed_number.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct num32{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Num32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll_number` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn poll_number(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRECISION` is never used [INFO] [stdout] --> src/mixed_number.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PRECISION: u8 = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRECISION_MASK` is never used [INFO] [stdout] --> src/mixed_number.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PRECISION_MASK: i32 = (1 << PRECISION) - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_decimal` is never used [INFO] [stdout] --> src/mixed_number.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_largest_decimal(mut number: i32) -> i32 {//shifts the number to the leftmost available position in the decimal system [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `num32` is never constructed [INFO] [stdout] --> src/mixed_number.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct num32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_float`, `from_decimal`, `split`, `to_int`, `to_float`, and `to_string` are never used [INFO] [stdout] --> src/mixed_number.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl num32{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | fn from_float (decimal: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn from_decimal (number: i32, digits_after_decimal: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn split(&self) -> (i32, i32){//return whole and fractional numbers [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn to_string(&self) -> String {//returns string with the number in decimal system [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll_number` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn poll_number(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRECISION` is never used [INFO] [stdout] --> src/mixed_number.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PRECISION: u8 = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRECISION_MASK` is never used [INFO] [stdout] --> src/mixed_number.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PRECISION_MASK: i32 = (1 << PRECISION) - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_largest_decimal` is never used [INFO] [stdout] --> src/mixed_number.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_largest_decimal(mut number: i32) -> i32 {//shifts the number to the leftmost available position in the decimal system [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `num32` is never constructed [INFO] [stdout] --> src/mixed_number.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct num32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_float`, `from_decimal`, `split`, `to_int`, `to_float`, and `to_string` are never used [INFO] [stdout] --> src/mixed_number.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl num32{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | fn from_float (decimal: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn from_decimal (number: i32, digits_after_decimal: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn split(&self) -> (i32, i32){//return whole and fractional numbers [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn to_int(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn to_float(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn to_string(&self) -> String {//returns string with the number in decimal system [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "80bd32588172529cfcf3c9362d71d36d3729dbfa7221ff4f6e3db4a9fe44c7fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bd32588172529cfcf3c9362d71d36d3729dbfa7221ff4f6e3db4a9fe44c7fd", kill_on_drop: false }` [INFO] [stdout] 80bd32588172529cfcf3c9362d71d36d3729dbfa7221ff4f6e3db4a9fe44c7fd