[INFO] fetching crate financial 1.1.2... [INFO] checking financial-1.1.2 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate financial 1.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate financial 1.1.2 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55f74904e123b1e7d9962a617ad33e471111770bdc9861fa888c08628d30f863 [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" "55f74904e123b1e7d9962a617ad33e471111770bdc9861fa888c08628d30f863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f74904e123b1e7d9962a617ad33e471111770bdc9861fa888c08628d30f863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f74904e123b1e7d9962a617ad33e471111770bdc9861fa888c08628d30f863", kill_on_drop: false }` [INFO] [stdout] 55f74904e123b1e7d9962a617ad33e471111770bdc9861fa888c08628d30f863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50c8172fe522443d1bb88432eb771e0d2ceccbce38f219f3a76796ec758a151b [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" "50c8172fe522443d1bb88432eb771e0d2ceccbce38f219f3a76796ec758a151b", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking financial v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.125 [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 26.54s [INFO] running `Command { std: "docker" "inspect" "50c8172fe522443d1bb88432eb771e0d2ceccbce38f219f3a76796ec758a151b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c8172fe522443d1bb88432eb771e0d2ceccbce38f219f3a76796ec758a151b", kill_on_drop: false }` [INFO] [stdout] 50c8172fe522443d1bb88432eb771e0d2ceccbce38f219f3a76796ec758a151b