[INFO] fetching crate pintc 0.14.0... [INFO] checking pintc-0.14.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pintc 0.14.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pintc 0.14.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pintc 0.14.0 [INFO] tweaked toml for crates.io crate pintc 0.14.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pintc 0.14.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pintc 0.14.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e609be48b33c444174b5c57fd433603469c78d852dd0437677186037cf126dba [INFO] running `Command { std: "docker" "start" "-a" "e609be48b33c444174b5c57fd433603469c78d852dd0437677186037cf126dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e609be48b33c444174b5c57fd433603469c78d852dd0437677186037cf126dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e609be48b33c444174b5c57fd433603469c78d852dd0437677186037cf126dba", kill_on_drop: false }` [INFO] [stdout] e609be48b33c444174b5c57fd433603469c78d852dd0437677186037cf126dba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f4e5cb76b763b158ee003f1d617fca956abff89ee7922f77a4048bb24897613 [INFO] running `Command { std: "docker" "start" "-a" "8f4e5cb76b763b158ee003f1d617fca956abff89ee7922f77a4048bb24897613", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking expect-test v1.5.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Checking similar-asserts v1.7.0 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking test_bin v0.4.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pint-abi-types v0.5.0 [INFO] [stderr] Checking essential-types v0.8.0 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking essential-hash v0.10.0 [INFO] [stderr] Compiling essential-asm-spec v0.9.0 [INFO] [stderr] Compiling essential-asm-gen v0.11.0 [INFO] [stderr] Checking essential-asm v0.11.0 [INFO] [stderr] Compiling pint-solve v0.2.0 [INFO] [stderr] Compiling pintc v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/predicate/analyse/type_check/check_paths.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | .find(|(_, variable)| (&variable.name == path)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - .find(|(_, variable)| (&variable.name == path)) [INFO] [stdout] 58 + .find(|(_, variable)| &variable.name == path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/predicate/optimize/dead_code_elimination.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | .filter(|&(_, variable)| (!live_paths.contains(&variable.name))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .filter(|&(_, variable)| (!live_paths.contains(&variable.name))) [INFO] [stdout] 46 + .filter(|&(_, variable)| !live_paths.contains(&variable.name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/predicate/analyse/type_check/check_paths.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | .find(|(_, variable)| (&variable.name == path)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - .find(|(_, variable)| (&variable.name == path)) [INFO] [stdout] 58 + .find(|(_, variable)| &variable.name == path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/predicate/optimize/dead_code_elimination.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | .filter(|&(_, variable)| (!live_paths.contains(&variable.name))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .filter(|&(_, variable)| (!live_paths.contains(&variable.name))) [INFO] [stdout] 46 + .filter(|&(_, variable)| !live_paths.contains(&variable.name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn exprs(&self, pred_key: PredKey) -> ExprsIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn exprs(&self, pred_key: PredKey) -> ExprsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate.rs:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | fn expr_iter(&self) -> BlockStatementExprs { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 724 | fn expr_iter(&self) -> BlockStatementExprs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate/display.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_ctrct(&self, thing: T) -> WithContract { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_ctrct(&self, thing: T) -> WithContract<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_util` [INFO] [stdout] --> tests/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use test_util::{parse_test_data, update_expect, update_expected, TestData}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use test_util::{parse_test_data, update_expect, update_expected, TestData}; [INFO] [stdout] 11 + use test_bin::{parse_test_data, update_expect, update_expected, TestData}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pintc` (test "tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn exprs(&self, pred_key: PredKey) -> ExprsIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn exprs(&self, pred_key: PredKey) -> ExprsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate.rs:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | fn expr_iter(&self) -> BlockStatementExprs { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 724 | fn expr_iter(&self) -> BlockStatementExprs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/predicate/display.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_ctrct(&self, thing: T) -> WithContract { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_ctrct(&self, thing: T) -> WithContract<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f4e5cb76b763b158ee003f1d617fca956abff89ee7922f77a4048bb24897613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f4e5cb76b763b158ee003f1d617fca956abff89ee7922f77a4048bb24897613", kill_on_drop: false }` [INFO] [stdout] 8f4e5cb76b763b158ee003f1d617fca956abff89ee7922f77a4048bb24897613