[INFO] fetching crate financial 1.1.2... [INFO] checking financial-1.1.2 against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] extracting crate financial 1.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate financial 1.1.2 on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate financial 1.1.2 [INFO] finished tweaking crates.io crate financial 1.1.2 [INFO] tweaked toml for crates.io crate financial 1.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24d33dacfc157425629af18c84cfff532d61bf63f077d37d18848451f65ca046 [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" "24d33dacfc157425629af18c84cfff532d61bf63f077d37d18848451f65ca046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24d33dacfc157425629af18c84cfff532d61bf63f077d37d18848451f65ca046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d33dacfc157425629af18c84cfff532d61bf63f077d37d18848451f65ca046", kill_on_drop: false }` [INFO] [stdout] 24d33dacfc157425629af18c84cfff532d61bf63f077d37d18848451f65ca046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38cecfa3c434b51bd752663a16b2d9dcf0d37c0bc8aaaea2dee071b3d76ecde8 [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" "38cecfa3c434b51bd752663a16b2d9dcf0d37c0bc8aaaea2dee071b3d76ecde8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking financial v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/periodic_cashflow/irr.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "IRR of {}, exceeded IRR precision threshold, {}", [INFO] [stdout] 41 | | irr(&cf, guess).unwrap(), [INFO] [stdout] 42 | | precision [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 | [INFO] [stdout] 40 | "IRR of {}, exceeded IRR precision threshold, {}", [INFO] [stdout] 41 | irr(&cf, guess).unwrap(), [INFO] [stdout] 42 | precision [INFO] [stdout] 43 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/periodic_cashflow/irr.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / format!( [INFO] [stdout] 55 | | "exceeded {} IRR precision threshold, {}", [INFO] [stdout] 56 | | irr(&cf, guess).unwrap(), [INFO] [stdout] 57 | | precision [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 54 | [INFO] [stdout] 55 | "exceeded {} IRR precision threshold, {}", [INFO] [stdout] 56 | irr(&cf, guess).unwrap(), [INFO] [stdout] 57 | precision [INFO] [stdout] 58 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/periodic_cashflow/mirr.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / format!( [INFO] [stdout] 49 | | "ans is {} got {}", [INFO] [stdout] 50 | | ans, [INFO] [stdout] 51 | | mirr [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 48 | [INFO] [stdout] 49 | "ans is {} got {}", [INFO] [stdout] 50 | ans, [INFO] [stdout] 51 | mirr [INFO] [stdout] 52 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/periodic_cashflow/mirr.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | / format!( [INFO] [stdout] 67 | | "ans is {} got {}", [INFO] [stdout] 68 | | ans, [INFO] [stdout] 69 | | mirr [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 | [INFO] [stdout] 67 | "ans is {} got {}", [INFO] [stdout] 68 | ans, [INFO] [stdout] 69 | mirr [INFO] [stdout] 70 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/periodic_cashflow/mirr.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / format!( [INFO] [stdout] 85 | | "ans is {} got {}", [INFO] [stdout] 86 | | ans, [INFO] [stdout] 87 | | mirr [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 | [INFO] [stdout] 85 | "ans is {} got {}", [INFO] [stdout] 86 | ans, [INFO] [stdout] 87 | mirr [INFO] [stdout] 88 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.05s [INFO] running `Command { std: "docker" "inspect" "38cecfa3c434b51bd752663a16b2d9dcf0d37c0bc8aaaea2dee071b3d76ecde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38cecfa3c434b51bd752663a16b2d9dcf0d37c0bc8aaaea2dee071b3d76ecde8", kill_on_drop: false }` [INFO] [stdout] 38cecfa3c434b51bd752663a16b2d9dcf0d37c0bc8aaaea2dee071b3d76ecde8