[INFO] fetching crate pretty_dtoa 0.3.0... [INFO] testing pretty_dtoa-0.3.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pretty_dtoa 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pretty_dtoa 0.3.0 [INFO] finished tweaking crates.io crate pretty_dtoa 0.3.0 [INFO] tweaked toml for crates.io crate pretty_dtoa 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pretty_dtoa 0.3.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu_floating_decimal v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.4.5 [INFO] [stderr] Downloaded criterion v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 944955c9afaad592664c4fa05bcf44ec5211c867d2fddedbdca77d4d76d65748 [INFO] running `Command { std: "docker" "start" "-a" "944955c9afaad592664c4fa05bcf44ec5211c867d2fddedbdca77d4d76d65748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "944955c9afaad592664c4fa05bcf44ec5211c867d2fddedbdca77d4d76d65748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944955c9afaad592664c4fa05bcf44ec5211c867d2fddedbdca77d4d76d65748", kill_on_drop: false }` [INFO] [stdout] 944955c9afaad592664c4fa05bcf44ec5211c867d2fddedbdca77d4d76d65748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 357f1eeaabba094129119fd3a455157b543e6d2039eb0aaf571ff9651ee27bde [INFO] running `Command { std: "docker" "start" "-a" "357f1eeaabba094129119fd3a455157b543e6d2039eb0aaf571ff9651ee27bde", kill_on_drop: false }` [INFO] [stderr] Compiling ryu_floating_decimal v0.1.0 [INFO] [stderr] Compiling pretty_dtoa v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "357f1eeaabba094129119fd3a455157b543e6d2039eb0aaf571ff9651ee27bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357f1eeaabba094129119fd3a455157b543e6d2039eb0aaf571ff9651ee27bde", kill_on_drop: false }` [INFO] [stdout] 357f1eeaabba094129119fd3a455157b543e6d2039eb0aaf571ff9651ee27bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328f9be122fb596ede9336d6d2a6a9bc20a28785ac9d9fd746891f328ea942d7 [INFO] running `Command { std: "docker" "start" "-a" "328f9be122fb596ede9336d6d2a6a9bc20a28785ac9d9fd746891f328ea942d7", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling pretty_dtoa v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | hit!(e_width_case_a); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | hit!(e_width_case_b); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | hit!(e_width_case_c); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 664 | hit!(test_widths_internal); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | format!("mark was not hit: {}", self.name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 - format!("mark was not hit: {}", self.name) [INFO] [stdout] 66 + "mark was not hit: {}", self.name [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.54s [INFO] running `Command { std: "docker" "inspect" "328f9be122fb596ede9336d6d2a6a9bc20a28785ac9d9fd746891f328ea942d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328f9be122fb596ede9336d6d2a6a9bc20a28785ac9d9fd746891f328ea942d7", kill_on_drop: false }` [INFO] [stdout] 328f9be122fb596ede9336d6d2a6a9bc20a28785ac9d9fd746891f328ea942d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0bd9aceef986e785ee6edf31bcb5207d6b2fb87becde334646f35fb9475ea90 [INFO] running `Command { std: "docker" "start" "-a" "b0bd9aceef986e785ee6edf31bcb5207d6b2fb87becde334646f35fb9475ea90", kill_on_drop: false }` [INFO] [stderr] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 406 | hit!(e_width_case_a); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 409 | hit!(e_width_case_b); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stderr] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 412 | hit!(e_width_case_c); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stderr] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[no_mangle]` attribute cannot be used on foreign statics [INFO] [stderr] --> src/lib.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 664 | hit!(test_widths_internal); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stderr] = note: this warning originates in the macro `hit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | format!("mark was not hit: {}", self.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 66 - format!("mark was not hit: {}", self.name) [INFO] [stderr] 66 + "mark was not hit: {}", self.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pretty_dtoa` (lib test) generated 5 warnings (run `cargo fix --lib -p pretty_dtoa --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pretty_dtoa-1ab7af284d87f603) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::test_add_point_zero ... ok [INFO] [stdout] test tests::test_capitalize_e ... ok [INFO] [stdout] test tests::test_force_e_notation ... ok [INFO] [stdout] test tests::test_force_no_e_notation ... ok [INFO] [stdout] test tests::test_ignore_extremes ... ok [INFO] [stdout] test tests::test_max_decimal_digits ... ok [INFO] [stdout] test tests::test_min_decimal_digits ... ok [INFO] [stdout] test tests::test_lower_e_break ... ok [INFO] [stdout] test tests::test_max_sig_digits ... ok [INFO] [stdout] test tests::test_max_width_specifics ... ok [INFO] [stdout] test tests::test_min_sig_digits ... ok [INFO] [stdout] test tests::test_radix_point ... ok [INFO] [stdout] test tests::test_issue_i ... ok [INFO] [stdout] test tests::test_upper_e_break ... ok [INFO] [stdout] test tests::test_round_trip_ftoa ... ok [INFO] [stdout] test tests::test_round_trip_dtoa ... ok [INFO] [stdout] test tests::test_widths ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] Doc-tests pretty_dtoa [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - dtoa (line 544) ... ok [INFO] [stdout] test src/lib.rs - FmtFloatConfig (line 86) ... ok [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0bd9aceef986e785ee6edf31bcb5207d6b2fb87becde334646f35fb9475ea90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0bd9aceef986e785ee6edf31bcb5207d6b2fb87becde334646f35fb9475ea90", kill_on_drop: false }` [INFO] [stdout] b0bd9aceef986e785ee6edf31bcb5207d6b2fb87becde334646f35fb9475ea90