[INFO] cloning repository https://github.com/dekellum/repro-hyper-client-hang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dekellum/repro-hyper-client-hang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdekellum%2Frepro-hyper-client-hang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdekellum%2Frepro-hyper-client-hang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9494b0113783d3e7cb043530e64419d0df25280 [INFO] checking dekellum/repro-hyper-client-hang against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdekellum%2Frepro-hyper-client-hang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dekellum/repro-hyper-client-hang on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dekellum/repro-hyper-client-hang [INFO] finished tweaking git repo https://github.com/dekellum/repro-hyper-client-hang [INFO] tweaked toml for git repo https://github.com/dekellum/repro-hyper-client-hang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dekellum/repro-hyper-client-hang 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff986caf5a34102e607c5d4a142b275879d5395e6c393eaad32535b9be957727 [INFO] running `Command { std: "docker" "start" "-a" "ff986caf5a34102e607c5d4a142b275879d5395e6c393eaad32535b9be957727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff986caf5a34102e607c5d4a142b275879d5395e6c393eaad32535b9be957727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff986caf5a34102e607c5d4a142b275879d5395e6c393eaad32535b9be957727", kill_on_drop: false }` [INFO] [stdout] ff986caf5a34102e607c5d4a142b275879d5395e6c393eaad32535b9be957727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c03b12787e2f5580ea659c53dd8707f1ef3d909aae390ef52c125f2a08f4edf [INFO] running `Command { std: "docker" "start" "-a" "1c03b12787e2f5580ea659c53dd8707f1ef3d909aae390ef52c125f2a08f4edf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking futures-core v0.3.11 [INFO] [stderr] Checking futures-sink v0.3.11 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.11 [INFO] [stderr] Checking futures-channel v0.3.11 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking futures-io v0.3.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.11 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking futures-util v0.3.11 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking futures-executor v0.3.11 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking futures v0.3.11 [INFO] [stderr] Checking repro-hyper-client-hang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `client` does not live long enough [INFO] [stdout] --> src/lib.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 69 | let client = Client::builder().build(HttpConnector::new()); [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 72 | let res = spawn(post_body_req(&client, &url, body)) [INFO] [stdout] | --------------^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `client` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 91 | }); [INFO] [stdout] | - `client` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/lib.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 66 | let (url, srv) = service!(1, echo); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 72 | let res = spawn(post_body_req(&client, &url, body)) [INFO] [stdout] | -----------------------^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `url` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 91 | }); [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `client` because it is borrowed [INFO] [stdout] --> src/lib.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 69 | let client = Client::builder().build(HttpConnector::new()); [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 72 | let res = spawn(post_body_req(&client, &url, body)) [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `client` occurs here [INFO] [stdout] | argument requires that `client` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 88 | drop(client); [INFO] [stdout] | ^^^^^^ move out of `client` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repro-hyper-client-hang` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "1c03b12787e2f5580ea659c53dd8707f1ef3d909aae390ef52c125f2a08f4edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c03b12787e2f5580ea659c53dd8707f1ef3d909aae390ef52c125f2a08f4edf", kill_on_drop: false }` [INFO] [stdout] 1c03b12787e2f5580ea659c53dd8707f1ef3d909aae390ef52c125f2a08f4edf