[INFO] cloning repository https://github.com/RadicalZephyr/hyper-explicit-setup-ex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RadicalZephyr/hyper-explicit-setup-ex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRadicalZephyr%2Fhyper-explicit-setup-ex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRadicalZephyr%2Fhyper-explicit-setup-ex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 056408e705f89143f32c8b2175918d2df2eb34bd [INFO] checking RadicalZephyr/hyper-explicit-setup-ex against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRadicalZephyr%2Fhyper-explicit-setup-ex" "/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/RadicalZephyr/hyper-explicit-setup-ex 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/RadicalZephyr/hyper-explicit-setup-ex [INFO] finished tweaking git repo https://github.com/RadicalZephyr/hyper-explicit-setup-ex [INFO] tweaked toml for git repo https://github.com/RadicalZephyr/hyper-explicit-setup-ex written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RadicalZephyr/hyper-explicit-setup-ex 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] 28502256329ff2372f5e4f6b617a381e64279b2e66d717b60ee85d26e4629af3 [INFO] running `Command { std: "docker" "start" "-a" "28502256329ff2372f5e4f6b617a381e64279b2e66d717b60ee85d26e4629af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28502256329ff2372f5e4f6b617a381e64279b2e66d717b60ee85d26e4629af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28502256329ff2372f5e4f6b617a381e64279b2e66d717b60ee85d26e4629af3", kill_on_drop: false }` [INFO] [stdout] 28502256329ff2372f5e4f6b617a381e64279b2e66d717b60ee85d26e4629af3 [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] 518be33e761b52cc8a8bd78e704a4ab2163b2b40990da8116f1ac15ed3a1d8ea [INFO] running `Command { std: "docker" "start" "-a" "518be33e761b52cc8a8bd78e704a4ab2163b2b40990da8116f1ac15ed3a1d8ea", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking string v0.1.0 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking bytes v0.4.8 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking http v0.1.7 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking want v0.0.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-threadpool v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Checking tokio-current-thread v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.10 [INFO] [stderr] Checking hyper v0.12.5 [INFO] [stderr] Checking hyper-explicit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | S::Error: Into>, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | S::Error: Into>, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn serve_http<'a, P>(handle: &Handle, executor: &mut Entered<'a, P>, addr: SocketAddr) [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `handle` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 68 | let serve_all = create_serve_all(handle, addr, || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 69 | | service::service_fn(|_req| { [INFO] [stdout] 70 | | future::ok::, CantFail>(Response::new(Body::from("HELLO WORLD!"))) [INFO] [stdout] 71 | | }) [INFO] [stdout] 72 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______`handle` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn serve_http<'a, P>(handle: &Handle, executor: &mut Entered<'a, P>, addr: SocketAddr) [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `handle` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 68 | let serve_all = create_serve_all(handle, addr, || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 69 | | service::service_fn(|_req| { [INFO] [stdout] 70 | | future::ok::, CantFail>(Response::new(Body::from("HELLO WORLD!"))) [INFO] [stdout] 71 | | }) [INFO] [stdout] 72 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______`handle` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-explicit` (bin "hyper-explicit") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hyper-explicit` (bin "hyper-explicit" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "518be33e761b52cc8a8bd78e704a4ab2163b2b40990da8116f1ac15ed3a1d8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518be33e761b52cc8a8bd78e704a4ab2163b2b40990da8116f1ac15ed3a1d8ea", kill_on_drop: false }` [INFO] [stdout] 518be33e761b52cc8a8bd78e704a4ab2163b2b40990da8116f1ac15ed3a1d8ea