[INFO] fetching crate wesl-cli 0.2.0... [INFO] checking wesl-cli-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate wesl-cli 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wesl-cli 0.2.0 [INFO] finished tweaking crates.io crate wesl-cli 0.2.0 [INFO] tweaked toml for crates.io crate wesl-cli 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wesl-cli 0.2.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 wesl-cli 0.2.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3b56093240592bd7c9566a2f4eff939885f45e13e5cf8f672dcf272cd292eeab [INFO] running `Command { std: "docker" "start" "-a" "3b56093240592bd7c9566a2f4eff939885f45e13e5cf8f672dcf272cd292eeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b56093240592bd7c9566a2f4eff939885f45e13e5cf8f672dcf272cd292eeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b56093240592bd7c9566a2f4eff939885f45e13e5cf8f672dcf272cd292eeab", kill_on_drop: false }` [INFO] [stdout] 3b56093240592bd7c9566a2f4eff939885f45e13e5cf8f672dcf272cd292eeab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 69a795baeff58ee5ca42ea8894d0e49607283ecebe5ecb212ce368b36f5ad113 [INFO] running `Command { std: "docker" "start" "-a" "69a795baeff58ee5ca42ea8894d0e49607283ecebe5ecb212ce368b36f5ad113", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling term v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Checking annotate-snippets v0.11.5 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling token_stream_flatten v0.1.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling lexical v7.0.4 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokrepr-derive v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokrepr v0.1.0 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling wgsl-parse v0.2.0 [INFO] [stderr] Compiling wesl-macros v0.2.0 [INFO] [stderr] Checking wesl v0.2.0 [INFO] [stderr] Checking wesl-cli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/main.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Args, Parser, Subcommand, ValueEnum, command}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/main.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Args, Parser, Subcommand, ValueEnum, command}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 102 | | match s { [INFO] [stdout] 103 | | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] 104 | | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [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: std::result::Result [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / match s { [INFO] [stdout] 103 | | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] 104 | | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] 105 | | "keep" => Ok(Self::Keep), [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | "keep" => Ok(Self::Keep), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | "error" => Ok(Self::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | panic!("not a valid feature value, expected `enable`, `disable`, `keep` or `error`") [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 102 | | match s { [INFO] [stdout] 103 | | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] 104 | | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [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: std::result::Result [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / match s { [INFO] [stdout] 103 | | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] 104 | | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] 105 | | "keep" => Ok(Self::Keep), [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | "enable" | "true" => Ok(Self::Enable), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | "disable" | "false" => Ok(Self::Disable), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | "keep" => Ok(Self::Keep), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | "error" => Ok(Self::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | _ => { [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | panic!("not a valid feature value, expected `enable`, `disable`, `keep` or `error`") [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | let code = PkgBuilder::new(&args.name) [INFO] [stdout] | ________________________^ [INFO] [stdout] 685 | | .scan_root(args.dir) [INFO] [stdout] 686 | | .expect("failed to scan WESL files") [INFO] [stdout] 687 | | .validate() [INFO] [stdout] ... | [INFO] [stdout] 690 | | panic!() [INFO] [stdout] 691 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | let code = PkgBuilder::new(&args.name) [INFO] [stdout] | ________________________^ [INFO] [stdout] 685 | | .scan_root(args.dir) [INFO] [stdout] 686 | | .expect("failed to scan WESL files") [INFO] [stdout] 687 | | .validate() [INFO] [stdout] ... | [INFO] [stdout] 690 | | panic!() [INFO] [stdout] 691 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wesl-cli` (bin "wesl") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wesl-cli` (bin "wesl" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "69a795baeff58ee5ca42ea8894d0e49607283ecebe5ecb212ce368b36f5ad113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a795baeff58ee5ca42ea8894d0e49607283ecebe5ecb212ce368b36f5ad113", kill_on_drop: false }` [INFO] [stdout] 69a795baeff58ee5ca42ea8894d0e49607283ecebe5ecb212ce368b36f5ad113