[INFO] cloning repository https://github.com/martinsander00/blockcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinsander00/blockcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinsander00%2Fblockcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinsander00%2Fblockcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b399abb49a0ed92991554f02d65a576bd3e8495f [INFO] checking martinsander00/blockcache against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinsander00%2Fblockcache" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/martinsander00/blockcache [INFO] finished tweaking git repo https://github.com/martinsander00/blockcache [INFO] tweaked toml for git repo https://github.com/martinsander00/blockcache written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinsander00/blockcache 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 git repo https://github.com/martinsander00/blockcache 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 71f1aea69e66815ef62a026edc67c23a01829515b07ba71338cbd4d41d2febd3 [INFO] running `Command { std: "docker" "start" "-a" "71f1aea69e66815ef62a026edc67c23a01829515b07ba71338cbd4d41d2febd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71f1aea69e66815ef62a026edc67c23a01829515b07ba71338cbd4d41d2febd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f1aea69e66815ef62a026edc67c23a01829515b07ba71338cbd4d41d2febd3", kill_on_drop: false }` [INFO] [stdout] 71f1aea69e66815ef62a026edc67c23a01829515b07ba71338cbd4d41d2febd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8c8deb1eb2529e62c1ee3f035baf16123cf1040472cf616c6bc5e8604a321841 [INFO] running `Command { std: "docker" "start" "-a" "8c8deb1eb2529e62c1ee3f035baf16123cf1040472cf616c6bc5e8604a321841", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.20 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking postgres-types v0.2.8 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-postgres v0.7.12 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking cache v0.1.0 (/opt/rustwide/workdir/cache) [INFO] [stdout] warning: field `db_client` is never read [INFO] [stdout] --> cache/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | db_client: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | info!("Received volume request for pool: {}", req.pool_address); [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | let cache_read = state.cache.read().await; [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [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] --> cache/src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | info!("Received volume request for pool: {}", req.pool_address); [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | let cache_read = state.cache.read().await; [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / if let Some(&volume) = cache_read.get(&req.pool_address) { [INFO] [stdout] 166 | | let response = VolumeResponse { [INFO] [stdout] 167 | | pool_address: req.pool_address, [INFO] [stdout] 168 | | volume, [INFO] [stdout] ... | [INFO] [stdout] 180 | | )) [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:165:62 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(&volume) = cache_read.get(&req.pool_address) { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 166 | | let response = VolumeResponse { [INFO] [stdout] 167 | | pool_address: req.pool_address, [INFO] [stdout] 168 | | volume, [INFO] [stdout] ... | [INFO] [stdout] 173 | | )) [INFO] [stdout] 174 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / Ok(warp::reply::with_status( [INFO] [stdout] 171 | | warp::reply::json(&response), [INFO] [stdout] 172 | | StatusCode::OK, [INFO] [stdout] 173 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | error!("Volume not found in cache for pool: {}", req.pool_address); [INFO] [stdout] 176 | | let error_message = warp::reply::json(&"Volume not found in cache"); [INFO] [stdout] 177 | | Ok(warp::reply::with_status( [INFO] [stdout] ... | [INFO] [stdout] 180 | | )) [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / Ok(warp::reply::with_status( [INFO] [stdout] 178 | | error_message, [INFO] [stdout] 179 | | StatusCode::NOT_FOUND, [INFO] [stdout] 180 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_client` is never read [INFO] [stdout] --> cache/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | db_client: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cache` (bin "cache" test) due to 7 previous errors; 1 warning emitted [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] --> cache/src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | info!("Received volume request for pool: {}", req.pool_address); [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | let cache_read = state.cache.read().await; [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [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] --> cache/src/main.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 161 | | info!("Received volume request for pool: {}", req.pool_address); [INFO] [stdout] 162 | | [INFO] [stdout] 163 | | let cache_read = state.cache.read().await; [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / if let Some(&volume) = cache_read.get(&req.pool_address) { [INFO] [stdout] 166 | | let response = VolumeResponse { [INFO] [stdout] 167 | | pool_address: req.pool_address, [INFO] [stdout] 168 | | volume, [INFO] [stdout] ... | [INFO] [stdout] 180 | | )) [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:165:62 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(&volume) = cache_read.get(&req.pool_address) { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 166 | | let response = VolumeResponse { [INFO] [stdout] 167 | | pool_address: req.pool_address, [INFO] [stdout] 168 | | volume, [INFO] [stdout] ... | [INFO] [stdout] 173 | | )) [INFO] [stdout] 174 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / Ok(warp::reply::with_status( [INFO] [stdout] 171 | | warp::reply::json(&response), [INFO] [stdout] 172 | | StatusCode::OK, [INFO] [stdout] 173 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | error!("Volume not found in cache for pool: {}", req.pool_address); [INFO] [stdout] 176 | | let error_message = warp::reply::json(&"Volume not found in cache"); [INFO] [stdout] 177 | | Ok(warp::reply::with_status( [INFO] [stdout] ... | [INFO] [stdout] 180 | | )) [INFO] [stdout] 181 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> cache/src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / Ok(warp::reply::with_status( [INFO] [stdout] 178 | | error_message, [INFO] [stdout] 179 | | StatusCode::NOT_FOUND, [INFO] [stdout] 180 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cache` (bin "cache") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8c8deb1eb2529e62c1ee3f035baf16123cf1040472cf616c6bc5e8604a321841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8deb1eb2529e62c1ee3f035baf16123cf1040472cf616c6bc5e8604a321841", kill_on_drop: false }` [INFO] [stdout] 8c8deb1eb2529e62c1ee3f035baf16123cf1040472cf616c6bc5e8604a321841