[INFO] fetching crate rigs 0.0.8... [INFO] checking rigs-0.0.8 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rigs 0.0.8 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rigs 0.0.8 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rigs 0.0.8 [INFO] tweaked toml for crates.io crate rigs 0.0.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rigs 0.0.8 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 rigs 0.0.8 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] 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] 95b44b5c688f042c15d0b92f791872f24a198861040c4ca3c839b3546fbe0c01 [INFO] running `Command { std: "docker" "start" "-a" "95b44b5c688f042c15d0b92f791872f24a198861040c4ca3c839b3546fbe0c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b44b5c688f042c15d0b92f791872f24a198861040c4ca3c839b3546fbe0c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b44b5c688f042c15d0b92f791872f24a198861040c4ca3c839b3546fbe0c01", kill_on_drop: false }` [INFO] [stdout] 95b44b5c688f042c15d0b92f791872f24a198861040c4ca3c839b3546fbe0c01 [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] 0aa0981f136c9c8af21928c85e71f9edc17f5e6fa86ae4c4fe88569baac3f2ec [INFO] running `Command { std: "docker" "start" "-a" "0aa0981f136c9c8af21928c85e71f9edc17f5e6fa86ae4c4fe88569baac3f2ec", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking twox-hash v2.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling schemars_derive v1.0.0-alpha.17 [INFO] [stderr] Compiling rigs-macro v0.0.2 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking schemars v1.0.0-alpha.17 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking rig-core v0.11.0 [INFO] [stderr] Checking rigs v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ExampleStructParameterToHaveADescription` is never constructed [INFO] [stdout] --> examples/tool.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct ExampleStructParameterToHaveADescription { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThirdField` is never constructed [INFO] [stdout] --> examples/tool.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct ThirdField { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | fn sub(x: f64, y: f64) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 75 | | tracing::info!("Sub tool is called"); [INFO] [stdout] 76 | | Ok(x - y) [INFO] [stdout] 77 | | } [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 [INFO] [stdout] --> examples/tool.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(x - y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / #[tool( [INFO] [stdout] 70 | | description = "Subtract y from x (i.e.: x - y)", [INFO] [stdout] 71 | | arg(x, description = "The number to subtract from"), [INFO] [stdout] 72 | | arg(y, description = "The number to subtract") [INFO] [stdout] 73 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / #[tool( [INFO] [stdout] 70 | | description = "Subtract y from x (i.e.: x - y)", [INFO] [stdout] 71 | | arg(x, description = "The number to subtract from"), [INFO] [stdout] 72 | | arg(y, description = "The number to subtract") [INFO] [stdout] 73 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tool` (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 [INFO] [stdout] --> examples/tool.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | fn add(x: f64, y: f64) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 81 | | tracing::info!("Add tool is called"); [INFO] [stdout] 82 | | Ok(x + y) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(x + y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[tool] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[tool] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tool` (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 [INFO] [stdout] --> examples/tool.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | fn mul(x: f64, y: f64) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 87 | | tracing::info!("Mul tool is called"); [INFO] [stdout] 88 | | Ok(x * y) [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(x * y) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[tool(name = "Multiply", description = "Multiply x and y (i.e.: x * y)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[tool(name = "Multiply", description = "Multiply x and y (i.e.: x * y)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tool` (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 [INFO] [stdout] --> examples/tool.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | fn exec(x: ExecShell) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 97 | | tracing::info!("exec tool is called"); [INFO] [stdout] 98 | | let results = serde_json::to_string(&x).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(results) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / #[tool(description = " [INFO] [stdout] 94 | | Execute the shell command, can execute multiple commands at once. [INFO] [stdout] 95 | | ")] [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/tool.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / #[tool(description = " [INFO] [stdout] 94 | | Execute the shell command, can execute multiple commands at once. [INFO] [stdout] 95 | | ")] [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rigs` (example "tool") due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0aa0981f136c9c8af21928c85e71f9edc17f5e6fa86ae4c4fe88569baac3f2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa0981f136c9c8af21928c85e71f9edc17f5e6fa86ae4c4fe88569baac3f2ec", kill_on_drop: false }` [INFO] [stdout] 0aa0981f136c9c8af21928c85e71f9edc17f5e6fa86ae4c4fe88569baac3f2ec