[INFO] fetching crate p2sh 0.4.3... [INFO] building p2sh-0.4.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate p2sh 0.4.3 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate p2sh 0.4.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.8 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded thiserror v1.0.51 [INFO] [stderr] Downloaded thiserror-impl v1.0.51 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded fastrand v2.0.1 [INFO] [stderr] Downloaded clap v4.4.14 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded syn v2.0.41 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded clap_builder v4.4.14 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ded544518c193803158c0597602a3dc10b19d5213ef4e90f515212146a8cfd [INFO] running `Command { std: "docker" "start" "-a" "03ded544518c193803158c0597602a3dc10b19d5213ef4e90f515212146a8cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ded544518c193803158c0597602a3dc10b19d5213ef4e90f515212146a8cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ded544518c193803158c0597602a3dc10b19d5213ef4e90f515212146a8cfd", kill_on_drop: false }` [INFO] [stdout] 03ded544518c193803158c0597602a3dc10b19d5213ef4e90f515212146a8cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05d52d52c2bcd55646c39f0b6f473561105538435bd1fa8db53bf79d59627c93 [INFO] running `Command { std: "docker" "start" "-a" "05d52d52c2bcd55646c39f0b6f473561105538435bd1fa8db53bf79d59627c93", 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 clap_builder v4.4.14 [INFO] [stderr] Compiling quote v1.0.33 [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 syn v2.0.41 [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 15.94s [INFO] running `Command { std: "docker" "inspect" "05d52d52c2bcd55646c39f0b6f473561105538435bd1fa8db53bf79d59627c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d52d52c2bcd55646c39f0b6f473561105538435bd1fa8db53bf79d59627c93", kill_on_drop: false }` [INFO] [stdout] 05d52d52c2bcd55646c39f0b6f473561105538435bd1fa8db53bf79d59627c93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5566328090b0d53d4d7b4d1c84bf0275483847aa5de277c35b08877fdcfcab69 [INFO] running `Command { std: "docker" "start" "-a" "5566328090b0d53d4d7b4d1c84bf0275483847aa5de277c35b08877fdcfcab69", 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 `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 `test` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "5566328090b0d53d4d7b4d1c84bf0275483847aa5de277c35b08877fdcfcab69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5566328090b0d53d4d7b4d1c84bf0275483847aa5de277c35b08877fdcfcab69", kill_on_drop: false }` [INFO] [stdout] 5566328090b0d53d4d7b4d1c84bf0275483847aa5de277c35b08877fdcfcab69