[INFO] cloning repository https://github.com/rust-lab-navahas/count-likes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lab-navahas/count-likes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lab-navahas%2Fcount-likes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lab-navahas%2Fcount-likes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5426750be1e185ab899112c1025604792f353e9 [INFO] checking rust-lab-navahas/count-likes against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lab-navahas%2Fcount-likes" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rust-lab-navahas/count-likes [INFO] finished tweaking git repo https://github.com/rust-lab-navahas/count-likes [INFO] tweaked toml for git repo https://github.com/rust-lab-navahas/count-likes written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rust-lab-navahas/count-likes on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rust-lab-navahas/count-likes 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cca030a4dc8429c8d55e9c17dc4dc3036c33dd89c842880f50d3148ccfa9e80 [INFO] running `Command { std: "docker" "start" "-a" "6cca030a4dc8429c8d55e9c17dc4dc3036c33dd89c842880f50d3148ccfa9e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cca030a4dc8429c8d55e9c17dc4dc3036c33dd89c842880f50d3148ccfa9e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cca030a4dc8429c8d55e9c17dc4dc3036c33dd89c842880f50d3148ccfa9e80", kill_on_drop: false }` [INFO] [stdout] 6cca030a4dc8429c8d55e9c17dc4dc3036c33dd89c842880f50d3148ccfa9e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37880e1c4b6acd88e5257655babbbcdfe33f7ca10b9125b8072c0cbd485f818 [INFO] running `Command { std: "docker" "start" "-a" "c37880e1c4b6acd88e5257655babbbcdfe33f7ca10b9125b8072c0cbd485f818", kill_on_drop: false }` [INFO] [stderr] Checking count-likes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:820:7 [INFO] [stdout] | [INFO] [stdout] 820 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 664 | impl_write_num_unchecked_unsigned! { u8 u16 u32 u64 u128 usize } [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_write_num_unchecked_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:800:15 [INFO] [stdout] | [INFO] [stdout] 800 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:837:11 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:878:19 [INFO] [stdout] | [INFO] [stdout] 878 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:907:19 [INFO] [stdout] | [INFO] [stdout] 907 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:820:7 [INFO] [stdout] | [INFO] [stdout] 820 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 664 | impl_write_num_unchecked_unsigned! { u8 u16 u32 u64 u128 usize } [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_write_num_unchecked_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:800:15 [INFO] [stdout] | [INFO] [stdout] 800 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:837:11 [INFO] [stdout] | [INFO] [stdout] 837 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:878:19 [INFO] [stdout] | [INFO] [stdout] 878 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heapless` [INFO] [stdout] --> src/count_likes_2.rs:907:19 [INFO] [stdout] | [INFO] [stdout] 907 | #[cfg(feature = "heapless")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 939 | impl_num_to_string! { u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, } [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `heapless` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_num_to_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::hint::unreachable_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | core::hint::unreachable_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn extend_from_slice_unchecked(&mut self, other: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::hint::unreachable_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | core::hint::unreachable_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn extend_from_slice_unchecked(&mut self, other: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | write_2_digits(buffer, &mut index, r2, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | / unsafe fn write_digits( [INFO] [stdout] 567 | | mut self, [INFO] [stdout] 568 | | radix: u8, [INFO] [stdout] 569 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 572 | | from_0: bool, [INFO] [stdout] 573 | | ) -> usize { [INFO] [stdout] | |______________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:623:29 [INFO] [stdout] | [INFO] [stdout] 623 | write_2_digits(buffer, &mut index, r1, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 631 | write_2_digits(buffer, &mut index, r, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_digit` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | write_digit(buffer, &mut index, r, radix as u8, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | write_2_digits(buffer, &mut index, r, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 728 | let index = value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:718:1 [INFO] [stdout] | [INFO] [stdout] 718 | / unsafe fn write_step_digits( [INFO] [stdout] 719 | | value: u64, [INFO] [stdout] 720 | | radix: u8, [INFO] [stdout] 721 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 725 | | from_0: bool, [INFO] [stdout] 726 | | ) -> usize { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | let zeros = buffer.get_unchecked_mut(index..end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:735:21 [INFO] [stdout] | [INFO] [stdout] 735 | let zeros = buffer.get_unchecked_mut(end..index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | / core::ptr::write_bytes( [INFO] [stdout] 739 | | zeros.as_mut_ptr(), [INFO] [stdout] 740 | | if from_0 { 0 } else { b'0' }, [INFO] [stdout] 741 | | zeros.len(), [INFO] [stdout] 742 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:757:20 [INFO] [stdout] | [INFO] [stdout] 757 | return value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:748:5 [INFO] [stdout] | [INFO] [stdout] 748 | / unsafe fn write_digits( [INFO] [stdout] 749 | | self, [INFO] [stdout] 750 | | radix: u8, [INFO] [stdout] 751 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 754 | | from_0: bool, [INFO] [stdout] 755 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_step_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | index = write_step_digits(low, radix, buffer, index, step, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:769:20 [INFO] [stdout] | [INFO] [stdout] 769 | return value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_step_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:773:17 [INFO] [stdout] | [INFO] [stdout] 773 | index = write_step_digits(mid, radix, buffer, index, step, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:775:21 [INFO] [stdout] | [INFO] [stdout] 775 | index = (value as u64).write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | / self.as_mut_vec() [INFO] [stdout] 816 | | .write_num_unchecked(n, radix, reversed, from_0); [INFO] [stdout] | |____________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | unsafe fn write_num_unchecked(&mut self, n: T, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | self.as_mut_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:622:29 [INFO] [stdout] | [INFO] [stdout] 622 | write_2_digits(buffer, &mut index, r2, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | / unsafe fn write_digits( [INFO] [stdout] 567 | | mut self, [INFO] [stdout] 568 | | radix: u8, [INFO] [stdout] 569 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 572 | | from_0: bool, [INFO] [stdout] 573 | | ) -> usize { [INFO] [stdout] | |______________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:623:29 [INFO] [stdout] | [INFO] [stdout] 623 | write_2_digits(buffer, &mut index, r1, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 631 | write_2_digits(buffer, &mut index, r, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_digit` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | write_digit(buffer, &mut index, r, radix as u8, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_2_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | write_2_digits(buffer, &mut index, r, reversed, table); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_write_digits! { u8 u16 u32 u64 usize } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_write_digits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 728 | let index = value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:718:1 [INFO] [stdout] | [INFO] [stdout] 718 | / unsafe fn write_step_digits( [INFO] [stdout] 719 | | value: u64, [INFO] [stdout] 720 | | radix: u8, [INFO] [stdout] 721 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 725 | | from_0: bool, [INFO] [stdout] 726 | | ) -> usize { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:731:21 [INFO] [stdout] | [INFO] [stdout] 731 | let zeros = buffer.get_unchecked_mut(index..end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::::get_unchecked_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:735:21 [INFO] [stdout] | [INFO] [stdout] 735 | let zeros = buffer.get_unchecked_mut(end..index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | / core::ptr::write_bytes( [INFO] [stdout] 739 | | zeros.as_mut_ptr(), [INFO] [stdout] 740 | | if from_0 { 0 } else { b'0' }, [INFO] [stdout] 741 | | zeros.len(), [INFO] [stdout] 742 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:757:20 [INFO] [stdout] | [INFO] [stdout] 757 | return value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:748:5 [INFO] [stdout] | [INFO] [stdout] 748 | / unsafe fn write_digits( [INFO] [stdout] 749 | | self, [INFO] [stdout] 750 | | radix: u8, [INFO] [stdout] 751 | | buffer: &mut [T], [INFO] [stdout] ... | [INFO] [stdout] 754 | | from_0: bool, [INFO] [stdout] 755 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_step_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | index = write_step_digits(low, radix, buffer, index, step, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:769:20 [INFO] [stdout] | [INFO] [stdout] 769 | return value.write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `write_step_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:773:17 [INFO] [stdout] | [INFO] [stdout] 773 | index = write_step_digits(mid, radix, buffer, index, step, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteDigits::write_digits` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:775:21 [INFO] [stdout] | [INFO] [stdout] 775 | index = (value as u64).write_digits(radix, buffer, index, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `PushUnchecked::push_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | self.push_unchecked(b'-'.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | unsafe fn write_num_unchecked(&mut self, n: $t, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | self.write_num_unchecked(n.unsigned_abs(), radix, reversed, from_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 807 | impl_write_num_unchecked_signed! { i8 i16 i32 i64 i128 isize } [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `gen_write_num_unchecked_signed` which comes from the expansion of the macro `impl_write_num_unchecked_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `WriteNumUnchecked::write_num_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | / self.as_mut_vec() [INFO] [stdout] 816 | | .write_num_unchecked(n, radix, reversed, from_0); [INFO] [stdout] | |____________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/count_likes_2.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | unsafe fn write_num_unchecked(&mut self, n: T, radix: u8, reversed: bool, from_0: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::string::String::as_mut_vec` is unsafe and requires unsafe block [INFO] [stdout] --> src/count_likes_2.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | self.as_mut_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "c37880e1c4b6acd88e5257655babbbcdfe33f7ca10b9125b8072c0cbd485f818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37880e1c4b6acd88e5257655babbbcdfe33f7ca10b9125b8072c0cbd485f818", kill_on_drop: false }` [INFO] [stdout] c37880e1c4b6acd88e5257655babbbcdfe33f7ca10b9125b8072c0cbd485f818