[INFO] fetching crate alpm-lint 0.1.1... [INFO] checking alpm-lint-0.1.1 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate alpm-lint 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate alpm-lint 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate alpm-lint 0.1.1 [INFO] tweaked toml for crates.io crate alpm-lint 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alpm-lint 0.1.1 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate alpm-lint 0.1.1 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.26.1 [INFO] [stderr] Downloaded fluent-template-macros v0.13.2 [INFO] [stderr] Downloaded optfield v0.4.0 [INFO] [stderr] Downloaded clap-verbosity v2.1.0 [INFO] [stderr] Downloaded self_cell v1.2.1 [INFO] [stderr] Downloaded fluent-langneg v0.13.1 [INFO] [stderr] Downloaded alpm-pkginfo v0.4.0 [INFO] [stderr] Downloaded ignore v0.4.25 [INFO] [stderr] Downloaded alpm-srcinfo v0.5.0 [INFO] [stderr] Downloaded insta v1.43.2 [INFO] [stderr] Downloaded alpm-types v0.9.0 [INFO] [stderr] Downloaded rstest_macros v0.26.1 [INFO] [stderr] Downloaded assert_cmd v2.1.1 [INFO] [stderr] Downloaded fluent-bundle v0.16.0 [INFO] [stderr] Downloaded fluent-syntax v0.12.0 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded fluent-templates v0.13.2 [INFO] [stderr] Downloaded fluent-i18n v0.1.0 [INFO] [stderr] Downloaded which v8.0.0 [INFO] [stderr] Downloaded alpm-pkgbuild v0.2.1 [INFO] [stderr] Downloaded alpm-parsers v0.3.1 [INFO] [stderr] Downloaded alpm-common v0.1.3 [INFO] [stderr] Downloaded documented-macros v0.9.2 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded testresult v0.4.1 [INFO] [stderr] Downloaded documented v0.9.2 [INFO] [stderr] Downloaded spdx v0.12.0 [INFO] [stderr] Downloaded alpm-lint-config v0.1.0 [INFO] [stderr] Downloaded alpm-buildinfo v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9e73dadcfd11e043e399156ebaa703b52963caaf7758d9dbd59402c8bd0e23c [INFO] running `Command { std: "docker" "start" "-a" "f9e73dadcfd11e043e399156ebaa703b52963caaf7758d9dbd59402c8bd0e23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9e73dadcfd11e043e399156ebaa703b52963caaf7758d9dbd59402c8bd0e23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e73dadcfd11e043e399156ebaa703b52963caaf7758d9dbd59402c8bd0e23c", kill_on_drop: false }` [INFO] [stdout] f9e73dadcfd11e043e399156ebaa703b52963caaf7758d9dbd59402c8bd0e23c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d902d72d71672c29f081b87d65bb557146818932e59821b0ce6a8e80226778 [INFO] running `Command { std: "docker" "start" "-a" "d6d902d72d71672c29f081b87d65bb557146818932e59821b0ce6a8e80226778", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking testresult v0.4.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking spdx v0.12.0 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking terminal_size v0.4.3 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking insta v1.43.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling optfield v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking fluent-syntax v0.12.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling unic-langid-macros v0.9.6 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling fluent-template-macros v0.13.2 [INFO] [stderr] Compiling documented-macros v0.9.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking alpm-parsers v0.3.1 [INFO] [stderr] Checking alpm-lint-config v0.1.0 [INFO] [stderr] Checking clap-verbosity v2.1.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking documented v0.9.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking intl-memoizer v0.5.3 [INFO] [stderr] Checking fluent-langneg v0.13.1 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-bundle v0.16.0 [INFO] [stderr] Checking serde_with v3.15.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking fluent-templates v0.13.2 [INFO] [stderr] Checking fluent-i18n v0.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking alpm-types v0.9.0 [INFO] [stderr] Checking alpm-common v0.1.3 [INFO] [stderr] Checking alpm-pkgbuild v0.2.1 [INFO] [stderr] Checking alpm-pkginfo v0.4.0 [INFO] [stderr] Checking alpm-buildinfo v0.4.0 [INFO] [stderr] Checking alpm-srcinfo v0.5.0 [INFO] [stderr] Checking alpm-lint v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lint_rules/store.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | return Err(format!( [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 356 | || "Found lint rule name with invalid character: '{scoped_name}' [INFO] [stdout] 357 | || Lint rule names are only allowed to consist of lowercase alphanumeric characters and underscores." [INFO] [stdout] 358 | || ) [INFO] [stdout] 359 | || .into()); [INFO] [stdout] | ||___________________________-^ unreachable expression [INFO] [stdout] | |___________________________| [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `TestError`, which is uninhabited [INFO] [stdout] --> src/lint_rules/store.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | return Err(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 356 | | "Found lint rule name with invalid character: '{scoped_name}' [INFO] [stdout] 357 | | Lint rule names are only allowed to consist of lowercase alphanumeric characters and underscores." [INFO] [stdout] 358 | | ) [INFO] [stdout] 359 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/scope.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | return Err(TestError::from(format!( [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ____________________________| [INFO] [stdout] 312 | || "Expected an error for scope detection for file set {files:?}, got {scope}" [INFO] [stdout] 313 | || ))); [INFO] [stdout] | ||__________________-^ unreachable expression [INFO] [stdout] | |__________________| [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `TestError`, which is uninhabited [INFO] [stdout] --> src/scope.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | return Err(TestError::from(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 312 | | "Expected an error for scope detection for file set {files:?}, got {scope}" [INFO] [stdout] 313 | | ))); [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.78s [INFO] running `Command { std: "docker" "inspect" "d6d902d72d71672c29f081b87d65bb557146818932e59821b0ce6a8e80226778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d902d72d71672c29f081b87d65bb557146818932e59821b0ce6a8e80226778", kill_on_drop: false }` [INFO] [stdout] d6d902d72d71672c29f081b87d65bb557146818932e59821b0ce6a8e80226778