[INFO] fetching crate async-retry 0.1.0... [INFO] checking async-retry-0.1.0 against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] extracting crate async-retry 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate async-retry 0.1.0 on toolchain 0ec6e73c26e84416f7a6c0dacee999279e12896e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-retry 0.1.0 [INFO] finished tweaking crates.io crate async-retry 0.1.0 [INFO] tweaked toml for crates.io crate async-retry 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 879b8a501b47f00446418fea331ea59934654380425d44acbf0e2c4c745ac5c6 [INFO] running `Command { std: "docker" "start" "-a" "879b8a501b47f00446418fea331ea59934654380425d44acbf0e2c4c745ac5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "879b8a501b47f00446418fea331ea59934654380425d44acbf0e2c4c745ac5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879b8a501b47f00446418fea331ea59934654380425d44acbf0e2c4c745ac5c6", kill_on_drop: false }` [INFO] [stdout] 879b8a501b47f00446418fea331ea59934654380425d44acbf0e2c4c745ac5c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e45b9738ebfa8d4303a8480a0ee065155bd6cdc6214871db8740e9e483030da7 [INFO] running `Command { std: "docker" "start" "-a" "e45b9738ebfa8d4303a8480a0ee065155bd6cdc6214871db8740e9e483030da7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking retry-predicate v0.1.0 [INFO] [stderr] Checking retry-backoff v0.1.0 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking retry-policy v0.1.0 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking async-sleep v0.2.0 [INFO] [stderr] Checking async-retry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Retry::new(policy, Box::new(move || Box::pin(future_repeater()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 81 | pub fn retry(policy: POL, future_repeater: F) -> Retry [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Retry::new(policy, Box::new(move || Box::pin(future_repeater()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 81 | pub fn retry(policy: POL, future_repeater: F) -> Retry [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / Box::new(move || { [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |__________^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / Box::new(move || { [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |__________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |_________^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |_________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / Box::new(move || { [INFO] [stdout] 57 | | let fut = future_repeater(); [INFO] [stdout] 58 | | Box::pin( [INFO] [stdout] 59 | | timeout::(every_performance_timeout_dur, Box::pin(fut)) [INFO] [stdout] 60 | | .map_ok_or_else(|err| Err(ErrorWrapper::Timeout(err)), |x| Ok(x)), [INFO] [stdout] 61 | | ) [INFO] [stdout] 62 | | }), [INFO] [stdout] | |__________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 43 | pub fn retry_with_timeout_for_non_logic_error( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | let fut = future_repeater(); [INFO] [stdout] 58 | | Box::pin( [INFO] [stdout] 59 | | timeout::(every_performance_timeout_dur, Box::pin(fut)) [INFO] [stdout] 60 | | .map_ok_or_else(|err| Err(ErrorWrapper::Timeout(err)), |x| Ok(x)), [INFO] [stdout] 61 | | ) [INFO] [stdout] 62 | | }), [INFO] [stdout] | |_________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 43 | pub fn retry_with_timeout_for_non_logic_error( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-retry` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Retry::new(policy, Box::new(move || Box::pin(future_repeater()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 81 | pub fn retry(policy: POL, future_repeater: F) -> Retry [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | Retry::new(policy, Box::new(move || Box::pin(future_repeater()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 81 | pub fn retry(policy: POL, future_repeater: F) -> Retry [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / Box::new(move || { [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |__________^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / Box::new(move || { [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |__________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |_________^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 28 | | let fut = future_repeater(); [INFO] [stdout] 29 | | Box::pin( [INFO] [stdout] 30 | | timeout::(every_performance_timeout_dur, Box::pin(fut)).map_ok_or_else( [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }), [INFO] [stdout] | |_________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | pub fn retry_with_timeout( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / Box::new(move || { [INFO] [stdout] 57 | | let fut = future_repeater(); [INFO] [stdout] 58 | | Box::pin( [INFO] [stdout] 59 | | timeout::(every_performance_timeout_dur, Box::pin(fut)) [INFO] [stdout] 60 | | .map_ok_or_else(|err| Err(ErrorWrapper::Timeout(err)), |x| Ok(x)), [INFO] [stdout] 61 | | ) [INFO] [stdout] 62 | | }), [INFO] [stdout] | |__________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 43 | pub fn retry_with_timeout_for_non_logic_error( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/retry_with_timeout.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | let fut = future_repeater(); [INFO] [stdout] 58 | | Box::pin( [INFO] [stdout] 59 | | timeout::(every_performance_timeout_dur, Box::pin(fut)) [INFO] [stdout] 60 | | .map_ok_or_else(|err| Err(ErrorWrapper::Timeout(err)), |x| Ok(x)), [INFO] [stdout] 61 | | ) [INFO] [stdout] 62 | | }), [INFO] [stdout] | |_________^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 43 | pub fn retry_with_timeout_for_non_logic_error( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-retry` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "e45b9738ebfa8d4303a8480a0ee065155bd6cdc6214871db8740e9e483030da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45b9738ebfa8d4303a8480a0ee065155bd6cdc6214871db8740e9e483030da7", kill_on_drop: false }` [INFO] [stdout] e45b9738ebfa8d4303a8480a0ee065155bd6cdc6214871db8740e9e483030da7