[INFO] fetching crate bitcoin-proxy 0.1.12-alpha.0... [INFO] checking bitcoin-proxy-0.1.12-alpha.0 against try#8df314f433990f5163039edae8245e89581f72ca for pr-108221 [INFO] extracting crate bitcoin-proxy 0.1.12-alpha.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitcoin-proxy 0.1.12-alpha.0 on toolchain 8df314f433990f5163039edae8245e89581f72ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-proxy 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-proxy 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-proxy 0.1.12-alpha.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 456ca39a044121a50dcbc56b1195756c48571bb6987a653bcdd1b84fceaf1188 [INFO] running `Command { std: "docker" "start" "-a" "456ca39a044121a50dcbc56b1195756c48571bb6987a653bcdd1b84fceaf1188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456ca39a044121a50dcbc56b1195756c48571bb6987a653bcdd1b84fceaf1188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456ca39a044121a50dcbc56b1195756c48571bb6987a653bcdd1b84fceaf1188", kill_on_drop: false }` [INFO] [stdout] 456ca39a044121a50dcbc56b1195756c48571bb6987a653bcdd1b84fceaf1188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bd0cbac036772713704d4332ccfa0d245db59d6f9a300aef565ee08323cf116 [INFO] running `Command { std: "docker" "start" "-a" "6bd0cbac036772713704d4332ccfa0d245db59d6f9a300aef565ee08323cf116", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.3.1 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling raw-cpuid v10.6.1 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling time v0.3.19 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic_float v0.1.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] Compiling libevent-sys v0.2.5 [INFO] [stderr] Checking libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-amt v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-support v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-primitives v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-string v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-sha3 v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-chacha v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-network v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-compat v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-log v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-time v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-sha256 v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-sha512 v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-sync v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-random v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-subnet v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-sock v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-service v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-proxy v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_subnet::*` [INFO] [stdout] --> src/imports.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use bitcoin_subnet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/netbase.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / /** [INFO] [stdout] 87 | | | Socket factory. Defaults to `CreateSockTCP()`, [INFO] [stdout] 88 | | | but can be overridden by unit tests. [INFO] [stdout] 89 | | | [INFO] [stdout] 90 | | */ [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: variant `USER_PASS` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | USER_PASS = 0x02, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UserPass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_ACCEPTABLE` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | NO_ACCEPTABLE = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoAcceptable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UDP_ASSOCIATE` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | UDP_ASSOCIATE = 0x03 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UdpAssociate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_subnet::*` [INFO] [stdout] --> src/imports.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use bitcoin_subnet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/netbase.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / /** [INFO] [stdout] 87 | | | Socket factory. Defaults to `CreateSockTCP()`, [INFO] [stdout] 88 | | | but can be overridden by unit tests. [INFO] [stdout] 89 | | | [INFO] [stdout] 90 | | */ [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: variant `USER_PASS` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | USER_PASS = 0x02, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `UserPass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_ACCEPTABLE` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | NO_ACCEPTABLE = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoAcceptable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UDP_ASSOCIATE` should have an upper camel case name [INFO] [stdout] --> src/netbase.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | UDP_ASSOCIATE = 0x03 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UdpAssociate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `randomize_credentials` [INFO] [stdout] --> src/netbase.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let randomize_credentials: bool = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_randomize_credentials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/netbase.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | proxy: &Service, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/netbase.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | name: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow_lookup` [INFO] [stdout] --> src/netbase.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | allow_lookup: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net_in` [INFO] [stdout] --> src/netbase.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn parse_network(net_in: &String) -> Network { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn get_network_name(net: Network) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `append_unroutable` [INFO] [stdout] --> src/netbase.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let append_unroutable: bool = append_unroutable.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_append_unroutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/netbase.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | data: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/netbase.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/netbase.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | timeout: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | sock: &Sock) -> IntrRecvError { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/netbase.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn socks_5error_string(err: u8) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_dest` [INFO] [stdout] --> src/netbase.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | str_dest: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/netbase.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | port: u16, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/netbase.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | auth: *const ProxyCredentials, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | sock: &Sock) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_family` [INFO] [stdout] --> src/netbase.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | pub fn create_socktcp(address_family: &Service) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_family` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manual_connection` [INFO] [stdout] --> src/netbase.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | manual_connection: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manual_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/netbase.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | fmt: *const u8, [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/netbase.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_connect` [INFO] [stdout] --> src/netbase.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | addr_connect: &Service, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | sock: &Sock, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_timeout` [INFO] [stdout] --> src/netbase.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | n_timeout: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manual_connection` [INFO] [stdout] --> src/netbase.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | manual_connection: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manual_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | net: Network, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_proxy` [INFO] [stdout] --> src/netbase.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | addr_proxy: &ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | net: Network, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_info_out` [INFO] [stdout] --> src/netbase.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | proxy_info_out: &mut ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_info_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_proxy` [INFO] [stdout] --> src/netbase.rs:906:23 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn set_name_proxy(addr_proxy: &ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_proxy_out` [INFO] [stdout] --> src/netbase.rs:918:23 [INFO] [stdout] | [INFO] [stdout] 918 | pub fn get_name_proxy(name_proxy_out: &mut ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_proxy_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/netbase.rs:939:17 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn is_proxy(addr: &NetAddr) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/netbase.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | proxy: &ProxyType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_dest` [INFO] [stdout] --> src/netbase.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | str_dest: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/netbase.rs:997:9 [INFO] [stdout] | [INFO] [stdout] 997 | port: u16, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | sock: &Sock, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_timeout` [INFO] [stdout] --> src/netbase.rs:999:9 [INFO] [stdout] | [INFO] [stdout] 999 | n_timeout: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_proxy_connection_failed` [INFO] [stdout] --> src/netbase.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | out_proxy_connection_failed: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_proxy_connection_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_socket` [INFO] [stdout] --> src/netbase.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | h_socket: &CSocket, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `non_blocking` [INFO] [stdout] --> src/netbase.rs:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | non_blocking: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_non_blocking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_socket` [INFO] [stdout] --> src/netbase.rs:1068:28 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn set_socket_no_delay(h_socket: &CSocket) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `randomize_credentials` [INFO] [stdout] --> src/netbase.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let randomize_credentials: bool = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_randomize_credentials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/netbase.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | proxy: &Service, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proxy_info` and `name_proxy` are never read [INFO] [stdout] --> src/netbase.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ProxyInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 104 | proxy_info: [ProxyType; Network::NET_MAX as usize], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 105 | name_proxy: ProxyType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/netbase.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | name: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow_lookup` [INFO] [stdout] --> src/netbase.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | allow_lookup: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net_in` [INFO] [stdout] --> src/netbase.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn parse_network(net_in: &String) -> Network { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn get_network_name(net: Network) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `append_unroutable` [INFO] [stdout] --> src/netbase.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let append_unroutable: bool = append_unroutable.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_append_unroutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/netbase.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | data: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/netbase.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/netbase.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | timeout: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | sock: &Sock) -> IntrRecvError { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/netbase.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn socks_5error_string(err: u8) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_dest` [INFO] [stdout] --> src/netbase.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | str_dest: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/netbase.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | port: u16, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/netbase.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | auth: *const ProxyCredentials, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | sock: &Sock) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_family` [INFO] [stdout] --> src/netbase.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | pub fn create_socktcp(address_family: &Service) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_family` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manual_connection` [INFO] [stdout] --> src/netbase.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | manual_connection: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manual_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/netbase.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | fmt: *const u8, [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/netbase.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/netbase.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_connect` [INFO] [stdout] --> src/netbase.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | addr_connect: &Service, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `In` should have an upper case name [INFO] [stdout] --> src/netbase.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | const In = 1 << 0; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `IN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Out` should have an upper case name [INFO] [stdout] --> src/netbase.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | const Out = 1 << 1; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Both` should have an upper case name [INFO] [stdout] --> src/netbase.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | const Both = Self::In.bits | Self::Out.bits; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BOTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | sock: &Sock, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_timeout` [INFO] [stdout] --> src/netbase.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | n_timeout: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manual_connection` [INFO] [stdout] --> src/netbase.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | manual_connection: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manual_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | net: Network, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_proxy` [INFO] [stdout] --> src/netbase.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | addr_proxy: &ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/netbase.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | net: Network, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_info_out` [INFO] [stdout] --> src/netbase.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | proxy_info_out: &mut ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_info_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_proxy` [INFO] [stdout] --> src/netbase.rs:906:23 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn set_name_proxy(addr_proxy: &ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_proxy_out` [INFO] [stdout] --> src/netbase.rs:918:23 [INFO] [stdout] | [INFO] [stdout] 918 | pub fn get_name_proxy(name_proxy_out: &mut ProxyType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_proxy_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/netbase.rs:939:17 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn is_proxy(addr: &NetAddr) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/netbase.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | proxy: &ProxyType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_dest` [INFO] [stdout] --> src/netbase.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | str_dest: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/netbase.rs:997:9 [INFO] [stdout] | [INFO] [stdout] 997 | port: u16, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock` [INFO] [stdout] --> src/netbase.rs:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | sock: &Sock, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_timeout` [INFO] [stdout] --> src/netbase.rs:999:9 [INFO] [stdout] | [INFO] [stdout] 999 | n_timeout: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_proxy_connection_failed` [INFO] [stdout] --> src/netbase.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | out_proxy_connection_failed: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_proxy_connection_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_socket` [INFO] [stdout] --> src/netbase.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | h_socket: &CSocket, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `non_blocking` [INFO] [stdout] --> src/netbase.rs:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | non_blocking: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_non_blocking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_socket` [INFO] [stdout] --> src/netbase.rs:1068:28 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn set_socket_no_delay(h_socket: &CSocket) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proxy_info` and `name_proxy` are never read [INFO] [stdout] --> src/netbase.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ProxyInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 104 | proxy_info: [ProxyType; Network::NET_MAX as usize], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 105 | name_proxy: ProxyType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `None` should have an upper case name [INFO] [stdout] --> src/netbase.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | const None = 0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `In` should have an upper case name [INFO] [stdout] --> src/netbase.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | const In = 1 << 0; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `IN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Out` should have an upper case name [INFO] [stdout] --> src/netbase.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | const Out = 1 << 1; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Both` should have an upper case name [INFO] [stdout] --> src/netbase.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | const Both = Self::In.bits | Self::Out.bits; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BOTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "6bd0cbac036772713704d4332ccfa0d245db59d6f9a300aef565ee08323cf116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd0cbac036772713704d4332ccfa0d245db59d6f9a300aef565ee08323cf116", kill_on_drop: false }` [INFO] [stdout] 6bd0cbac036772713704d4332ccfa0d245db59d6f9a300aef565ee08323cf116