[INFO] cloning repository https://github.com/Fuzen-py/RustMacros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fuzen-py/RustMacros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzen-py%2FRustMacros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzen-py%2FRustMacros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d3b41af18c0959d9ba9b85b2eb5431d685d903f [INFO] testing Fuzen-py/RustMacros against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuzen-py%2FRustMacros" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fuzen-py/RustMacros on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fuzen-py/RustMacros [INFO] finished tweaking git repo https://github.com/Fuzen-py/RustMacros [INFO] tweaked toml for git repo https://github.com/Fuzen-py/RustMacros written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Fuzen-py/RustMacros already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83e3a86e8162afe7cbb1a3a423b5f87e4f5b17c2c11ad452e1eef5fba40ef03c [INFO] running `Command { std: "docker" "start" "-a" "83e3a86e8162afe7cbb1a3a423b5f87e4f5b17c2c11ad452e1eef5fba40ef03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e3a86e8162afe7cbb1a3a423b5f87e4f5b17c2c11ad452e1eef5fba40ef03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e3a86e8162afe7cbb1a3a423b5f87e4f5b17c2c11ad452e1eef5fba40ef03c", kill_on_drop: false }` [INFO] [stdout] 83e3a86e8162afe7cbb1a3a423b5f87e4f5b17c2c11ad452e1eef5fba40ef03c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1a36fbcf79d9cbc25ad0792892282a98b55c0980d973c5689bc2f2336a9a41b [INFO] running `Command { std: "docker" "start" "-a" "b1a36fbcf79d9cbc25ad0792892282a98b55c0980d973c5689bc2f2336a9a41b", kill_on_drop: false }` [INFO] [stderr] Compiling fuzen_macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "b1a36fbcf79d9cbc25ad0792892282a98b55c0980d973c5689bc2f2336a9a41b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a36fbcf79d9cbc25ad0792892282a98b55c0980d973c5689bc2f2336a9a41b", kill_on_drop: false }` [INFO] [stdout] b1a36fbcf79d9cbc25ad0792892282a98b55c0980d973c5689bc2f2336a9a41b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d41a330eed8f85a5ae4c0608243896746a9ccb75c39198838cb92cf810ed03e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d41a330eed8f85a5ae4c0608243896746a9ccb75c39198838cb92cf810ed03e", kill_on_drop: false }` [INFO] [stderr] Compiling fuzen_macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(pretty_num!(1_000_000_000usize), "1,000,000,000"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(pretty_num!(1_000_000_000usize), "1,000,000,000"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(pretty_num!(100u8), "100"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(pretty_num!(100u8), "100"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(pretty_num!(1_000u16), "1,000"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(pretty_num!(1_000u16), "1,000"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(pretty_num!(1_000_000u32), "1,000,000"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(pretty_num!(1_000_000u32), "1,000,000"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(pretty_num!(1_000_000_000u64), "1,000,000,000"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(pretty_num!(1_000_000_000u64), "1,000,000,000"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 77 | assert_eq!(pretty_num!(-1_000_000_000isize), "-1,000,000,000"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 77 | assert_eq!(pretty_num!(-1_000_000_000isize), "-1,000,000,000"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 78 | assert_eq!(pretty_num!(1_000_000_000isize), "1,000,000,000"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 78 | assert_eq!(pretty_num!(1_000_000_000isize), "1,000,000,000"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(pretty_num!(-100i8), "-100"); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(pretty_num!(-100i8), "-100"); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(pretty_num!(100i8), "100"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(pretty_num!(100i8), "100"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(pretty_num!(-1_000i16), "-1,000"); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(pretty_num!(-1_000i16), "-1,000"); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(pretty_num!(1_000i16), "1,000"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(pretty_num!(1_000i16), "1,000"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(pretty_num!(-1_000_000i32), "-1,000,000"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(pretty_num!(-1_000_000i32), "-1,000,000"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(pretty_num!(1_000_000i32), "1,000,000"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(pretty_num!(1_000_000i32), "1,000,000"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!(pretty_num!(-1_000_000_000i64), "-1,000,000,000"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!(pretty_num!(-1_000_000_000i64), "-1,000,000,000"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 102 | assert_eq!(pretty_num!(1_000_000_000i64), "1,000,000,000"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 102 | assert_eq!(pretty_num!(1_000_000_000i64), "1,000,000,000"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 107 | assert_eq!(pretty_num!(-1_000_000.483329f32), "-1,000,000.5"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 107 | assert_eq!(pretty_num!(-1_000_000.483329f32), "-1,000,000.5"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(pretty_num!(1_000_000.483325f32), "1,000,000.5"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(pretty_num!(1_000_000.483325f32), "1,000,000.5"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 114 | pretty_num!(-1_000_000_000.4833299f64), [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 114 | pretty_num!(-1_000_000_000.4833299f64), [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stdout] ... [INFO] [stdout] 117 | assert_eq!(pretty_num!(1_000_000_000.48332f64), "1,000,000,000.4833"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] ... [INFO] [stdout] 117 | assert_eq!(pretty_num!(1_000_000_000.48332f64), "1,000,000,000.4833"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "0d41a330eed8f85a5ae4c0608243896746a9ccb75c39198838cb92cf810ed03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d41a330eed8f85a5ae4c0608243896746a9ccb75c39198838cb92cf810ed03e", kill_on_drop: false }` [INFO] [stdout] 0d41a330eed8f85a5ae4c0608243896746a9ccb75c39198838cb92cf810ed03e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6747f7c423466284cb9c19b1407fd6a3daa8ece1370853060f99d0828a80cce3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6747f7c423466284cb9c19b1407fd6a3daa8ece1370853060f99d0828a80cce3", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 52 | assert_eq!(pretty_num!(1_000_000_000usize), "1,000,000,000"); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 52 | assert_eq!(pretty_num!(1_000_000_000usize), "1,000,000,000"); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 57 | assert_eq!(pretty_num!(100u8), "100"); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 57 | assert_eq!(pretty_num!(100u8), "100"); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 62 | assert_eq!(pretty_num!(1_000u16), "1,000"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 62 | assert_eq!(pretty_num!(1_000u16), "1,000"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 67 | assert_eq!(pretty_num!(1_000_000u32), "1,000,000"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 67 | assert_eq!(pretty_num!(1_000_000u32), "1,000,000"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 72 | assert_eq!(pretty_num!(1_000_000_000u64), "1,000,000,000"); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 72 | assert_eq!(pretty_num!(1_000_000_000u64), "1,000,000,000"); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 77 | assert_eq!(pretty_num!(-1_000_000_000isize), "-1,000,000,000"); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 77 | assert_eq!(pretty_num!(-1_000_000_000isize), "-1,000,000,000"); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 78 | assert_eq!(pretty_num!(1_000_000_000isize), "1,000,000,000"); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 78 | assert_eq!(pretty_num!(1_000_000_000isize), "1,000,000,000"); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 83 | assert_eq!(pretty_num!(-100i8), "-100"); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 83 | assert_eq!(pretty_num!(-100i8), "-100"); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 84 | assert_eq!(pretty_num!(100i8), "100"); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 84 | assert_eq!(pretty_num!(100i8), "100"); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 89 | assert_eq!(pretty_num!(-1_000i16), "-1,000"); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 89 | assert_eq!(pretty_num!(-1_000i16), "-1,000"); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 90 | assert_eq!(pretty_num!(1_000i16), "1,000"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 90 | assert_eq!(pretty_num!(1_000i16), "1,000"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 95 | assert_eq!(pretty_num!(-1_000_000i32), "-1,000,000"); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 95 | assert_eq!(pretty_num!(-1_000_000i32), "-1,000,000"); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 96 | assert_eq!(pretty_num!(1_000_000i32), "1,000,000"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 96 | assert_eq!(pretty_num!(1_000_000i32), "1,000,000"); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 101 | assert_eq!(pretty_num!(-1_000_000_000i64), "-1,000,000,000"); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 101 | assert_eq!(pretty_num!(-1_000_000_000i64), "-1,000,000,000"); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 102 | assert_eq!(pretty_num!(1_000_000_000i64), "1,000,000,000"); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 102 | assert_eq!(pretty_num!(1_000_000_000i64), "1,000,000,000"); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 107 | assert_eq!(pretty_num!(-1_000_000.483329f32), "-1,000,000.5"); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 107 | assert_eq!(pretty_num!(-1_000_000.483329f32), "-1,000,000.5"); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 108 | assert_eq!(pretty_num!(1_000_000.483325f32), "1,000,000.5"); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 108 | assert_eq!(pretty_num!(1_000_000.483325f32), "1,000,000.5"); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 114 | pretty_num!(-1_000_000_000.4833299f64), [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 114 | pretty_num!(-1_000_000_000.4833299f64), [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/lib.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let num = num.trim_left_matches('-').to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] ... [INFO] [stderr] 117 | assert_eq!(pretty_num!(1_000_000_000.48332f64), "1,000,000,000.4833"); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | v.remove(0).trim_right_matches('0').to_string(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] ... [INFO] [stderr] 117 | assert_eq!(pretty_num!(1_000_000_000.48332f64), "1,000,000,000.4833"); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 38 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fuzen_macros-5703419d19ce1922 [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test::formatting_f32 ... ok [INFO] [stdout] test test::formatting_f64 ... ok [INFO] [stdout] test test::formatting_i32 ... ok [INFO] [stdout] test test::formatting_i64 ... ok [INFO] [stdout] test test::formatting_i8 ... ok [INFO] [stdout] test test::formatting_i16 ... ok [INFO] [stdout] test test::formatting_isize ... ok [INFO] [stdout] test test::formatting_u16 ... ok [INFO] [stderr] Doc-tests fuzen_macros [INFO] [stdout] test test::formatting_u64 ... ok [INFO] [stdout] test test::formatting_usize ... ok [INFO] [stdout] test test::formatting_u32 ... ok [INFO] [stdout] test test::formatting_u8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - pretty_num (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6747f7c423466284cb9c19b1407fd6a3daa8ece1370853060f99d0828a80cce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6747f7c423466284cb9c19b1407fd6a3daa8ece1370853060f99d0828a80cce3", kill_on_drop: false }` [INFO] [stdout] 6747f7c423466284cb9c19b1407fd6a3daa8ece1370853060f99d0828a80cce3