[INFO] fetching crate xitca-http 0.7.1... [INFO] checking xitca-http-0.7.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate xitca-http 0.7.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate xitca-http 0.7.1 [INFO] finished tweaking crates.io crate xitca-http 0.7.1 [INFO] tweaked toml for crates.io crate xitca-http 0.7.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xitca-http 0.7.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xitca-http 0.7.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78de92b9dc9295457d4d3b3591e1b5cd5093b0dd922312acef2f6cbe1b5de340 [INFO] running `Command { std: "docker" "start" "-a" "78de92b9dc9295457d4d3b3591e1b5cd5093b0dd922312acef2f6cbe1b5de340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78de92b9dc9295457d4d3b3591e1b5cd5093b0dd922312acef2f6cbe1b5de340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78de92b9dc9295457d4d3b3591e1b5cd5093b0dd922312acef2f6cbe1b5de340", kill_on_drop: false }` [INFO] [stdout] 78de92b9dc9295457d4d3b3591e1b5cd5093b0dd922312acef2f6cbe1b5de340 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f645310e5b50449c051ad1f5a0f8862de57953e804bee9a0afa344b1c5d8f473 [INFO] running `Command { std: "docker" "start" "-a" "f645310e5b50449c051ad1f5a0f8862de57953e804bee9a0afa344b1c5d8f473", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking xitca-unsafe-collection v0.2.0 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking xitca-service v0.3.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking xitca-io v0.4.1 [INFO] [stderr] Checking xitca-server v0.5.0 [INFO] [stderr] Checking xitca-http v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | async fn call(&self, _: ()) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 57 | | Ok(HandlerService::new(self.func.clone())) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | async fn call(&self, _: ()) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 57 | | Ok(HandlerService::new(self.func.clone())) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(HandlerService::new(self.func.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Method, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 274 | borrow_req_impl!(Method); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Method, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 274 | borrow_req_impl!(Method); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Method, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(req.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | borrow_req_impl!(Method); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Uri, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 275 | borrow_req_impl!(Uri); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Uri, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 275 | borrow_req_impl!(Uri); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Uri, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(req.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | borrow_req_impl!(Uri); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::HeaderMap, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 276 | borrow_req_impl!(HeaderMap); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::HeaderMap, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 276 | borrow_req_impl!(HeaderMap); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::HeaderMap, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(req.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | borrow_req_impl!(HeaderMap); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Extensions, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 277 | borrow_req_impl!(Extensions); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Extensions, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:267:87 [INFO] [stdout] | [INFO] [stdout] 267 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 268 | | Ok(req.borrow()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 277 | borrow_req_impl!(Extensions); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Extensions, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(req.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | borrow_req_impl!(Extensions); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `borrow_req_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Request, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:287:79 [INFO] [stdout] | [INFO] [stdout] 287 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 288 | | Ok(req) [INFO] [stdout] 289 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Request, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:287:79 [INFO] [stdout] | [INFO] [stdout] 287 | async fn from_request(req: &'a Request) -> Result { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 288 | | Ok(req) [INFO] [stdout] 289 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&http::Request, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | Ok(req) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&std::net::SocketAddr, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:297:89 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_request(req: &'a Request>) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 298 | | Ok(req.borrow()) [INFO] [stdout] 299 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&std::net::SocketAddr, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:297:89 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_request(req: &'a Request>) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 298 | | Ok(req.borrow()) [INFO] [stdout] 299 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&std::net::SocketAddr, Infallible> [INFO] [stdout] --> src/util/service/handler.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(req.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xitca-http` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f645310e5b50449c051ad1f5a0f8862de57953e804bee9a0afa344b1c5d8f473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f645310e5b50449c051ad1f5a0f8862de57953e804bee9a0afa344b1c5d8f473", kill_on_drop: false }` [INFO] [stdout] f645310e5b50449c051ad1f5a0f8862de57953e804bee9a0afa344b1c5d8f473