[INFO] fetching crate pdk-metrics-lib 1.6.0-rc.1... [INFO] checking pdk-metrics-lib-1.6.0-rc.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pdk-metrics-lib 1.6.0-rc.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pdk-metrics-lib 1.6.0-rc.1 [INFO] finished tweaking crates.io crate pdk-metrics-lib 1.6.0-rc.1 [INFO] tweaked toml for crates.io crate pdk-metrics-lib 1.6.0-rc.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pdk-metrics-lib 1.6.0-rc.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 pdk-metrics-lib 1.6.0-rc.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] af7f3c54e844f50a9b1f76dab683e62d6633f0cca20e89697c08e4bf12ba006a [INFO] running `Command { std: "docker" "start" "-a" "af7f3c54e844f50a9b1f76dab683e62d6633f0cca20e89697c08e4bf12ba006a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7f3c54e844f50a9b1f76dab683e62d6633f0cca20e89697c08e4bf12ba006a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7f3c54e844f50a9b1f76dab683e62d6633f0cca20e89697c08e4bf12ba006a", kill_on_drop: false }` [INFO] [stdout] af7f3c54e844f50a9b1f76dab683e62d6633f0cca20e89697c08e4bf12ba006a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] df1ef9533589ddbf0e05e471fece34b3397323a12c84b833b7706e262cab9ba6 [INFO] running `Command { std: "docker" "start" "-a" "df1ef9533589ddbf0e05e471fece34b3397323a12c84b833b7706e262cab9ba6", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking pdk-proxy-wasm-stub v1.6.0-rc.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Checking pdk-pel v1.6.0-rc.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pdk-classy v1.6.0-rc.1 [INFO] [stderr] Compiling pdk-macros v1.6.0-rc.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Checking pdk-script v1.6.0-rc.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling pdk-core v1.6.0-rc.1 [INFO] [stderr] Checking pdk-metrics-lib v1.6.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:42:78 [INFO] [stdout] | [INFO] [stdout] 42 | fn from_context(context: &ConfigureContext) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 43 | | let metrics: Rc = context.extract()?; [INFO] [stdout] 44 | | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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: ControlFlow, Rc> [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pdk_core::policy_context::api::Metadata> [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(MetricsBuilder { metrics, metadata }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:48:78 [INFO] [stdout] | [INFO] [stdout] 48 | fn from_context(context: &ConfigureContext) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 49 | | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] 50 | | let metadata: Metadata = context.extract()?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(ReadinessInstance { gauge }) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, MetricsBuilder> [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pdk_core::policy_context::api::Metadata> [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(ReadinessInstance { gauge }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdk-metrics-lib` (lib) due to 16 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 [INFO] [stdout] --> src/builder.rs:42:78 [INFO] [stdout] | [INFO] [stdout] 42 | fn from_context(context: &ConfigureContext) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 43 | | let metrics: Rc = context.extract()?; [INFO] [stdout] 44 | | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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: ControlFlow, Rc> [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let metrics: Rc = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pdk_core::policy_context::api::Metadata> [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let metadata: Rc = Rc::new(context.extract()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(MetricsBuilder { metrics, metadata }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:48:78 [INFO] [stdout] | [INFO] [stdout] 48 | fn from_context(context: &ConfigureContext) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 49 | | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] 50 | | let metadata: Metadata = context.extract()?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(ReadinessInstance { gauge }) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, MetricsBuilder> [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | let metrics: MetricsBuilder = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pdk_core::policy_context::api::Metadata> [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let metadata: Metadata = context.extract()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/readiness.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(ReadinessInstance { gauge }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pdk-metrics-lib` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "df1ef9533589ddbf0e05e471fece34b3397323a12c84b833b7706e262cab9ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1ef9533589ddbf0e05e471fece34b3397323a12c84b833b7706e262cab9ba6", kill_on_drop: false }` [INFO] [stdout] df1ef9533589ddbf0e05e471fece34b3397323a12c84b833b7706e262cab9ba6