[INFO] fetching crate bitcoin-string 0.1.16-alpha.0... [INFO] checking bitcoin-string-0.1.16-alpha.0 against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] extracting crate bitcoin-string 0.1.16-alpha.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate bitcoin-string 0.1.16-alpha.0 on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-string 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-string 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-string 0.1.16-alpha.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5046ff84d35cbbb366239d7c08be424ab2781507d60dac1f9ff1989daeebf4d [INFO] running `Command { std: "docker" "start" "-a" "d5046ff84d35cbbb366239d7c08be424ab2781507d60dac1f9ff1989daeebf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5046ff84d35cbbb366239d7c08be424ab2781507d60dac1f9ff1989daeebf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5046ff84d35cbbb366239d7c08be424ab2781507d60dac1f9ff1989daeebf4d", kill_on_drop: false }` [INFO] [stdout] d5046ff84d35cbbb366239d7c08be424ab2781507d60dac1f9ff1989daeebf4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee2297f069eba604ea24741d67de57f265911a540328a2221daad051eeb149f [INFO] running `Command { std: "docker" "start" "-a" "1ee2297f069eba604ea24741d67de57f265911a540328a2221daad051eeb149f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Checking bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-amt v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-string v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/string.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /** [INFO] [stdout] 39 | | | Join a list of items [INFO] [stdout] 40 | | | [INFO] [stdout] 41 | | | ----------- [INFO] [stdout] ... | [INFO] [stdout] 54 | | | [INFO] [stdout] 55 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/translation.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /** [INFO] [stdout] 99 | | | Translate a message to the native language [INFO] [stdout] 100 | | | of the user. [INFO] [stdout] 101 | | | [INFO] [stdout] 102 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/translation.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / /** [INFO] [stdout] 110 | | | Translation function. [INFO] [stdout] 111 | | | [INFO] [stdout] 112 | | | If no translation function is set, simply [INFO] [stdout] 113 | | | return the input. [INFO] [stdout] 114 | | | [INFO] [stdout] 115 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_DEFAULT` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | SAFE_CHARS_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsDefault` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_UA_COMMENT` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SAFE_CHARS_UA_COMMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsUaComment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_FILENAME` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | SAFE_CHARS_FILENAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsFilename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_URI` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | SAFE_CHARS_URI, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsUri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/string.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /** [INFO] [stdout] 39 | | | Join a list of items [INFO] [stdout] 40 | | | [INFO] [stdout] 41 | | | ----------- [INFO] [stdout] ... | [INFO] [stdout] 54 | | | [INFO] [stdout] 55 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/translation.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /** [INFO] [stdout] 99 | | | Translate a message to the native language [INFO] [stdout] 100 | | | of the user. [INFO] [stdout] 101 | | | [INFO] [stdout] 102 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/translation.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / /** [INFO] [stdout] 110 | | | Translation function. [INFO] [stdout] 111 | | | [INFO] [stdout] 112 | | | If no translation function is set, simply [INFO] [stdout] 113 | | | return the input. [INFO] [stdout] 114 | | | [INFO] [stdout] 115 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_DEFAULT` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | SAFE_CHARS_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsDefault` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_UA_COMMENT` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SAFE_CHARS_UA_COMMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsUaComment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_FILENAME` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | SAFE_CHARS_FILENAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsFilename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAFE_CHARS_URI` should have an upper camel case name [INFO] [stdout] --> src/strencodings.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | SAFE_CHARS_URI, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SafeCharsUri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/string.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let pattern: &str = pattern.unwrap_or(" \n\r\t"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/string.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | prefix: &String) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/string.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | list: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/string.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | separator: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/string.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | #[inline] pub fn make_unordered_list(items: &Vec) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | #[inline] pub fn valid_as_cstring(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/string.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn to_string(t: &T) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/string.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | obj: &T1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/string.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | prefix: &[u8;PREFIX_LEN]) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/translation.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | #[inline]fn add_assign(&mut self, other: &BilingualStr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/translation.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn add(self, other: &BilingualStr) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original` [INFO] [stdout] --> src/translation.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | #[inline] pub fn untranslated(original: &str) -> BilingualStr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/translation.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fmt: &BilingualStr, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/translation.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | args: &Args) -> BilingualStr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn locale_independent_atoi(str_: &str) -> T { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_digit(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | #[inline] pub fn is_space(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn to_integral(str_: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/strencodings.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn timing_resistant_equal(a: &T, b: &T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/strencodings.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn timing_resistant_equal(a: &T, b: &T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outfn` [INFO] [stdout] --> src/strencodings.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | outfn: &O, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_outfn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> src/strencodings.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | it: I, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/strencodings.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | end: I) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/string.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let pattern: &str = pattern.unwrap_or(" \n\r\t"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/strencodings.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let rule: i32 = rule.unwrap_or(SafeChars::SAFE_CHARS_DEFAULT as i32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/string.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | prefix: &String) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/string.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | list: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/string.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | separator: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn hex_digit(c: u8) -> i8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/string.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | #[inline] pub fn make_unordered_list(items: &Vec) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn is_hex(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/string.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | #[inline] pub fn valid_as_cstring(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn is_hex_number(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/string.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn to_string(t: &T) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `psz` [INFO] [stdout] --> src/strencodings.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn parse_hex(psz: &str) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_psz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/string.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | obj: &T1, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/string.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | prefix: &[u8;PREFIX_LEN]) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/strencodings.rs:440:28 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn encode_base64_bytes(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:454:22 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn encode_base64(str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/strencodings.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | p: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/translation.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | #[inline]fn add_assign(&mut self, other: &BilingualStr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pf_invalid: Option<*mut bool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | pf_invalid: Option<&mut bool>) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/translation.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn add(self, other: &BilingualStr) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/strencodings.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | let pad: bool = pad.unwrap_or(true); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/strencodings.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | input: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original` [INFO] [stdout] --> src/translation.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | #[inline] pub fn untranslated(original: &str) -> BilingualStr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/strencodings.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let pad: bool = pad.unwrap_or(true); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/translation.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fmt: &BilingualStr, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/translation.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | args: &Args) -> BilingualStr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | str_: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn locale_independent_atoi(str_: &str) -> T { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn is_digit(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | #[inline] pub fn is_space(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn to_integral(str_: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/strencodings.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn timing_resistant_equal(a: &T, b: &T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/strencodings.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | p: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/strencodings.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn timing_resistant_equal(a: &T, b: &T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outfn` [INFO] [stdout] --> src/strencodings.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | outfn: &O, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_outfn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | pf_invalid: Option<*mut bool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> src/strencodings.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | it: I, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/strencodings.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | end: I) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | pf_invalid: Option<*mut bool>) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | out: *mut T) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | out: *mut i32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | out: *mut i64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | out: *mut u8) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | out: *mut u16) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/strencodings.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let rule: i32 = rule.unwrap_or(SafeChars::SAFE_CHARS_DEFAULT as i32); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | out: *mut u32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | out: *mut u64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/strencodings.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | ch: u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mantissa` [INFO] [stdout] --> src/strencodings.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | mantissa: &mut i64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mantissa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mantissa_tzeros` [INFO] [stdout] --> src/strencodings.rs:837:9 [INFO] [stdout] | [INFO] [stdout] 837 | mantissa_tzeros: &mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mantissa_tzeros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/strencodings.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn hex_digit(c: u8) -> i8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/strencodings.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | val: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/strencodings.rs:876:9 [INFO] [stdout] | [INFO] [stdout] 876 | decimals: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn is_hex(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn is_hex_number(str_: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_out` [INFO] [stdout] --> src/strencodings.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | amount_out: *mut i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `psz` [INFO] [stdout] --> src/strencodings.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn parse_hex(psz: &str) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_psz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:1060:19 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn capitalize(str_: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/strencodings.rs:440:28 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn encode_base64_bytes(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/strencodings.rs:1075:16 [INFO] [stdout] | [INFO] [stdout] 1075 | pub fn hex_str(s: &[u8]) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:454:22 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn encode_base64(str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/moneystr.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_money(n: Amount) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/strencodings.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | p: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `money_string` [INFO] [stdout] --> src/moneystr.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn parse_money(money_string: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_money_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | pf_invalid: Option<*mut bool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | pf_invalid: Option<&mut bool>) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/strencodings.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | let pad: bool = pad.unwrap_or(true); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/strencodings.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | input: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/strencodings.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let pad: bool = pad.unwrap_or(true); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | str_: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/strencodings.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | p: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | pf_invalid: Option<*mut bool>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_invalid` [INFO] [stdout] --> src/strencodings.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | pf_invalid: Option<*mut bool>) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `translated` are never read [INFO] [stdout] --> src/translation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BilingualStr { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | translated: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | out: *mut T) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | out: *mut i32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | out: *mut i64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `frombits` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `FROMBITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | out: *mut u8) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `tobits` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:54 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TOBITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pad` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:73 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `PAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | out: *mut u16) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `util_hexdigit` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | pub const util_hexdigit: [i8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `UTIL_HEXDIGIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | out: *mut u32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | str_: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/strencodings.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | out: *mut u64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/strencodings.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | ch: u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mantissa` [INFO] [stdout] --> src/strencodings.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | mantissa: &mut i64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mantissa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mantissa_tzeros` [INFO] [stdout] --> src/strencodings.rs:837:9 [INFO] [stdout] | [INFO] [stdout] 837 | mantissa_tzeros: &mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mantissa_tzeros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/strencodings.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | val: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/strencodings.rs:876:9 [INFO] [stdout] | [INFO] [stdout] 876 | decimals: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_out` [INFO] [stdout] --> src/strencodings.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | amount_out: *mut i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/strencodings.rs:1060:19 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn capitalize(str_: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/strencodings.rs:1075:16 [INFO] [stdout] | [INFO] [stdout] 1075 | pub fn hex_str(s: &[u8]) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/moneystr.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn format_money(n: Amount) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `money_string` [INFO] [stdout] --> src/moneystr.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn parse_money(money_string: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_money_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `translated` are never read [INFO] [stdout] --> src/translation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BilingualStr { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | original: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | translated: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `frombits` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `FROMBITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `tobits` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:54 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TOBITS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pad` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:199:73 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn convert_bits( [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `PAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `util_hexdigit` should have an upper case name [INFO] [stdout] --> src/strencodings.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | pub const util_hexdigit: [i8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `UTIL_HEXDIGIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "1ee2297f069eba604ea24741d67de57f265911a540328a2221daad051eeb149f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee2297f069eba604ea24741d67de57f265911a540328a2221daad051eeb149f", kill_on_drop: false }` [INFO] [stdout] 1ee2297f069eba604ea24741d67de57f265911a540328a2221daad051eeb149f