[INFO] fetching crate bitcoin-remote 0.1.12-alpha.0... [INFO] building bitcoin-remote-0.1.12-alpha.0 against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] extracting crate bitcoin-remote 0.1.12-alpha.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bitcoin-remote 0.1.12-alpha.0 on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-remote 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-remote 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-remote 0.1.12-alpha.0 written to /workspace/builds/worker-5-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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 759e82e1494b1b5231f179904c89a989df66012f2ba4ff3d3efabe73f63b116f [INFO] running `Command { std: "docker" "start" "-a" "759e82e1494b1b5231f179904c89a989df66012f2ba4ff3d3efabe73f63b116f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "759e82e1494b1b5231f179904c89a989df66012f2ba4ff3d3efabe73f63b116f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759e82e1494b1b5231f179904c89a989df66012f2ba4ff3d3efabe73f63b116f", kill_on_drop: false }` [INFO] [stdout] 759e82e1494b1b5231f179904c89a989df66012f2ba4ff3d3efabe73f63b116f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8435283c132c5c48d0be32b0570dfe32f6476671bb18161c47f753c9e4d73202 [INFO] running `Command { std: "docker" "start" "-a" "8435283c132c5c48d0be32b0570dfe32f6476671bb18161c47f753c9e4d73202", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [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 socket2 v0.4.7 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [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] Compiling libevent v0.1.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-univalue v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-remote 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: variant `GET_HELP` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | GET_HELP, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetHelp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET_ARGS` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GET_ARGS [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_code.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / /** [INFO] [stdout] 23 | | | Bitcoin RPC error codes [INFO] [stdout] 24 | | | [INFO] [stdout] 25 | | */ [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 `HTTP_OK` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | HTTP_OK = 200, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HttpOk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_REQUEST` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HTTP_BAD_REQUEST = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_UNAUTHORIZED` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | HTTP_UNAUTHORIZED = 401, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpUnauthorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_FORBIDDEN` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | HTTP_FORBIDDEN = 403, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpForbidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_NOT_FOUND` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | HTTP_NOT_FOUND = 404, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_METHOD` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | HTTP_BAD_METHOD = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_INTERNAL_SERVER_ERROR` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | HTTP_INTERNAL_SERVER_ERROR = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpInternalServerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_SERVICE_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | HTTP_SERVICE_UNAVAILABLE = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServiceUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/auth_cookie.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let temp: bool = temp.unwrap_or(false); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn generate_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/convert_table.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | idx: i32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/convert_table.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_request` [INFO] [stdout] --> src/json_request.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse(&mut self, val_request: &UniValue) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_method` [INFO] [stdout] --> src/json_request.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | str_method: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/json_request.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | params: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | id: &UniValue) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/json_request.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | code: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json_request.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | message: &str) -> UniValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/json_request.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn jsonrpc_process_batch_reply(in_: &UniValue) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method_name`, `param_idx`, and `param_name` are never read [INFO] [stdout] --> src/convert_param.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RPCConvertParam { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | method_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | param_idx: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | param_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `members` and `members_by_name` are never read [INFO] [stdout] --> src/convert_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RPCConvertTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 4 | members: HashSet<(String,i32)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | members_by_name: HashSet<(String,String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/json_request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct JSONRPCRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | id: UniValue, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | str_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | params: UniValue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | mode: JSONRPCRequestMode, // default = EXECUTE [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | auth_user: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | peer_addr: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | context: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `vRPCConvertParams` should have an upper case name [INFO] [stdout] --> src/convert_param.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const vRPCConvertParams: &[RPCConvertParam] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `V_RPCCONVERT_PARAMS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "8435283c132c5c48d0be32b0570dfe32f6476671bb18161c47f753c9e4d73202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8435283c132c5c48d0be32b0570dfe32f6476671bb18161c47f753c9e4d73202", kill_on_drop: false }` [INFO] [stdout] 8435283c132c5c48d0be32b0570dfe32f6476671bb18161c47f753c9e4d73202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa352f259cfc206a1631b71c952683a2618ff36367df95c4aea183bec744d3e2 [INFO] running `Command { std: "docker" "start" "-a" "aa352f259cfc206a1631b71c952683a2618ff36367df95c4aea183bec744d3e2", kill_on_drop: false }` [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: variant `GET_HELP` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | GET_HELP, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetHelp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET_ARGS` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GET_ARGS [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_code.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / /** [INFO] [stdout] 23 | | | Bitcoin RPC error codes [INFO] [stdout] 24 | | | [INFO] [stdout] 25 | | */ [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 `HTTP_OK` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | HTTP_OK = 200, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HttpOk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_REQUEST` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HTTP_BAD_REQUEST = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_UNAUTHORIZED` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | HTTP_UNAUTHORIZED = 401, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpUnauthorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_FORBIDDEN` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | HTTP_FORBIDDEN = 403, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpForbidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_NOT_FOUND` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | HTTP_NOT_FOUND = 404, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_METHOD` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | HTTP_BAD_METHOD = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_INTERNAL_SERVER_ERROR` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | HTTP_INTERNAL_SERVER_ERROR = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpInternalServerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_SERVICE_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | HTTP_SERVICE_UNAVAILABLE = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServiceUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/auth_cookie.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let temp: bool = temp.unwrap_or(false); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn generate_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/convert_table.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | idx: i32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/convert_table.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-remote v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `val_request` [INFO] [stdout] --> src/json_request.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse(&mut self, val_request: &UniValue) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_method` [INFO] [stdout] --> src/json_request.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | str_method: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/json_request.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | params: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | id: &UniValue) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/json_request.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | code: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json_request.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | message: &str) -> UniValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/json_request.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn jsonrpc_process_batch_reply(in_: &UniValue) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method_name`, `param_idx`, and `param_name` are never read [INFO] [stdout] --> src/convert_param.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RPCConvertParam { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | method_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | param_idx: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | param_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `members` and `members_by_name` are never read [INFO] [stdout] --> src/convert_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RPCConvertTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 4 | members: HashSet<(String,i32)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | members_by_name: HashSet<(String,String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/json_request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct JSONRPCRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | id: UniValue, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | str_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | params: UniValue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | mode: JSONRPCRequestMode, // default = EXECUTE [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | auth_user: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | peer_addr: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | context: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `vRPCConvertParams` should have an upper case name [INFO] [stdout] --> src/convert_param.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const vRPCConvertParams: &[RPCConvertParam] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `V_RPCCONVERT_PARAMS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [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: variant `GET_HELP` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | GET_HELP, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetHelp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET_ARGS` should have an upper camel case name [INFO] [stdout] --> src/json_request.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GET_ARGS [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `GetArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_code.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / /** [INFO] [stdout] 23 | | | Bitcoin RPC error codes [INFO] [stdout] 24 | | | [INFO] [stdout] 25 | | */ [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 `HTTP_OK` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | HTTP_OK = 200, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HttpOk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_REQUEST` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HTTP_BAD_REQUEST = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_UNAUTHORIZED` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | HTTP_UNAUTHORIZED = 401, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpUnauthorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_FORBIDDEN` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | HTTP_FORBIDDEN = 403, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpForbidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_NOT_FOUND` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | HTTP_NOT_FOUND = 404, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpNotFound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_BAD_METHOD` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | HTTP_BAD_METHOD = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpBadMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_INTERNAL_SERVER_ERROR` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | HTTP_INTERNAL_SERVER_ERROR = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpInternalServerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_SERVICE_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> src/error_code.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | HTTP_SERVICE_UNAVAILABLE = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HttpServiceUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/auth_cookie.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let temp: bool = temp.unwrap_or(false); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn generate_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie_out` [INFO] [stdout] --> src/auth_cookie.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_auth_cookie(cookie_out: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/convert_table.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | idx: i32) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/convert_table.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/convert_table.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_request` [INFO] [stdout] --> src/json_request.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse(&mut self, val_request: &UniValue) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_method` [INFO] [stdout] --> src/json_request.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | str_method: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/json_request.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | params: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | id: &UniValue) -> UniValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_request.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | result: &UniValue, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/json_request.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | error: &UniValue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/json_request.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | id: &UniValue) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/json_request.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | code: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json_request.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | message: &str) -> UniValue { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/json_request.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn jsonrpc_process_batch_reply(in_: &UniValue) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method_name`, `param_idx`, and `param_name` are never read [INFO] [stdout] --> src/convert_param.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RPCConvertParam { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | method_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | param_idx: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | param_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `members` and `members_by_name` are never read [INFO] [stdout] --> src/convert_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RPCConvertTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 4 | members: HashSet<(String,i32)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | members_by_name: HashSet<(String,String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/json_request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct JSONRPCRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | id: UniValue, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | str_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | params: UniValue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | mode: JSONRPCRequestMode, // default = EXECUTE [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | auth_user: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | peer_addr: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | context: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `vRPCConvertParams` should have an upper case name [INFO] [stdout] --> src/convert_param.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const vRPCConvertParams: &[RPCConvertParam] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `V_RPCCONVERT_PARAMS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "aa352f259cfc206a1631b71c952683a2618ff36367df95c4aea183bec744d3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa352f259cfc206a1631b71c952683a2618ff36367df95c4aea183bec744d3e2", kill_on_drop: false }` [INFO] [stdout] aa352f259cfc206a1631b71c952683a2618ff36367df95c4aea183bec744d3e2