[INFO] fetching crate wmproxy 0.2.0... [INFO] testing wmproxy-0.2.0 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate wmproxy 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate wmproxy 0.2.0 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wmproxy 0.2.0 [INFO] finished tweaking crates.io crate wmproxy 0.2.0 [INFO] tweaked toml for crates.io crate wmproxy 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate wmproxy 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rbtree v0.1.5 [INFO] [stderr] Downloaded wenmeng v0.2.0 [INFO] [stderr] Downloaded commander v0.1.5 [INFO] [stderr] Downloaded webpki v0.22.1 [INFO] [stderr] Downloaded rustls-webpki v0.101.5 [INFO] [stderr] Downloaded brotli-decompressor v2.5.0 [INFO] [stderr] Downloaded forever-rs v0.1.2 [INFO] [stderr] Downloaded webparse v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2c9f3ca8af7d9068d76f95dc98d2192b369d4d6bc89e568c36e30dfb96463d [INFO] running `Command { std: "docker" "start" "-a" "5c2c9f3ca8af7d9068d76f95dc98d2192b369d4d6bc89e568c36e30dfb96463d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2c9f3ca8af7d9068d76f95dc98d2192b369d4d6bc89e568c36e30dfb96463d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2c9f3ca8af7d9068d76f95dc98d2192b369d4d6bc89e568c36e30dfb96463d", kill_on_drop: false }` [INFO] [stdout] 5c2c9f3ca8af7d9068d76f95dc98d2192b369d4d6bc89e568c36e30dfb96463d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 335750a7eb7c91657faa8e09bfa35900a8b153e6a57150edd361f0afcd628445 [INFO] running `Command { std: "docker" "start" "-a" "335750a7eb7c91657faa8e09bfa35900a8b153e6a57150edd361f0afcd628445", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling brotli-decompressor v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling webparse v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling rbtree v0.1.5 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling commander v0.1.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name brotli /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/brotli-3.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="ffi-api"' --cfg 'feature="std"' -C metadata=2d11b981a4bdb8eb -C extra-filename=-2d11b981a4bdb8eb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-7db4b4f903e6a3ad.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-d9f2eea369668bd9.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-628863b66b79fb9e.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "335750a7eb7c91657faa8e09bfa35900a8b153e6a57150edd361f0afcd628445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "335750a7eb7c91657faa8e09bfa35900a8b153e6a57150edd361f0afcd628445", kill_on_drop: false }` [INFO] [stdout] 335750a7eb7c91657faa8e09bfa35900a8b153e6a57150edd361f0afcd628445 [INFO] testing wmproxy-0.2.0 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate wmproxy 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wmproxy 0.2.0 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wmproxy 0.2.0 [INFO] finished tweaking crates.io crate wmproxy 0.2.0 [INFO] tweaked toml for crates.io crate wmproxy 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate wmproxy 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5f492d314c02f8b0b8d4c20cd8558b9258014e93cb650eb84bb52842808c9a2 [INFO] running `Command { std: "docker" "start" "-a" "b5f492d314c02f8b0b8d4c20cd8558b9258014e93cb650eb84bb52842808c9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f492d314c02f8b0b8d4c20cd8558b9258014e93cb650eb84bb52842808c9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f492d314c02f8b0b8d4c20cd8558b9258014e93cb650eb84bb52842808c9a2", kill_on_drop: false }` [INFO] [stdout] b5f492d314c02f8b0b8d4c20cd8558b9258014e93cb650eb84bb52842808c9a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b17a14a598f2151e1d3364188272e711d6fa6387eff01c17489d8ad5a369fb [INFO] running `Command { std: "docker" "start" "-a" "c9b17a14a598f2151e1d3364188272e711d6fa6387eff01c17489d8ad5a369fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling brotli-decompressor v2.5.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling webparse v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rbtree v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling commander v0.1.5 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.101.5 [INFO] [stderr] Compiling forever-rs v0.1.2 [INFO] [stderr] Compiling webpki v0.22.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling wenmeng v0.2.0 [INFO] [stderr] Compiling wmproxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/proxy.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor, TlsConnector}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/option.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/reverse/server.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::SocketAddr, time::{Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ConfigDuration` [INFO] [stdout] --> src/reverse/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ConfigDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleStreamConfig` [INFO] [stdout] --> src/reverse/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub use upstream::{SingleStreamConfig, UpstreamConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `msize` [INFO] [stdout] --> src/config/size.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! msize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mdur` [INFO] [stdout] --> src/config/duration.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! mdur { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reverse/stream.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 168 | / loop { [INFO] [stdout] 169 | | let mut interest = Interest::READABLE; [INFO] [stdout] 170 | | if !send_cache.is_empty() { [INFO] [stdout] 171 | | interest = interest | Interest::WRITABLE; [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 211 | [INFO] [stdout] 212 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/trans/http.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/tcp.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/http.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse` [INFO] [stdout] --> src/helper.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_reuse_port(socket: &Socket, reuse: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_none`, `is_client`, and `is_server` are never used [INFO] [stdout] --> src/option.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mode { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 35 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_client(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_server(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/prot/create.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProtCreate { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | sock_map: u32, [INFO] [stdout] 15 | mode: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtCreate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "c9b17a14a598f2151e1d3364188272e711d6fa6387eff01c17489d8ad5a369fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b17a14a598f2151e1d3364188272e711d6fa6387eff01c17489d8ad5a369fb", kill_on_drop: false }` [INFO] [stdout] c9b17a14a598f2151e1d3364188272e711d6fa6387eff01c17489d8ad5a369fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc6b7be88da7958af4964c4233e1d890ec2ef23eee97126f5f419280753f8cc [INFO] running `Command { std: "docker" "start" "-a" "bcc6b7be88da7958af4964c4233e1d890ec2ef23eee97126f5f419280753f8cc", kill_on_drop: false }` [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/proxy.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor, TlsConnector}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/option.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/reverse/server.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::SocketAddr, time::{Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ConfigDuration` [INFO] [stdout] --> src/reverse/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ConfigDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleStreamConfig` [INFO] [stdout] --> src/reverse/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub use upstream::{SingleStreamConfig, UpstreamConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `msize` [INFO] [stdout] --> src/config/size.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! msize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mdur` [INFO] [stdout] --> src/config/duration.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! mdur { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reverse/stream.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 168 | / loop { [INFO] [stdout] 169 | | let mut interest = Interest::READABLE; [INFO] [stdout] 170 | | if !send_cache.is_empty() { [INFO] [stdout] 171 | | interest = interest | Interest::WRITABLE; [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 211 | [INFO] [stdout] 212 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/trans/http.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/tcp.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/http.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse` [INFO] [stdout] --> src/helper.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_reuse_port(socket: &Socket, reuse: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_none`, `is_client`, and `is_server` are never used [INFO] [stdout] --> src/option.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mode { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 35 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_client(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_server(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wmproxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/prot/create.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProtCreate { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | sock_map: u32, [INFO] [stdout] 15 | mode: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtCreate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/proxy.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor, TlsConnector}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustls` is imported redundantly [INFO] [stdout] --> src/option.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_rustls::{rustls, TlsAcceptor}; [INFO] [stdout] | ^^^^^^ the item `rustls` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/reverse/server.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::SocketAddr, time::{Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ConfigDuration` [INFO] [stdout] --> src/reverse/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ConfigDuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SingleStreamConfig` [INFO] [stdout] --> src/reverse/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub use upstream::{SingleStreamConfig, UpstreamConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reverse/stream.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 168 | / loop { [INFO] [stdout] 169 | | let mut interest = Interest::READABLE; [INFO] [stdout] 170 | | if !send_cache.is_empty() { [INFO] [stdout] 171 | | interest = interest | Interest::WRITABLE; [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 211 | [INFO] [stdout] 212 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/trans/http.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/tcp.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/trans/http.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse` [INFO] [stdout] --> src/helper.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_reuse_port(socket: &Socket, reuse: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_none`, `is_client`, and `is_server` are never used [INFO] [stdout] --> src/option.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mode { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 35 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_client(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_server(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/prot/create.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ProtCreate { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | sock_map: u32, [INFO] [stdout] 15 | mode: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtCreate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "bcc6b7be88da7958af4964c4233e1d890ec2ef23eee97126f5f419280753f8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc6b7be88da7958af4964c4233e1d890ec2ef23eee97126f5f419280753f8cc", kill_on_drop: false }` [INFO] [stdout] bcc6b7be88da7958af4964c4233e1d890ec2ef23eee97126f5f419280753f8cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5717a5f49097e55f41730f18e0ed6826b423ee4832fdc27be245ba7874be06a0 [INFO] running `Command { std: "docker" "start" "-a" "5717a5f49097e55f41730f18e0ed6826b423ee4832fdc27be245ba7874be06a0", kill_on_drop: false }` [INFO] [stderr] warning: the item `rustls` is imported redundantly [INFO] [stderr] --> src/proxy.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | use tokio_rustls::{rustls, TlsAcceptor, TlsConnector}; [INFO] [stderr] | ^^^^^^ the item `rustls` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `rustls` is imported redundantly [INFO] [stderr] --> src/option.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | use tokio_rustls::{rustls, TlsAcceptor}; [INFO] [stderr] | ^^^^^^ the item `rustls` is already defined here [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/reverse/server.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{net::SocketAddr, time::{Duration}}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ConfigDuration` [INFO] [stderr] --> src/reverse/server.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ConfigDuration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SingleStreamConfig` [INFO] [stderr] --> src/reverse/mod.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | pub use upstream::{SingleStreamConfig, UpstreamConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `msize` [INFO] [stderr] --> src/config/size.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | macro_rules! msize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `mdur` [INFO] [stderr] --> src/config/duration.rs:81:18 [INFO] [stderr] | [INFO] [stderr] 81 | macro_rules! mdur { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/reverse/stream.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 168 | / loop { [INFO] [stderr] 169 | | let mut interest = Interest::READABLE; [INFO] [stderr] 170 | | if !send_cache.is_empty() { [INFO] [stderr] 171 | | interest = interest | Interest::WRITABLE; [INFO] [stderr] ... | [INFO] [stderr] 209 | | } [INFO] [stderr] 210 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 211 | [INFO] [stderr] 212 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/trans/http.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | io::{Read}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> src/trans/tcp.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> src/trans/http.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | io::{AsyncRead, AsyncReadExt, AsyncWrite}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reuse` [INFO] [stderr] --> src/helper.rs:37:40 [INFO] [stderr] | [INFO] [stderr] 37 | fn set_reuse_port(socket: &Socket, reuse: bool) -> io::Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `is_none`, `is_client`, and `is_server` are never used [INFO] [stderr] --> src/option.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl Mode { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] 35 | pub fn is_none(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn is_client(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn is_server(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `mode` is never read [INFO] [stderr] --> src/prot/create.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ProtCreate { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 14 | sock_map: u32, [INFO] [stderr] 15 | mode: u8, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProtCreate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `wmproxy` (lib) generated 14 warnings (run `cargo fix --lib -p wmproxy` to apply 3 suggestions) [INFO] [stderr] warning: `wmproxy` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wmproxy-9092194eb2fef368) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test config::duration::tests::test_display ... ok [INFO] [stdout] test config::size::tests::test_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wmproxy-87e351e81c10dfbf) [INFO] [stderr] Doc-tests wmproxy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5717a5f49097e55f41730f18e0ed6826b423ee4832fdc27be245ba7874be06a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5717a5f49097e55f41730f18e0ed6826b423ee4832fdc27be245ba7874be06a0", kill_on_drop: false }` [INFO] [stdout] 5717a5f49097e55f41730f18e0ed6826b423ee4832fdc27be245ba7874be06a0