[INFO] cloning repository https://github.com/lzunsec/rust_hyper_custom_transporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lzunsec/rust_hyper_custom_transporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzunsec%2Frust_hyper_custom_transporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzunsec%2Frust_hyper_custom_transporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba800278e19f53f11e27025cf1c6d8ffc654e448 [INFO] checking lzunsec/rust_hyper_custom_transporter against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzunsec%2Frust_hyper_custom_transporter" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lzunsec/rust_hyper_custom_transporter on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lzunsec/rust_hyper_custom_transporter [INFO] finished tweaking git repo https://github.com/lzunsec/rust_hyper_custom_transporter [INFO] tweaked toml for git repo https://github.com/lzunsec/rust_hyper_custom_transporter written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/lzunsec/rust_hyper_custom_transporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9791de35f8cdd79d69a15be5edab73c5a093c7c98f0745e1f5b8b0c07b7db53 [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" "e9791de35f8cdd79d69a15be5edab73c5a093c7c98f0745e1f5b8b0c07b7db53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9791de35f8cdd79d69a15be5edab73c5a093c7c98f0745e1f5b8b0c07b7db53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9791de35f8cdd79d69a15be5edab73c5a093c7c98f0745e1f5b8b0c07b7db53", kill_on_drop: false }` [INFO] [stdout] e9791de35f8cdd79d69a15be5edab73c5a093c7c98f0745e1f5b8b0c07b7db53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed80d8f1ef915e9957dda3f659eb7ccc9868cc748d6b3e679e744680ff4d23dd [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" "ed80d8f1ef915e9957dda3f659eb7ccc9868cc748d6b3e679e744680ff4d23dd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking httparse v1.3.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.4 (/opt/rustwide/workdir/hyper) [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> hyper/src/common/sync_wrapper.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` 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 #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#at-the-crate-level for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> hyper/src/common/sync_wrapper.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#at-the-crate-level for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/client/client.rs:417:29 [INFO] [stdout] | [INFO] [stdout] 417 | } else {let body = Body::empty(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper_http_custom_transport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/custom_req.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let body = Body::empty(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | cx: &mut Context<'_> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | cx: &mut Context<'_> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/custom_req.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | fn call(&mut self, req: hyper::Uri) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/custom_req.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_req.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | mut self: Pin<&mut Self>, [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/custom_req.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mut self: Pin<&mut Self>, [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/custom_req.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let body = Body::empty(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | cx: &mut Context<'_> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | cx: &mut Context<'_> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/custom_req.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/custom_req.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | fn call(&mut self, req: hyper::Uri) -> Self::Future { [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/custom_req.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | mut self: Pin<&mut Self>, [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/custom_req.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mut self: Pin<&mut Self>, [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/custom_req.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.48s [INFO] running `Command { std: "docker" "inspect" "ed80d8f1ef915e9957dda3f659eb7ccc9868cc748d6b3e679e744680ff4d23dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed80d8f1ef915e9957dda3f659eb7ccc9868cc748d6b3e679e744680ff4d23dd", kill_on_drop: false }` [INFO] [stdout] ed80d8f1ef915e9957dda3f659eb7ccc9868cc748d6b3e679e744680ff4d23dd