[INFO] cloning repository https://github.com/EngineersBox/TCP-Proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EngineersBox/TCP-Proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FTCP-Proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FTCP-Proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e90aa3c7f6d5f4407a94e7151b3c60a5cb15b5c [INFO] checking EngineersBox/TCP-Proxy against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEngineersBox%2FTCP-Proxy" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EngineersBox/TCP-Proxy on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EngineersBox/TCP-Proxy [INFO] finished tweaking git repo https://github.com/EngineersBox/TCP-Proxy [INFO] tweaked toml for git repo https://github.com/EngineersBox/TCP-Proxy written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/EngineersBox/TCP-Proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-async v2.6.0 [INFO] [stderr] Downloaded loom v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.2 [INFO] [stderr] Downloaded java-properties v1.3.0 [INFO] [stderr] Downloaded generator v0.6.24 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da1c771fb66b91c557729d4927ecc4f29504fcb4e9e05f2a227c902b3dca6882 [INFO] running `Command { std: "docker" "start" "-a" "da1c771fb66b91c557729d4927ecc4f29504fcb4e9e05f2a227c902b3dca6882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da1c771fb66b91c557729d4927ecc4f29504fcb4e9e05f2a227c902b3dca6882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1c771fb66b91c557729d4927ecc4f29504fcb4e9e05f2a227c902b3dca6882", kill_on_drop: false }` [INFO] [stdout] da1c771fb66b91c557729d4927ecc4f29504fcb4e9e05f2a227c902b3dca6882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b595194c7353b407262dbf3bd7116580ef5f7405009fcb4743ef8a605dc0197f [INFO] running `Command { std: "docker" "start" "-a" "b595194c7353b407262dbf3bd7116580ef5f7405009fcb4743ef8a605dc0197f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] getrandom v0.2.2: std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking pnet_base v0.27.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking pnet_macros_support v0.27.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking pnet_sys v0.27.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking java-properties v1.3.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking pnet_datalink v0.27.2 [INFO] [stderr] Compiling pnet_packet v0.27.2 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking pnet_transport v0.27.2 [INFO] [stderr] Checking tcp_proxy v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/servlet/proxy.rs (2 fixes) [INFO] [stderr] Fixed src/traffic/bindingset.rs (1 fix) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let thread_pool_size: usize = ternary!{ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 35 | | thread_pool_size_str.is_none(), [INFO] [stdout] 36 | | 50, [INFO] [stdout] 37 | | thread_pool_size_str.unwrap().parse::().unwrap() [INFO] [stdout] 38 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let thread_handler_type: ThreadHandlerType = ternary!{ [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 41 | | thread_handler_type_str.is_none(), [INFO] [stdout] 42 | | ThreadHandlerType::PROGRESSIVE, [INFO] [stdout] 43 | | thread_handler_type_str.unwrap().parse::().unwrap() [INFO] [stdout] 44 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let thread_pool_size: usize = ternary!{ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 35 | | thread_pool_size_str.is_none(), [INFO] [stdout] 36 | | 50, [INFO] [stdout] 37 | | thread_pool_size_str.unwrap().parse::().unwrap() [INFO] [stdout] 38 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let thread_handler_type: ThreadHandlerType = ternary!{ [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 41 | | thread_handler_type_str.is_none(), [INFO] [stdout] 42 | | ThreadHandlerType::PROGRESSIVE, [INFO] [stdout] 43 | | thread_handler_type_str.unwrap().parse::().unwrap() [INFO] [stdout] 44 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/configuration/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&mut self, key: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConfigPropertiesError` [INFO] [stdout] --> src/configuration/exceptions.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConfigPropertiesError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all_header_mappings` [INFO] [stdout] --> src/traffic/bindingset.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn add_all_header_mappings(&mut self, mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_url_wildcard` [INFO] [stdout] --> src/traffic/bindingset.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_url_wildcard(&mut self, wildcard: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_method_enum` [INFO] [stdout] --> src/traffic/bindingset.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn set_method_enum(&mut self, method: HttpMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `st_version_float` [INFO] [stdout] --> src/traffic/bindingset.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn st_version_float(&mut self, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traffic/bindingset.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new(id: String) -> BindingSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rule` [INFO] [stdout] --> src/traffic/bindingset.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_rule(&mut self, rule: BindingRule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rules` [INFO] [stdout] --> src/traffic/bindingset.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_rules(&mut self, rules: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enforcer` [INFO] [stdout] --> src/traffic/enforcer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enforcer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransferFilterService` [INFO] [stdout] --> src/traffic/enforcer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TransferFilterService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PacketHandler` [INFO] [stdout] --> src/traffic/packet_handler.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PacketHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_buffer(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_to_slice` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn buffer_to_slice(&mut self) -> &[Byte] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn empty_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/configuration/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&mut self, key: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConfigPropertiesError` [INFO] [stdout] --> src/configuration/exceptions.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConfigPropertiesError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all_header_mappings` [INFO] [stdout] --> src/traffic/bindingset.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn add_all_header_mappings(&mut self, mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_url_wildcard` [INFO] [stdout] --> src/traffic/bindingset.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_url_wildcard(&mut self, wildcard: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_method_enum` [INFO] [stdout] --> src/traffic/bindingset.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn set_method_enum(&mut self, method: HttpMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `st_version_float` [INFO] [stdout] --> src/traffic/bindingset.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn st_version_float(&mut self, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traffic/bindingset.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new(id: String) -> BindingSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rule` [INFO] [stdout] --> src/traffic/bindingset.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_rule(&mut self, rule: BindingRule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rules` [INFO] [stdout] --> src/traffic/bindingset.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_rules(&mut self, rules: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enforcer` [INFO] [stdout] --> src/traffic/enforcer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enforcer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransferFilterService` [INFO] [stdout] --> src/traffic/enforcer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TransferFilterService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PacketHandler` [INFO] [stdout] --> src/traffic/packet_handler.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PacketHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_buffer(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_to_slice` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn buffer_to_slice(&mut self) -> &[Byte] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn empty_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.50s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking tcp_proxy v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let thread_pool_size: usize = ternary!{ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 35 | | thread_pool_size_str.is_none(), [INFO] [stdout] 36 | | 50, [INFO] [stdout] 37 | | thread_pool_size_str.unwrap().parse::().unwrap() [INFO] [stdout] 38 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let thread_handler_type: ThreadHandlerType = ternary!{ [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 41 | | thread_handler_type_str.is_none(), [INFO] [stdout] 42 | | ThreadHandlerType::PROGRESSIVE, [INFO] [stdout] 43 | | thread_handler_type_str.unwrap().parse::().unwrap() [INFO] [stdout] 44 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let thread_pool_size: usize = ternary!{ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 35 | | thread_pool_size_str.is_none(), [INFO] [stdout] 36 | | 50, [INFO] [stdout] 37 | | thread_pool_size_str.unwrap().parse::().unwrap() [INFO] [stdout] 38 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | if $condition { $v1 } else { $v2 }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/servlet/proxy.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let thread_handler_type: ThreadHandlerType = ternary!{ [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 41 | | thread_handler_type_str.is_none(), [INFO] [stdout] 42 | | ThreadHandlerType::PROGRESSIVE, [INFO] [stdout] 43 | | thread_handler_type_str.unwrap().parse::().unwrap() [INFO] [stdout] 44 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ternary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/configuration/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&mut self, key: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConfigPropertiesError` [INFO] [stdout] --> src/configuration/exceptions.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConfigPropertiesError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all_header_mappings` [INFO] [stdout] --> src/traffic/bindingset.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn add_all_header_mappings(&mut self, mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_url_wildcard` [INFO] [stdout] --> src/traffic/bindingset.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_url_wildcard(&mut self, wildcard: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_method_enum` [INFO] [stdout] --> src/traffic/bindingset.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn set_method_enum(&mut self, method: HttpMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `st_version_float` [INFO] [stdout] --> src/traffic/bindingset.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn st_version_float(&mut self, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traffic/bindingset.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new(id: String) -> BindingSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rule` [INFO] [stdout] --> src/traffic/bindingset.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_rule(&mut self, rule: BindingRule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rules` [INFO] [stdout] --> src/traffic/bindingset.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_rules(&mut self, rules: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enforcer` [INFO] [stdout] --> src/traffic/enforcer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enforcer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransferFilterService` [INFO] [stdout] --> src/traffic/enforcer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TransferFilterService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PacketHandler` [INFO] [stdout] --> src/traffic/packet_handler.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PacketHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_buffer(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_to_slice` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn buffer_to_slice(&mut self) -> &[Byte] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn empty_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/configuration/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&mut self, key: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConfigPropertiesError` [INFO] [stdout] --> src/configuration/exceptions.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConfigPropertiesError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all_header_mappings` [INFO] [stdout] --> src/traffic/bindingset.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn add_all_header_mappings(&mut self, mappings: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_url_wildcard` [INFO] [stdout] --> src/traffic/bindingset.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_url_wildcard(&mut self, wildcard: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_method_enum` [INFO] [stdout] --> src/traffic/bindingset.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn set_method_enum(&mut self, method: HttpMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `st_version_float` [INFO] [stdout] --> src/traffic/bindingset.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn st_version_float(&mut self, version: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traffic/bindingset.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new(id: String) -> BindingSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rule` [INFO] [stdout] --> src/traffic/bindingset.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_rule(&mut self, rule: BindingRule) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_rules` [INFO] [stdout] --> src/traffic/bindingset.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn add_rules(&mut self, rules: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enforcer` [INFO] [stdout] --> src/traffic/enforcer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enforcer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransferFilterService` [INFO] [stdout] --> src/traffic/enforcer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TransferFilterService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PacketHandler` [INFO] [stdout] --> src/traffic/packet_handler.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PacketHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_buffer(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buffer_to_slice` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn buffer_to_slice(&mut self) -> &[Byte] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty_buffer` [INFO] [stdout] --> src/traffic/packet/stream_packet_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn empty_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "b595194c7353b407262dbf3bd7116580ef5f7405009fcb4743ef8a605dc0197f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b595194c7353b407262dbf3bd7116580ef5f7405009fcb4743ef8a605dc0197f", kill_on_drop: false }` [INFO] [stdout] b595194c7353b407262dbf3bd7116580ef5f7405009fcb4743ef8a605dc0197f