[INFO] fetching crate scratchpost 0.1.1... [INFO] checking scratchpost-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate scratchpost 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate scratchpost 0.1.1 [INFO] finished tweaking crates.io crate scratchpost 0.1.1 [INFO] tweaked toml for crates.io crate scratchpost 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scratchpost 0.1.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 scratchpost 0.1.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-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] e6ca2288cb97e27fd8e1d3b04b6e7e9bfaf55d82283db61096dfa710d73a1156 [INFO] running `Command { std: "docker" "start" "-a" "e6ca2288cb97e27fd8e1d3b04b6e7e9bfaf55d82283db61096dfa710d73a1156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6ca2288cb97e27fd8e1d3b04b6e7e9bfaf55d82283db61096dfa710d73a1156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6ca2288cb97e27fd8e1d3b04b6e7e9bfaf55d82283db61096dfa710d73a1156", kill_on_drop: false }` [INFO] [stdout] e6ca2288cb97e27fd8e1d3b04b6e7e9bfaf55d82283db61096dfa710d73a1156 [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] fcc9f2d561c1467339e54e80845325dcba84c2f060aa9f45de38557456375bf5 [INFO] running `Command { std: "docker" "start" "-a" "fcc9f2d561c1467339e54e80845325dcba84c2f060aa9f45de38557456375bf5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking scratchpost v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/simple_cache.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl SimpleCache { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn size(&mut self) -> usize { [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<&str, Infallible> [INFO] [stdout] --> src/main.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_item(simple_cache: &State>, key: &str) -> (Status, (ContentType, String)) { [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<&str, Infallible> [INFO] [stdout] --> src/main.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_item(simple_cache: &State>, key: &str) -> (Status, (ContentType, String)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratchpost` (bin "scratchpost") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scratchpost` (bin "scratchpost" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fcc9f2d561c1467339e54e80845325dcba84c2f060aa9f45de38557456375bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc9f2d561c1467339e54e80845325dcba84c2f060aa9f45de38557456375bf5", kill_on_drop: false }` [INFO] [stdout] fcc9f2d561c1467339e54e80845325dcba84c2f060aa9f45de38557456375bf5