[INFO] fetching crate tor-dirserver 0.36.0... [INFO] checking tor-dirserver-0.36.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate tor-dirserver 0.36.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tor-dirserver 0.36.0 [INFO] finished tweaking crates.io crate tor-dirserver 0.36.0 [INFO] tweaked toml for crates.io crate tor-dirserver 0.36.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tor-dirserver 0.36.0 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 tor-dirserver 0.36.0 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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b11e1aff60074c54292e8bac80956cf4dcd0e52e5e3278e7a874298bda174d1b [INFO] running `Command { std: "docker" "start" "-a" "b11e1aff60074c54292e8bac80956cf4dcd0e52e5e3278e7a874298bda174d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b11e1aff60074c54292e8bac80956cf4dcd0e52e5e3278e7a874298bda174d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b11e1aff60074c54292e8bac80956cf4dcd0e52e5e3278e7a874298bda174d1b", kill_on_drop: false }` [INFO] [stdout] b11e1aff60074c54292e8bac80956cf4dcd0e52e5e3278e7a874298bda174d1b [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 -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] 832e2b367363869128b5d6a37f8727497ec2bd6954411623162132529b6718a7 [INFO] running `Command { std: "docker" "start" "-a" "832e2b367363869128b5d6a37f8727497ec2bd6954411623162132529b6718a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking retry-error v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking weak-table v0.3.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tor-error v0.36.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking deadpool-sync v0.1.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking deadpool-sqlite v0.12.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking tor-dirserver v0.36.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|bytes| Ok(Frame::data(Bytes::from_owner(bytes)))), [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/http.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 264 | | // Obtain a database pool object (database connection). [INFO] [stdout] 265 | | let conn = match pool.get().await { [INFO] [stdout] 266 | | Ok(conn) => conn, [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 264 | | // Obtain a database pool object (database connection). [INFO] [stdout] 265 | | let conn = match pool.get().await { [INFO] [stdout] 266 | | Ok(conn) => conn, [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | return Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:275:35 [INFO] [stdout] | [INFO] [stdout] 275 | .interact(move |conn| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 276 | | let tx = match conn.transaction() { [INFO] [stdout] 277 | | Ok(tx) => tx, [INFO] [stdout] 278 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 285 | | Ok(res) [INFO] [stdout] 286 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | return Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | / match res { [INFO] [stdout] 291 | | Ok(res) => res, [INFO] [stdout] 292 | | Err(e) => { [INFO] [stdout] 293 | | warn!("endpoint function error: {e}"); [INFO] [stdout] ... | [INFO] [stdout] 296 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | Ok(res) => res, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 293 | | warn!("endpoint function error: {e}"); [INFO] [stdout] 294 | | Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 295 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tor-dirserver` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|bytes| Ok(Frame::data(Bytes::from_owner(bytes)))), [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/http.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | async move { Self::handler(cache, endpoints, pool, requ).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 264 | | // Obtain a database pool object (database connection). [INFO] [stdout] 265 | | let conn = match pool.get().await { [INFO] [stdout] 266 | | Ok(conn) => conn, [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 264 | | // Obtain a database pool object (database connection). [INFO] [stdout] 265 | | let conn = match pool.get().await { [INFO] [stdout] 266 | | Ok(conn) => conn, [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | return Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:275:35 [INFO] [stdout] | [INFO] [stdout] 275 | .interact(move |conn| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 276 | | let tx = match conn.transaction() { [INFO] [stdout] 277 | | Ok(tx) => tx, [INFO] [stdout] 278 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 285 | | Ok(res) [INFO] [stdout] 286 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | return Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | / match res { [INFO] [stdout] 291 | | Ok(res) => res, [INFO] [stdout] 292 | | Err(e) => { [INFO] [stdout] 293 | | warn!("endpoint function error: {e}"); [INFO] [stdout] ... | [INFO] [stdout] 296 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | Ok(res) => res, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 293 | | warn!("endpoint function error: {e}"); [INFO] [stdout] 294 | | Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 295 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | Ok(Self::empty_response(StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tor-dirserver` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "832e2b367363869128b5d6a37f8727497ec2bd6954411623162132529b6718a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832e2b367363869128b5d6a37f8727497ec2bd6954411623162132529b6718a7", kill_on_drop: false }` [INFO] [stdout] 832e2b367363869128b5d6a37f8727497ec2bd6954411623162132529b6718a7