[INFO] fetching crate rocket 0.5.0-rc.3... [INFO] checking rocket-0.5.0-rc.3 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rocket 0.5.0-rc.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rocket 0.5.0-rc.3 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 rocket 0.5.0-rc.3 [INFO] finished tweaking crates.io crate rocket 0.5.0-rc.3 [INFO] tweaked toml for crates.io crate rocket 0.5.0-rc.3 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dcc8cfe4a194d9805ef308e2f9838a51381ee39cf52a1d32b60bc4ea7141b87d [INFO] running `Command { std: "docker" "start" "-a" "dcc8cfe4a194d9805ef308e2f9838a51381ee39cf52a1d32b60bc4ea7141b87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc8cfe4a194d9805ef308e2f9838a51381ee39cf52a1d32b60bc4ea7141b87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc8cfe4a194d9805ef308e2f9838a51381ee39cf52a1d32b60bc4ea7141b87d", kill_on_drop: false }` [INFO] [stdout] dcc8cfe4a194d9805ef308e2f9838a51381ee39cf52a1d32b60bc4ea7141b87d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a2773067d4a0d767c3cfe38a55060e4e05d1bc3c7e0f788fa044689b45b77003 [INFO] running `Command { std: "docker" "start" "-a" "a2773067d4a0d767c3cfe38a55060e4e05d1bc3c7e0f788fa044689b45b77003", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.10 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pear_codegen v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling pear v0.2.7 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/response/stream/sse.rs:534:32 [INFO] [stdout] | [INFO] [stdout] 530 | fn into_stream(self) -> impl Stream { [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 540 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/response/stream/sse.rs:534:32 [INFO] [stdout] | [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 483 | impl + 'static> EventStream { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.stream` because it is borrowed [INFO] [stdout] --> src/response/stream/sse.rs:535:26 [INFO] [stdout] | [INFO] [stdout] 530 | fn into_stream(self) -> impl Stream { [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 535 | let raw_events = self.stream.map(|e| e.into_stream()).flatten(); [INFO] [stdout] | ^^^^^^^^^^^ move out of `self.stream` occurs here [INFO] [stdout] 536 | match heartbeat_stream { [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/response/stream/sse.rs:534:32 [INFO] [stdout] | [INFO] [stdout] 530 | fn into_stream(self) -> impl Stream { [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 540 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough [INFO] [stdout] --> src/response/stream/sse.rs:534:32 [INFO] [stdout] | [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 483 | impl + 'static> EventStream { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.stream` because it is borrowed [INFO] [stdout] --> src/response/stream/sse.rs:535:26 [INFO] [stdout] | [INFO] [stdout] 530 | fn into_stream(self) -> impl Stream { [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 534 | let heartbeat_stream = self.heartbeat_stream(); [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 535 | let raw_events = self.stream.map(|e| e.into_stream()).flatten(); [INFO] [stdout] | ^^^^^^^^^^^ move out of `self.stream` occurs here [INFO] [stdout] 536 | match heartbeat_stream { [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/server.rs:413:26 [INFO] [stdout] | [INFO] [stdout] 393 | pub(crate) async fn http_server(self, listener: L) -> Result [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 413 | let sig_stream = self.config.shutdown.signal_stream(); [INFO] [stdout] | ^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 556 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/server.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 393 | pub(crate) async fn http_server(self, listener: L) -> Result [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 413 | let sig_stream = self.config.shutdown.signal_stream(); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `self` occurs here [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 437 | let rocket = Arc::new(self); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `self` does not live long enough [INFO] [stdout] --> src/server.rs:413:26 [INFO] [stdout] | [INFO] [stdout] 393 | pub(crate) async fn http_server(self, listener: L) -> Result [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 413 | let sig_stream = self.config.shutdown.signal_stream(); [INFO] [stdout] | ^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 556 | } [INFO] [stdout] | - `self` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/server.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 393 | pub(crate) async fn http_server(self, listener: L) -> Result [INFO] [stdout] | ---- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 413 | let sig_stream = self.config.shutdown.signal_stream(); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `self` occurs here [INFO] [stdout] | argument requires that `self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 437 | let rocket = Arc::new(self); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a2773067d4a0d767c3cfe38a55060e4e05d1bc3c7e0f788fa044689b45b77003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2773067d4a0d767c3cfe38a55060e4e05d1bc3c7e0f788fa044689b45b77003", kill_on_drop: false }` [INFO] [stdout] a2773067d4a0d767c3cfe38a55060e4e05d1bc3c7e0f788fa044689b45b77003