[INFO] fetching crate p2sh 0.4.3... [INFO] building p2sh-0.4.3 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate p2sh 0.4.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate p2sh 0.4.3 [INFO] finished tweaking crates.io crate p2sh 0.4.3 [INFO] tweaked toml for crates.io crate p2sh 0.4.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate p2sh 0.4.3 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate p2sh 0.4.3 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f17660f9c551c5909ba2ac5aa9496a7c5bf703e1676b3740afe15b4d8db1e5f5 [INFO] running `Command { std: "docker" "start" "-a" "f17660f9c551c5909ba2ac5aa9496a7c5bf703e1676b3740afe15b4d8db1e5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f17660f9c551c5909ba2ac5aa9496a7c5bf703e1676b3740afe15b4d8db1e5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17660f9c551c5909ba2ac5aa9496a7c5bf703e1676b3740afe15b4d8db1e5f5", kill_on_drop: false }` [INFO] [stdout] f17660f9c551c5909ba2ac5aa9496a7c5bf703e1676b3740afe15b4d8db1e5f5 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f309eca464990fbd8e5e38db7f0799e6158d8c128861946dc7c6625ab80d69d [INFO] running `Command { std: "docker" "start" "-a" "7f309eca464990fbd8e5e38db7f0799e6158d8c128861946dc7c6625ab80d69d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling clap_builder v4.4.14 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.4.14 [INFO] [stderr] Compiling p2sh v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/parser/rules.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | if let Ok(value) = self.current.literal.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Underscore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | pub token: Token, [INFO] [stdout] 52 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Underscore` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BuiltinID { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub context: ParseContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuiltinID` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct DotExpr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 509 | pub context: ParseContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DotExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_assign` is never read [INFO] [stdout] --> src/parser/ast/stmt.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ExpressionStmt { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub is_assign: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionStmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.59s [INFO] running `Command { std: "docker" "inspect" "7f309eca464990fbd8e5e38db7f0799e6158d8c128861946dc7c6625ab80d69d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f309eca464990fbd8e5e38db7f0799e6158d8c128861946dc7c6625ab80d69d", kill_on_drop: false }` [INFO] [stdout] 7f309eca464990fbd8e5e38db7f0799e6158d8c128861946dc7c6625ab80d69d [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 599fdf415c92a0a04f979856467d5f0acdd41f7d2c80b1b82bd90aac337c584a [INFO] running `Command { std: "docker" "start" "-a" "599fdf415c92a0a04f979856467d5f0acdd41f7d2c80b1b82bd90aac337c584a", kill_on_drop: false }` [INFO] [stderr] Compiling p2sh v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/parser/rules.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | if let Ok(value) = self.current.literal.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BuiltinID { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub context: ParseContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuiltinID` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_assign` is never read [INFO] [stdout] --> src/parser/ast/stmt.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ExpressionStmt { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub is_assign: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionStmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct DotExpr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 509 | pub context: ParseContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DotExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.97s [INFO] running `Command { std: "docker" "inspect" "599fdf415c92a0a04f979856467d5f0acdd41f7d2c80b1b82bd90aac337c584a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599fdf415c92a0a04f979856467d5f0acdd41f7d2c80b1b82bd90aac337c584a", kill_on_drop: false }` [INFO] [stdout] 599fdf415c92a0a04f979856467d5f0acdd41f7d2c80b1b82bd90aac337c584a