[INFO] cloning repository https://github.com/sburton84/rust-http-proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sburton84/rust-http-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsburton84%2Frust-http-proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsburton84%2Frust-http-proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45b462746923fc37eaa49047332a0f49ccf6aa23
[INFO] testing sburton84/rust-http-proxy against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsburton84%2Frust-http-proxy" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sburton84/rust-http-proxy on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sburton84/rust-http-proxy
[INFO] finished tweaking git repo https://github.com/sburton84/rust-http-proxy
[INFO] tweaked toml for git repo https://github.com/sburton84/rust-http-proxy written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/sburton84/rust-http-proxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2aa2efff778b7b291e1cf0faf6a0247caf74a540859b6f0721a30971712ac32e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2aa2efff778b7b291e1cf0faf6a0247caf74a540859b6f0721a30971712ac32e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2aa2efff778b7b291e1cf0faf6a0247caf74a540859b6f0721a30971712ac32e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2aa2efff778b7b291e1cf0faf6a0247caf74a540859b6f0721a30971712ac32e", kill_on_drop: false }`
[INFO] [stdout] 2aa2efff778b7b291e1cf0faf6a0247caf74a540859b6f0721a30971712ac32e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 78a2da655240e325ee048af8974426dd122a3500ffe277252f0e5f353ed20e88
[INFO] running `Command { std: "docker" "start" "-a" "78a2da655240e325ee048af8974426dd122a3500ffe277252f0e5f353ed20e88", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.62
[INFO] [stderr] Compiling proc-macro2 v1.0.6
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.8
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Compiling memchr v2.2.1
[INFO] [stderr] Compiling spin v0.5.2
[INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling byteorder v1.3.2
[INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling slab v0.4.2
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling fnv v1.0.6
[INFO] [stderr] Compiling scopeguard v1.0.0
[INFO] [stderr] Compiling arrayvec v0.4.11
[INFO] [stderr] Compiling nodrop v0.1.13
[INFO] [stderr] Compiling cc v1.0.47
[INFO] [stderr] Compiling pkg-config v0.3.17
[INFO] [stderr] Compiling maybe-uninit v2.0.0
[INFO] [stderr] Compiling bitflags v1.1.0
[INFO] [stderr] Compiling itoa v0.4.4
[INFO] [stderr] Compiling foreign-types-shared v0.1.1
[INFO] [stderr] Compiling openssl v0.10.25
[INFO] [stderr] Compiling native-tls v0.2.3
[INFO] [stderr] Compiling httparse v1.3.4
[INFO] [stderr] Compiling tower-service v0.3.0-alpha.2
[INFO] [stderr] Compiling openssl-probe v0.1.2
[INFO] [stderr] Compiling try-lock v0.2.2
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Compiling lock_api v0.3.1
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling foreign-types v0.3.2
[INFO] [stderr] Compiling crossbeam-utils v0.6.6
[INFO] [stderr] Compiling tracing-core v0.1.7
[INFO] [stderr] Compiling smallvec v0.6.13
[INFO] [stderr] Compiling indexmap v1.3.0
[INFO] [stderr] Compiling want v0.3.0
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Compiling crossbeam-channel v0.3.9
[INFO] [stderr] Compiling crossbeam-queue v0.1.2
[INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling iovec v0.1.2
[INFO] [stderr] Compiling num_cpus v1.10.1
[INFO] [stderr] Compiling net2 v0.2.33
[INFO] [stderr] Compiling time v0.1.42
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Compiling bytes v0.4.12
[INFO] [stderr] Compiling memoffset v0.5.1
[INFO] [stderr] Compiling parking_lot_core v0.6.2
[INFO] [stderr] Compiling parking_lot v0.9.0
[INFO] [stderr] Compiling openssl-sys v0.9.52
[INFO] [stderr] Compiling mio v0.6.19
[INFO] [stderr] Compiling crossbeam-epoch v0.7.2
[INFO] [stderr] Compiling http v0.1.19
[INFO] [stderr] Compiling string v0.2.1
[INFO] [stderr] Compiling crossbeam-deque v0.7.1
[INFO] [stderr] Compiling mio-uds v0.6.7
[INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6
[INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19
[INFO] [stderr] Compiling http-body v0.2.0-alpha.3
[INFO] [stderr] Compiling pin-project-internal v0.4.5
[INFO] [stderr] Compiling tracing-attributes v0.1.5
[INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.6
[INFO] [stderr] Compiling tracing v0.1.10
[INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6
[INFO] [stderr] Compiling pin-project v0.4.5
[INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6
[INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.6
[INFO] [stderr] Compiling tower-make v0.3.0-alpha.2a
[INFO] [stderr] Compiling tokio-tls v0.3.0-alpha.6
[INFO] [stderr] Compiling h2 v0.2.0-alpha.3
[INFO] [stderr] Compiling tokio-net v0.2.0-alpha.6
[INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.6
[INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6
[INFO] [stderr] Compiling tokio v0.2.0-alpha.6
[INFO] [stderr] Compiling hyper v0.13.0-alpha.4
[INFO] [stderr] Compiling hyper-tls v0.4.0-alpha.4
[INFO] [stderr] Compiling rust-http-proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout] --> src/connection.rs:97:13
[INFO] [stdout] |
[INFO] [stdout] 97 | let stream = TcpStream::connect(uri).await?;
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> src/headers.rs:13:26
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn add_proxy_headers(req: &mut Request
) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | fn poll_read(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut [u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | fn poll_write(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:36:19
[INFO] [stdout] |
[INFO] [stdout] 36 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Mitm`
[INFO] [stdout] --> src/connection.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | Mitm(String),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `create_cert`
[INFO] [stdout] --> src/crypto.rs:8:4
[INFO] [stdout] |
[INFO] [stdout] 8 | fn create_cert(
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "78a2da655240e325ee048af8974426dd122a3500ffe277252f0e5f353ed20e88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a2da655240e325ee048af8974426dd122a3500ffe277252f0e5f353ed20e88", kill_on_drop: false }`
[INFO] [stdout] 78a2da655240e325ee048af8974426dd122a3500ffe277252f0e5f353ed20e88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35ea7c1f29bf009010e528e5f94bf7ff1828320ba7d75284d0c9ffd1937e3bd1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "35ea7c1f29bf009010e528e5f94bf7ff1828320ba7d75284d0c9ffd1937e3bd1", kill_on_drop: false }`
[INFO] [stderr] Compiling regex-syntax v0.6.11
[INFO] [stderr] Compiling quick-error v1.2.2
[INFO] [stderr] Compiling termcolor v1.0.5
[INFO] [stderr] Compiling atty v0.2.13
[INFO] [stderr] Compiling thread_local v0.3.6
[INFO] [stderr] Compiling aho-corasick v0.7.6
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout] --> src/connection.rs:97:13
[INFO] [stdout] |
[INFO] [stdout] 97 | let stream = TcpStream::connect(uri).await?;
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> src/headers.rs:13:26
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn add_proxy_headers(req: &mut Request) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | fn poll_read(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut [u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | fn poll_write(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:36:19
[INFO] [stdout] |
[INFO] [stdout] 36 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Mitm`
[INFO] [stdout] --> src/connection.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | Mitm(String),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `create_cert`
[INFO] [stdout] --> src/crypto.rs:8:4
[INFO] [stdout] |
[INFO] [stdout] 8 | fn create_cert(
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling humantime v1.2.0
[INFO] [stderr] Compiling regex v1.2.1
[INFO] [stderr] Compiling env_logger v0.6.2
[INFO] [stderr] Compiling rust-http-proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout] --> src/connection.rs:97:13
[INFO] [stdout] |
[INFO] [stdout] 97 | let stream = TcpStream::connect(uri).await?;
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout] --> src/headers.rs:13:26
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn add_proxy_headers(req: &mut Request) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | fn poll_read(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut [u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | fn poll_write(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8]) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:36:19
[INFO] [stdout] |
[INFO] [stdout] 36 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/utils.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Mitm`
[INFO] [stdout] --> src/connection.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 24 | Mitm(String),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `create_cert`
[INFO] [stdout] --> src/crypto.rs:8:4
[INFO] [stdout] |
[INFO] [stdout] 8 | fn create_cert(
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.80s
[INFO] running `Command { std: "docker" "inspect" "35ea7c1f29bf009010e528e5f94bf7ff1828320ba7d75284d0c9ffd1937e3bd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35ea7c1f29bf009010e528e5f94bf7ff1828320ba7d75284d0c9ffd1937e3bd1", kill_on_drop: false }`
[INFO] [stdout] 35ea7c1f29bf009010e528e5f94bf7ff1828320ba7d75284d0c9ffd1937e3bd1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7422882fdd1e49280dd223e2c38dfdf87603114ffee08ce48f0938c92ff3e424
[INFO] running `Command { std: "docker" "start" "-a" "7422882fdd1e49280dd223e2c38dfdf87603114ffee08ce48f0938c92ff3e424", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `stream`
[INFO] [stderr] --> src/connection.rs:97:13
[INFO] [stderr] |
[INFO] [stderr] 97 | let stream = TcpStream::connect(uri).await?;
[INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr] --> src/headers.rs:13:26
[INFO] [stderr] |
[INFO] [stderr] 13 | pub fn add_proxy_headers(req: &mut Request) {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:26:18
[INFO] [stderr] |
[INFO] [stderr] 26 | fn poll_read(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut [u8]) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:32:19
[INFO] [stderr] |
[INFO] [stderr] 32 | fn poll_write(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8]) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:36:19
[INFO] [stderr] |
[INFO] [stderr] 36 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:40:22
[INFO] [stderr] |
[INFO] [stderr] 40 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variant is never constructed: `Mitm`
[INFO] [stderr] --> src/connection.rs:24:5
[INFO] [stderr] |
[INFO] [stderr] 24 | Mitm(String),
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `create_cert`
[INFO] [stderr] --> src/crypto.rs:8:4
[INFO] [stderr] |
[INFO] [stderr] 8 | fn create_cert(
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `stream`
[INFO] [stderr] --> src/connection.rs:97:13
[INFO] [stderr] |
[INFO] [stderr] 97 | let stream = TcpStream::connect(uri).await?;
[INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr] --> src/headers.rs:13:26
[INFO] [stderr] |
[INFO] [stderr] 13 | pub fn add_proxy_headers(req: &mut Request) {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:26:18
[INFO] [stderr] |
[INFO] [stderr] 26 | fn poll_read(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut [u8]) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:32:19
[INFO] [stderr] |
[INFO] [stderr] 32 | fn poll_write(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8]) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:36:19
[INFO] [stderr] |
[INFO] [stderr] 36 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/utils.rs:40:22
[INFO] [stderr] |
[INFO] [stderr] 40 | fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll> {
[INFO] [stderr] | ----^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr]
[INFO] [stderr] warning: variant is never constructed: `Mitm`
[INFO] [stderr] --> src/connection.rs:24:5
[INFO] [stderr] |
[INFO] [stderr] 24 | Mitm(String),
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `create_cert`
[INFO] [stderr] --> src/crypto.rs:8:4
[INFO] [stderr] |
[INFO] [stderr] 8 | fn create_cert(
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_http_proxy-e07238983cd21bdc
[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
[INFO] [stdout]
[INFO] [stderr] Doc-tests rust-http-proxy
[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
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "7422882fdd1e49280dd223e2c38dfdf87603114ffee08ce48f0938c92ff3e424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7422882fdd1e49280dd223e2c38dfdf87603114ffee08ce48f0938c92ff3e424", kill_on_drop: false }`
[INFO] [stdout] 7422882fdd1e49280dd223e2c38dfdf87603114ffee08ce48f0938c92ff3e424