[INFO] fetching crate huam-rust-utils 0.1.1... [INFO] testing huam-rust-utils-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate huam-rust-utils 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate huam-rust-utils 0.1.1 [INFO] finished tweaking crates.io crate huam-rust-utils 0.1.1 [INFO] tweaked toml for crates.io crate huam-rust-utils 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate huam-rust-utils 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79f51ec6269da63f7e35e8dc340a005c6d6d8067f75f55462eaf32104b4d08ff [INFO] running `Command { std: "docker" "start" "-a" "79f51ec6269da63f7e35e8dc340a005c6d6d8067f75f55462eaf32104b4d08ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f51ec6269da63f7e35e8dc340a005c6d6d8067f75f55462eaf32104b4d08ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f51ec6269da63f7e35e8dc340a005c6d6d8067f75f55462eaf32104b4d08ff", kill_on_drop: false }` [INFO] [stdout] 79f51ec6269da63f7e35e8dc340a005c6d6d8067f75f55462eaf32104b4d08ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9751622dc974d0eebcc771b01f2405a0f10b7979f57313158f8bd55d93dbb24a [INFO] running `Command { std: "docker" "start" "-a" "9751622dc974d0eebcc771b01f2405a0f10b7979f57313158f8bd55d93dbb24a", kill_on_drop: false }` [INFO] [stderr] Compiling huam-rust-utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `substrings_series` is never used [INFO] [stdout] --> src/str_uril.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn substrings_series(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat` is never used [INFO] [stdout] --> src/str_uril.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn repeat(s: &str, n: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_chinese` is never used [INFO] [stdout] --> src/str_uril/is_.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_chinese(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/str_uril/is_.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_digit(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphabetic` is never used [INFO] [stdout] --> src/str_uril/is_.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_alphabetic(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphanumeric` is never used [INFO] [stdout] --> src/str_uril/is_.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_alphanumeric(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_negative` is never used [INFO] [stdout] --> src/str_uril/is_.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_negative(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/str_uril/is_.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_symbol(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_boolean` is never used [INFO] [stdout] --> src/str_uril/is_.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_boolean(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_contain_char_num` is never used [INFO] [stdout] --> src/str_uril/is_.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_contain_char_num(s: &str, c: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_any_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn is_all_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq2` is never used [INFO] [stdout] --> src/str_uril/is_.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_all_eq2(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn capitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncapitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn uncapitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case` is never used [INFO] [stdout] --> src/str_uril/convert.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn camel_case(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case_lower` is never used [INFO] [stdout] --> src/str_uril/convert.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn camel_case_lower(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "9751622dc974d0eebcc771b01f2405a0f10b7979f57313158f8bd55d93dbb24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9751622dc974d0eebcc771b01f2405a0f10b7979f57313158f8bd55d93dbb24a", kill_on_drop: false }` [INFO] [stdout] 9751622dc974d0eebcc771b01f2405a0f10b7979f57313158f8bd55d93dbb24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b03f9555d0f3f3141bf572994c7e2017087ce219bed42aeb8e91e0a2e3e1eca [INFO] running `Command { std: "docker" "start" "-a" "8b03f9555d0f3f3141bf572994c7e2017087ce219bed42aeb8e91e0a2e3e1eca", kill_on_drop: false }` [INFO] [stdout] warning: function `substrings_series` is never used [INFO] [stdout] --> src/str_uril.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn substrings_series(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat` is never used [INFO] [stdout] --> src/str_uril.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn repeat(s: &str, n: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_chinese` is never used [INFO] [stdout] --> src/str_uril/is_.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_chinese(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/str_uril/is_.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_digit(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphabetic` is never used [INFO] [stdout] --> src/str_uril/is_.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_alphabetic(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphanumeric` is never used [INFO] [stdout] --> src/str_uril/is_.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_alphanumeric(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_negative` is never used [INFO] [stdout] --> src/str_uril/is_.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_negative(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/str_uril/is_.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_symbol(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_boolean` is never used [INFO] [stdout] --> src/str_uril/is_.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_boolean(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_contain_char_num` is never used [INFO] [stdout] --> src/str_uril/is_.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_contain_char_num(s: &str, c: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_any_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn is_all_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq2` is never used [INFO] [stdout] --> src/str_uril/is_.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_all_eq2(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn capitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling huam-rust-utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `uncapitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn uncapitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case` is never used [INFO] [stdout] --> src/str_uril/convert.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn camel_case(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case_lower` is never used [INFO] [stdout] --> src/str_uril/convert.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn camel_case_lower(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substrings_series` is never used [INFO] [stdout] --> src/str_uril.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn substrings_series(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeat` is never used [INFO] [stdout] --> src/str_uril.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn repeat(s: &str, n: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_chinese` is never used [INFO] [stdout] --> src/str_uril/is_.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_chinese(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/str_uril/is_.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_digit(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphabetic` is never used [INFO] [stdout] --> src/str_uril/is_.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_alphabetic(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphanumeric` is never used [INFO] [stdout] --> src/str_uril/is_.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_alphanumeric(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_negative` is never used [INFO] [stdout] --> src/str_uril/is_.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_negative(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/str_uril/is_.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_symbol(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_boolean` is never used [INFO] [stdout] --> src/str_uril/is_.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_boolean(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_contain_char_num` is never used [INFO] [stdout] --> src/str_uril/is_.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_contain_char_num(s: &str, c: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_any_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq` is never used [INFO] [stdout] --> src/str_uril/is_.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn is_all_eq(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_all_eq2` is never used [INFO] [stdout] --> src/str_uril/is_.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_all_eq2(s: &str, v: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn capitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncapitalize` is never used [INFO] [stdout] --> src/str_uril/convert.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn uncapitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case` is never used [INFO] [stdout] --> src/str_uril/convert.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn camel_case(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camel_case_lower` is never used [INFO] [stdout] --> src/str_uril/convert.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn camel_case_lower(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "8b03f9555d0f3f3141bf572994c7e2017087ce219bed42aeb8e91e0a2e3e1eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b03f9555d0f3f3141bf572994c7e2017087ce219bed42aeb8e91e0a2e3e1eca", kill_on_drop: false }` [INFO] [stdout] 8b03f9555d0f3f3141bf572994c7e2017087ce219bed42aeb8e91e0a2e3e1eca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0205823bbf5d9c6d1e42aa93554d20b22b179b6f708fbbeed5a660bc848e083 [INFO] running `Command { std: "docker" "start" "-a" "a0205823bbf5d9c6d1e42aa93554d20b22b179b6f708fbbeed5a660bc848e083", kill_on_drop: false }` [INFO] [stderr] warning: function `substrings_series` is never used [INFO] [stderr] --> src/str_uril.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn substrings_series(s: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `repeat` is never used [INFO] [stderr] --> src/str_uril.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn repeat(s: &str, n: usize) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_chinese` is never used [INFO] [stderr] --> src/str_uril/is_.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn is_chinese(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_digit` is never used [INFO] [stderr] --> src/str_uril/is_.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn is_digit(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_alphabetic` is never used [INFO] [stderr] --> src/str_uril/is_.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn is_alphabetic(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_alphanumeric` is never used [INFO] [stderr] --> src/str_uril/is_.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn is_alphanumeric(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_negative` is never used [INFO] [stderr] --> src/str_uril/is_.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn is_negative(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_symbol` is never used [INFO] [stderr] --> src/str_uril/is_.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn is_symbol(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_boolean` is never used [INFO] [stderr] --> src/str_uril/is_.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn is_boolean(s: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_contain_char_num` is never used [INFO] [stderr] --> src/str_uril/is_.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn is_contain_char_num(s: &str, c: char) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_any_eq` is never used [INFO] [stderr] --> src/str_uril/is_.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn is_any_eq(s: &str, v: &[&str]) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_all_eq` is never used [INFO] [stderr] --> src/str_uril/is_.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn is_all_eq(s: &str, v: &[&str]) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_all_eq2` is never used [INFO] [stderr] --> src/str_uril/is_.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn is_all_eq2(s: &str, v: &[&str]) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `capitalize` is never used [INFO] [stderr] --> src/str_uril/convert.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn capitalize(s: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `uncapitalize` is never used [INFO] [stderr] --> src/str_uril/convert.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn uncapitalize(s: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `camel_case` is never used [INFO] [stderr] --> src/str_uril/convert.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn camel_case(s: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `camel_case_lower` is never used [INFO] [stderr] --> src/str_uril/convert.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn camel_case_lower(s: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `huam-rust-utils` (lib) generated 17 warnings [INFO] [stderr] warning: `huam-rust-utils` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/huam_rust_utils-28c6d0bd8a101e8f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests huam_rust_utils [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0205823bbf5d9c6d1e42aa93554d20b22b179b6f708fbbeed5a660bc848e083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0205823bbf5d9c6d1e42aa93554d20b22b179b6f708fbbeed5a660bc848e083", kill_on_drop: false }` [INFO] [stdout] a0205823bbf5d9c6d1e42aa93554d20b22b179b6f708fbbeed5a660bc848e083