[INFO] fetching crate break_infinity 0.1.0... [INFO] checking break_infinity-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate break_infinity 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate break_infinity 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate break_infinity 0.1.0 [INFO] finished tweaking crates.io crate break_infinity 0.1.0 [INFO] tweaked toml for crates.io crate break_infinity 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee07dffbaf281d0f79f1483b53bf0f2cc01e737fcf227bbb3ffd16197dd89fe7 [INFO] running `Command { std: "docker" "start" "-a" "ee07dffbaf281d0f79f1483b53bf0f2cc01e737fcf227bbb3ffd16197dd89fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee07dffbaf281d0f79f1483b53bf0f2cc01e737fcf227bbb3ffd16197dd89fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee07dffbaf281d0f79f1483b53bf0f2cc01e737fcf227bbb3ffd16197dd89fe7", kill_on_drop: false }` [INFO] [stdout] ee07dffbaf281d0f79f1483b53bf0f2cc01e737fcf227bbb3ffd16197dd89fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37697ab06c588e82dd15bf4b433e7ffd9fb73405c886c1604543ba149b98ecdf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37697ab06c588e82dd15bf4b433e7ffd9fb73405c886c1604543ba149b98ecdf", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking break_infinity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `break_infinity` [INFO] [stdout] --> src/lib.rs:1279:6 [INFO] [stdout] | [INFO] [stdout] 1279 | use break_infinity as bi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no external crate `break_infinity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAN` in this scope [INFO] [stdout] --> src/lib.rs:1291:22 [INFO] [stdout] | [INFO] [stdout] 1291 | assert_eq!(bi::new(NAN).to_string(), "NaN"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f32::NAN; [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f64::NAN; [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::NAN; [INFO] [stdout] | [INFO] [stdout] 1279 | use std::f32::NAN; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITY` in this scope [INFO] [stdout] --> src/lib.rs:1292:22 [INFO] [stdout] | [INFO] [stdout] 1292 | assert_eq!(bi::new(INFINITY).to_string(), "Infinity"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use std::f32::INFINITY; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEG_INFINITY` in this scope [INFO] [stdout] --> src/lib.rs:1293:22 [INFO] [stdout] | [INFO] [stdout] 1293 | assert_eq!(bi::new(NEG_INFINITY).to_string(), "-Infinity"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f32::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use core::f64::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] 1279 | use std::f32::NEG_INFINITY; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in this scope [INFO] [stdout] --> src/lib.rs:1295:14 [INFO] [stdout] | [INFO] [stdout] 1295 | assert_eq!(new(100.0).to_string(), "100"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::new; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in this scope [INFO] [stdout] --> src/lib.rs:1296:14 [INFO] [stdout] | [INFO] [stdout] 1296 | assert_eq!(new(1e12).to_string(), "1000000000000"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::new; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in this scope [INFO] [stdout] --> src/lib.rs:1297:14 [INFO] [stdout] | [INFO] [stdout] 1297 | assert_eq!(new(1e308).to_string(), "1e+308"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1279 | use crate::new; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `break_infinity` [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `pad_end` [INFO] [stdout] --> src/lib.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn pad_end(string: String, max_length: i32, fill_string: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fixed` [INFO] [stdout] --> src/lib.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn to_fixed(num: f64, places: i32) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fixed_num` [INFO] [stdout] --> src/lib.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn to_fixed_num(num: f64, places: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/lib.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_exponential` [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | fn to_exponential(&self, mut places: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_fixed` [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | fn to_fixed(&self, places: i32) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_precision` [INFO] [stdout] --> src/lib.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | fn to_precision(&self, places: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mantissa_with_decimal_places` [INFO] [stdout] --> src/lib.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | fn mantissa_with_decimal_places(&self, places: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_of` [INFO] [stdout] --> src/lib.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | fn value_of(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/lib.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string_with_decimal_places` [INFO] [stdout] --> src/lib.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | fn to_string_with_decimal_places(&self, places: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/lib.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | fn negate(&self) -> Decimal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negated` [INFO] [stdout] --> src/lib.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | fn negated(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/lib.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn plus(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/lib.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | fn subtract(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minus` [INFO] [stdout] --> src/lib.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | fn minus(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | fn multiply(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `times` [INFO] [stdout] --> src/lib.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | fn times(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/lib.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | fn divide(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide_by` [INFO] [stdout] --> src/lib.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | fn divide_by(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divided_by` [INFO] [stdout] --> src/lib.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | fn divided_by(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reciprocal` [INFO] [stdout] --> src/lib.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | fn reciprocal(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reciprocate` [INFO] [stdout] --> src/lib.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | fn reciprocate(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare` [INFO] [stdout] --> src/lib.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | fn compare(&self, decimal: &Decimal) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equals` [INFO] [stdout] --> src/lib.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | fn equals(&self, decimal: &Decimal) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `not_equals` [INFO] [stdout] --> src/lib.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | fn not_equals(&self, decimal: &Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `less_than_or_equal_to` [INFO] [stdout] --> src/lib.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | fn less_than_or_equal_to(&self, other: &Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `less_han` [INFO] [stdout] --> src/lib.rs:637:5 [INFO] [stdout] | [INFO] [stdout] 637 | fn less_han(&self, other: &Decimal) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greater_than_or_equal_to` [INFO] [stdout] --> src/lib.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 641 | fn greater_than_or_equal_to(&self, other: &Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greater_than` [INFO] [stdout] --> src/lib.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | fn greater_than(&self, other: &Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare_tolerance` [INFO] [stdout] --> src/lib.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | fn compare_tolerance(&self, decimal: &Decimal, tolerance: &Decimal) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `logarithm` [INFO] [stdout] --> src/lib.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 737 | fn logarithm(&self, base: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow_base` [INFO] [stdout] --> src/lib.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | fn pow_base(&self, decimal: &Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decimal_places` [INFO] [stdout] --> src/lib.rs:896:5 [INFO] [stdout] | [INFO] [stdout] 896 | fn decimal_places(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ascension_penalty` [INFO] [stdout] --> src/lib.rs:903:5 [INFO] [stdout] | [INFO] [stdout] 903 | fn ascension_penalty(&self, ascensions: f64) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `egg` [INFO] [stdout] --> src/lib.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | fn egg(&self) -> Decimal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "37697ab06c588e82dd15bf4b433e7ffd9fb73405c886c1604543ba149b98ecdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37697ab06c588e82dd15bf4b433e7ffd9fb73405c886c1604543ba149b98ecdf", kill_on_drop: false }` [INFO] [stdout] 37697ab06c588e82dd15bf4b433e7ffd9fb73405c886c1604543ba149b98ecdf