[INFO] fetching crate bitconch-jsonrpc-server-utils 0.1.0...
[INFO] checking bitconch-jsonrpc-server-utils-0.1.0 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] extracting crate bitconch-jsonrpc-server-utils 0.1.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate bitconch-jsonrpc-server-utils 0.1.0
[INFO] finished tweaking crates.io crate bitconch-jsonrpc-server-utils 0.1.0
[INFO] tweaked toml for crates.io crate bitconch-jsonrpc-server-utils 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bitconch-jsonrpc-server-utils 0.1.0 on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 74 packages to highest compatible versions
[INFO] [stderr]       Adding bytes v0.4.12 (available: v1.12.1)
[INFO] [stderr]       Adding tokio v0.1.22 (available: v1.53.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitconch-jsonrpc-server-utils` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d
[INFO] running `Command { std: "docker" "start" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitconch-jsonrpc-server-utils` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]     Checking aho-corasick v1.1.5
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking bstr v1.13.1
[INFO] [stderr]     Checking unicase v2.10.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking regex-automata v0.4.18
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking globset v0.4.20
[INFO] [stderr]     Checking bitconch-jsonrpc-core v0.1.0
[INFO] [stderr]     Checking bitconch-jsonrpc-server-utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/cors.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | /// Returns headers which are always allowed.
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/reactor.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 2...4 => 2,
[INFO] [stdout]     |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio::runtime::Builder::threadpool_builder`: use the `core_threads`, `blocking_threads`, `name_prefix`, `keep_alive`, and `stack_size` functions on `runtime::Builder`, instead
[INFO] [stdout]    --> src/reactor.rs:123:6
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 .threadpool_builder(tp_builder)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/cors.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | /// Returns headers which are always allowed.
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/reactor.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 2...4 => 2,
[INFO] [stdout]     |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/hosts.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Some(port) => match port.clone().parse::<u16>().ok() {
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio::runtime::Builder::threadpool_builder`: use the `core_threads`, `blocking_threads`, `name_prefix`, `keep_alive`, and `stack_size` functions on `runtime::Builder`, instead
[INFO] [stdout]    --> src/reactor.rs:123:6
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 .threadpool_builder(tp_builder)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:414:21
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let origin = Some("http://parity.io".into());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 414 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 414 +         let origin = Some("http://parity.io");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 414 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 414 +         let origin = Some(<&str as Into<_>>::into("http://parity.io"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:431:21
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let origin = Some("http://parity.io".into());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 431 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 431 +         let origin = Some("http://parity.io");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 431 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 431 +         let origin = Some(<&str as Into<_>>::into("http://parity.io"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:461:21
[INFO] [stdout]     |
[INFO] [stdout] 461 |         let origin = Some("null".into());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 461 -         let origin = Some("null".into());
[INFO] [stdout] 461 +         let origin = Some("null");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 461 -         let origin = Some("null".into());
[INFO] [stdout] 461 +         let origin = Some(<&str as Into<_>>::into("null"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:478:21
[INFO] [stdout]     |
[INFO] [stdout] 478 |         let origin = Some("http://parity.io".into());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 478 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 478 +         let origin = Some("http://parity.io");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 478 -         let origin = Some("http://parity.io".into());
[INFO] [stdout] 478 +         let origin = Some(<&str as Into<_>>::into("http://parity.io"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:495:22
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let origin1 = Some("http://parity.io".into());
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 495 -         let origin1 = Some("http://parity.io".into());
[INFO] [stdout] 495 +         let origin1 = Some("http://parity.io");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 495 -         let origin1 = Some("http://parity.io".into());
[INFO] [stdout] 495 +         let origin1 = Some(<&str as Into<_>>::into("http://parity.io"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:496:22
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let origin2 = Some("http://parity.iot".into());
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 496 -         let origin2 = Some("http://parity.iot".into());
[INFO] [stdout] 496 +         let origin2 = Some("http://parity.iot");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 496 -         let origin2 = Some("http://parity.iot".into());
[INFO] [stdout] 496 +         let origin2 = Some(<&str as Into<_>>::into("http://parity.iot"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]    --> src/cors.rs:497:22
[INFO] [stdout]     |
[INFO] [stdout] 497 |         let origin3 = Some("chrome-extension://test".into());
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 497 -         let origin3 = Some("chrome-extension://test".into());
[INFO] [stdout] 497 +         let origin3 = Some("chrome-extension://test");
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 497 -         let origin3 = Some("chrome-extension://test".into());
[INFO] [stdout] 497 +         let origin3 = Some(<&str as Into<_>>::into("chrome-extension://test"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `cors::AccessControlAllowHeaders`
[INFO] [stdout]    --> src/cors.rs:525:71
[INFO] [stdout]     |
[INFO] [stdout] 525 |         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 525 -         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout] 525 +         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers, |x| x);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 525 -         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout] 525 +         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &<cors::AccessControlAllowHeaders as Into<_>>::into(cors_allow_headers), |x| x);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `cors::AccessControlAllowHeaders`
[INFO] [stdout]    --> src/cors.rs:542:71
[INFO] [stdout]     |
[INFO] [stdout] 542 |         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| (*x).to_owned());
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 542 -         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| (*x).to_owned());
[INFO] [stdout] 542 +         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers, |x| (*x).to_owned());
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 542 -         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &cors_allow_headers.into(), |x| (*x).to_owned());
[INFO] [stdout] 542 +         let res = get_cors_allow_headers(headers.iter(), requested.iter(), &<cors::AccessControlAllowHeaders as Into<_>>::into(cors_allow_headers), |x| (*x).to_owned());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `cors::AccessControlAllowHeaders`
[INFO] [stdout]    --> src/cors.rs:574:68
[INFO] [stdout]     |
[INFO] [stdout] 574 |         let res = get_cors_allow_headers(headers.iter(), iter::empty(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 574 -         let res = get_cors_allow_headers(headers.iter(), iter::empty(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout] 574 +         let res = get_cors_allow_headers(headers.iter(), iter::empty(), &cors_allow_headers, |x| x);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 574 -         let res = get_cors_allow_headers(headers.iter(), iter::empty(), &cors_allow_headers.into(), |x| x);
[INFO] [stdout] 574 +         let res = get_cors_allow_headers(headers.iter(), iter::empty(), &<cors::AccessControlAllowHeaders as Into<_>>::into(cors_allow_headers), |x| x);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/hosts.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Some(port) => match port.clone().parse::<u16>().ok() {
[INFO] [stdout]    |                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitconch-jsonrpc-server-utils` (lib test) due to 10 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d", kill_on_drop: false }`
[INFO] [stdout] 395be76d35bbacc529fa2757799adb01d4a58210a01d01f83411cb71c97f092d
