[INFO] fetching crate meilies-client 0.2.0... [INFO] checking meilies-client-0.2.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate meilies-client 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate meilies-client 0.2.0 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 crates.io crate meilies-client 0.2.0 [INFO] finished tweaking crates.io crate meilies-client 0.2.0 [INFO] tweaked toml for crates.io crate meilies-client 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e52081a130d0be9e7bae686b94049ea212699dc4f449b0d3990d49132615a9a4 [INFO] running `Command { std: "docker" "start" "-a" "e52081a130d0be9e7bae686b94049ea212699dc4f449b0d3990d49132615a9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e52081a130d0be9e7bae686b94049ea212699dc4f449b0d3990d49132615a9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52081a130d0be9e7bae686b94049ea212699dc4f449b0d3990d49132615a9a4", kill_on_drop: false }` [INFO] [stdout] e52081a130d0be9e7bae686b94049ea212699dc4f449b0d3990d49132615a9a4 [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" "-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] d48b86da0be37c5975293d918e96b4fea7d9ce668a63da3507d862f3ef3a1091 [INFO] running `Command { std: "docker" "start" "-a" "d48b86da0be37c5975293d918e96b4fea7d9ce668a63da3507d862f3ef3a1091", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking subslice v0.2.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-retry v0.2.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking meilies v0.2.0 [INFO] [stderr] Checking meilies-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steel_connection.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | Connecting(Box + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 23 | Connecting(Box + Send>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steel_connection.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | fn retry_future(addr: SocketAddr) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn retry_future(addr: SocketAddr) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steel_connection.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | Connecting(Box + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 23 | Connecting(Box + Send>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/steel_connection.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | fn retry_future(addr: SocketAddr) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn retry_future(addr: SocketAddr) -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/sub.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 32 | Retry::spawn(retry_strategy(), move || { [INFO] [stdout] | ------- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `futures::Map, Error = std::io::Error>, [closure@src/sub.rs:35:22: 35:39]>` contains a lifetime `'2` [INFO] [stdout] | lifetime `'1` represents this closure's body [INFO] [stdout] 33 | warn!("Connecting to {}", addr); [INFO] [stdout] 34 | / connect(&addr) [INFO] [stdout] 35 | | .map(move |connection| { [INFO] [stdout] 36 | | let connection = SteelConnection::new(addr, connection); [INFO] [stdout] 37 | | EventStream { state: HashMap::new(), connection } [INFO] [stdout] 38 | | }) [INFO] [stdout] | |__________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/paired.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 56 | Retry::spawn(retry_strategy(), move || { [INFO] [stdout] | ------- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `futures::Map, Error = std::io::Error>, [closure@src/paired.rs:59:22: 59:39]>` contains a lifetime `'2` [INFO] [stdout] | lifetime `'1` represents this closure's body [INFO] [stdout] 57 | warn!("Connecting to {}", addr); [INFO] [stdout] 58 | / connect(&addr) [INFO] [stdout] 59 | | .map(move |connection| { [INFO] [stdout] 60 | | let connection = SteelConnection::new(addr, connection); [INFO] [stdout] 61 | | PairedConnection { connection } [INFO] [stdout] 62 | | }) [INFO] [stdout] | |__________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/sub.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 32 | Retry::spawn(retry_strategy(), move || { [INFO] [stdout] | ------- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `futures::Map, Error = std::io::Error>, [closure@src/sub.rs:35:22: 35:39]>` contains a lifetime `'2` [INFO] [stdout] | lifetime `'1` represents this closure's body [INFO] [stdout] 33 | warn!("Connecting to {}", addr); [INFO] [stdout] 34 | / connect(&addr) [INFO] [stdout] 35 | | .map(move |connection| { [INFO] [stdout] 36 | | let connection = SteelConnection::new(addr, connection); [INFO] [stdout] 37 | | EventStream { state: HashMap::new(), connection } [INFO] [stdout] 38 | | }) [INFO] [stdout] | |__________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/paired.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 56 | Retry::spawn(retry_strategy(), move || { [INFO] [stdout] | ------- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `futures::Map, Error = std::io::Error>, [closure@src/paired.rs:59:22: 59:39]>` contains a lifetime `'2` [INFO] [stdout] | lifetime `'1` represents this closure's body [INFO] [stdout] 57 | warn!("Connecting to {}", addr); [INFO] [stdout] 58 | / connect(&addr) [INFO] [stdout] 59 | | .map(move |connection| { [INFO] [stdout] 60 | | let connection = SteelConnection::new(addr, connection); [INFO] [stdout] 61 | | PairedConnection { connection } [INFO] [stdout] 62 | | }) [INFO] [stdout] | |__________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meilies-client` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meilies-client` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d48b86da0be37c5975293d918e96b4fea7d9ce668a63da3507d862f3ef3a1091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48b86da0be37c5975293d918e96b4fea7d9ce668a63da3507d862f3ef3a1091", kill_on_drop: false }` [INFO] [stdout] d48b86da0be37c5975293d918e96b4fea7d9ce668a63da3507d862f3ef3a1091