[INFO] fetching crate alpm-srcinfo 0.5.0... [INFO] checking alpm-srcinfo-0.5.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate alpm-srcinfo 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate alpm-srcinfo 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate alpm-srcinfo 0.5.0 [INFO] tweaked toml for crates.io crate alpm-srcinfo 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate alpm-srcinfo 0.5.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 alpm-srcinfo 0.5.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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3ef0b616889bf7c45cad519e968505c9bc8e3ad6f64bb583869601ecbb95741 [INFO] running `Command { std: "docker" "start" "-a" "c3ef0b616889bf7c45cad519e968505c9bc8e3ad6f64bb583869601ecbb95741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3ef0b616889bf7c45cad519e968505c9bc8e3ad6f64bb583869601ecbb95741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ef0b616889bf7c45cad519e968505c9bc8e3ad6f64bb583869601ecbb95741", kill_on_drop: false }` [INFO] [stdout] c3ef0b616889bf7c45cad519e968505c9bc8e3ad6f64bb583869601ecbb95741 [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 -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] 61030ad0730c1e74af53fa04e6ed2c133e398cba9417ff923d01b824de6b0247 [INFO] running `Command { std: "docker" "start" "-a" "61030ad0730c1e74af53fa04e6ed2c133e398cba9417ff923d01b824de6b0247", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking fluent-syntax v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.6 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking testresult v0.4.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spdx v0.12.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling unic-langid-macros v0.9.6 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking alpm-parsers v0.3.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking fluent-langneg v0.13.1 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking intl-memoizer v0.5.3 [INFO] [stderr] Checking fluent-bundle v0.16.0 [INFO] [stderr] Checking insta v1.43.2 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking alpm-types v0.9.0 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling fluent-template-macros v0.13.2 [INFO] [stderr] Checking fluent-templates v0.13.2 [INFO] [stderr] Checking alpm-pkgbuild v0.2.1 [INFO] [stderr] Checking fluent-i18n v0.1.0 [INFO] [stderr] Checking alpm-common v0.1.3 [INFO] [stderr] Checking alpm-srcinfo v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/pkgbuild_correct.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[rstest] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `rstest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/correct.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | return Err(format!( [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | ________________________| [INFO] [stdout] 38 | || "The parser errored even though it should've succeeded the parsing step:\n{err}" [INFO] [stdout] 39 | || ) [INFO] [stdout] 40 | || .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] --> tests/correct.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | return Err(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 38 | | "The parser errored even though it should've succeeded the parsing step:\n{err}" [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-srcinfo` (test "pkgbuild_correct") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/correct.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | return Err(format!( [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________| [INFO] [stdout] 69 | || "Found 'unexpected' keyword in json output. {}:\n{package_json}", [INFO] [stdout] 70 | || "This indicates that data was included that shouldn't be in there" [INFO] [stdout] 71 | || ) [INFO] [stdout] 72 | || .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] --> tests/correct.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | return Err(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | "Found 'unexpected' keyword in json output. {}:\n{package_json}", [INFO] [stdout] 70 | | "This indicates that data was included that shouldn't be in there" [INFO] [stdout] 71 | | ) [INFO] [stdout] 72 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/correct.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | return Err(format!( [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________| [INFO] [stdout] 77 | || "Found 'beefc0ffee' keyword in json output. {}:\n{package_json}", [INFO] [stdout] 78 | || "This indicates that an checksum was included that shouldn't be in there" [INFO] [stdout] 79 | || ) [INFO] [stdout] 80 | || .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] --> tests/correct.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | return Err(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 77 | | "Found 'beefc0ffee' keyword in json output. {}:\n{package_json}", [INFO] [stdout] 78 | | "This indicates that an checksum was included that shouldn't be in there" [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-srcinfo` (test "correct") due to 1 previous error; 3 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/correct.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[rstest] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `rstest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/writer.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(format!( [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | ________________________| [INFO] [stdout] 25 | || "The parser errored even though it should've succeeded the parsing step:\n{err}" [INFO] [stdout] 26 | || ) [INFO] [stdout] 27 | || .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] --> tests/writer.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 25 | | "The parser errored even though it should've succeeded the parsing step:\n{err}" [INFO] [stdout] 26 | | ) [INFO] [stdout] 27 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/writer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rstest] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `rstest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-srcinfo` (test "writer") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/parse_errors.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | return Err("The parser succeeded even though it should've failed parsing.".into()); [INFO] [stdout] | ^^^^----------------------------------------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `TestError`, which is uninhabited [INFO] [stdout] --> tests/parse_errors.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | return Err("The parser succeeded even though it should've failed parsing.".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] --> tests/pkgbuild_invalid.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | return Err(TestError::from( [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________| [INFO] [stdout] 29 | || "PKGBUILD to SRCINFO conversion worked, although it should fail.", [INFO] [stdout] 30 | || )); [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] --> tests/pkgbuild_invalid.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | return Err(TestError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 29 | | "PKGBUILD to SRCINFO conversion worked, although it should fail.", [INFO] [stdout] 30 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/pkgbuild_invalid.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[rstest] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `rstest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/parse_errors.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[rstest] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `rstest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-srcinfo` (test "pkgbuild_invalid") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `alpm-srcinfo` (test "parse_errors") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "61030ad0730c1e74af53fa04e6ed2c133e398cba9417ff923d01b824de6b0247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61030ad0730c1e74af53fa04e6ed2c133e398cba9417ff923d01b824de6b0247", kill_on_drop: false }` [INFO] [stdout] 61030ad0730c1e74af53fa04e6ed2c133e398cba9417ff923d01b824de6b0247