[INFO] fetching crate huam-rust-utils 0.1.1... [INFO] testing huam-rust-utils-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate huam-rust-utils 0.1.1 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate huam-rust-utils 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782a5eff30947292bb9c50fc8e911f829a8efdd3fab1617247733a85c1ba83c4 [INFO] running `Command { std: "docker" "start" "-a" "782a5eff30947292bb9c50fc8e911f829a8efdd3fab1617247733a85c1ba83c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782a5eff30947292bb9c50fc8e911f829a8efdd3fab1617247733a85c1ba83c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782a5eff30947292bb9c50fc8e911f829a8efdd3fab1617247733a85c1ba83c4", kill_on_drop: false }` [INFO] [stdout] 782a5eff30947292bb9c50fc8e911f829a8efdd3fab1617247733a85c1ba83c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a17c9c2a2ac1262537463a8d57565b882573b13460d9be9a99fe632d5de66977 [INFO] running `Command { std: "docker" "start" "-a" "a17c9c2a2ac1262537463a8d57565b882573b13460d9be9a99fe632d5de66977", 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.21s [INFO] running `Command { std: "docker" "inspect" "a17c9c2a2ac1262537463a8d57565b882573b13460d9be9a99fe632d5de66977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17c9c2a2ac1262537463a8d57565b882573b13460d9be9a99fe632d5de66977", kill_on_drop: false }` [INFO] [stdout] a17c9c2a2ac1262537463a8d57565b882573b13460d9be9a99fe632d5de66977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b5bacf792080bb11533307b0b9c977a96faee2ce06df4578e8a68d4ebf31126 [INFO] running `Command { std: "docker" "start" "-a" "6b5bacf792080bb11533307b0b9c977a96faee2ce06df4578e8a68d4ebf31126", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "6b5bacf792080bb11533307b0b9c977a96faee2ce06df4578e8a68d4ebf31126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5bacf792080bb11533307b0b9c977a96faee2ce06df4578e8a68d4ebf31126", kill_on_drop: false }` [INFO] [stdout] 6b5bacf792080bb11533307b0b9c977a96faee2ce06df4578e8a68d4ebf31126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcdd64b0de8444d3ae53e7f2e14cfe44ec60eb97b3f88a023792d21f9b034d77 [INFO] running `Command { std: "docker" "start" "-a" "fcdd64b0de8444d3ae53e7f2e14cfe44ec60eb97b3f88a023792d21f9b034d77", 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" "fcdd64b0de8444d3ae53e7f2e14cfe44ec60eb97b3f88a023792d21f9b034d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcdd64b0de8444d3ae53e7f2e14cfe44ec60eb97b3f88a023792d21f9b034d77", kill_on_drop: false }` [INFO] [stdout] fcdd64b0de8444d3ae53e7f2e14cfe44ec60eb97b3f88a023792d21f9b034d77