[INFO] fetching crate alpm-lint 0.1.1... [INFO] checking alpm-lint-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate alpm-lint 0.1.1 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate alpm-lint 0.1.1 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-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7e27842e4dfdf4f342d0b081a2663122d1297bbc15dabaf2ca371cfdc6609c44 [INFO] running `Command { std: "docker" "start" "-a" "7e27842e4dfdf4f342d0b081a2663122d1297bbc15dabaf2ca371cfdc6609c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e27842e4dfdf4f342d0b081a2663122d1297bbc15dabaf2ca371cfdc6609c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e27842e4dfdf4f342d0b081a2663122d1297bbc15dabaf2ca371cfdc6609c44", kill_on_drop: false }` [INFO] [stdout] 7e27842e4dfdf4f342d0b081a2663122d1297bbc15dabaf2ca371cfdc6609c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 44211d820bf69342a70b5228c9567ce24e02b1b3804f34154f8fdd5bd0b26685 [INFO] running `Command { std: "docker" "start" "-a" "44211d820bf69342a70b5228c9567ce24e02b1b3804f34154f8fdd5bd0b26685", 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 winnow v0.7.13 [INFO] [stderr] Checking bitflags v2.10.0 [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 self_cell v1.2.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking testresult v0.4.1 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking spdx v0.12.0 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking colored v3.0.0 [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 similar v2.7.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking insta v1.43.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [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 toml v0.9.8 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [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 optfield v0.4.0 [INFO] [stderr] Compiling phf_macros v0.12.1 [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] Checking thiserror v2.0.17 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking fluent-syntax v0.12.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Compiling unic-langid-macros v0.9.6 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Compiling fluent-template-macros v0.13.2 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling documented-macros v0.9.2 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Checking serde_with 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 fluent-langneg v0.13.1 [INFO] [stderr] Checking intl-memoizer v0.5.3 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking fluent-bundle v0.16.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking fluent-templates v0.13.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking fluent-i18n v0.1.0 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [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] 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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn default_source_info_v1() -> TestResult { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 46 | | Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] ... | [INFO] [stdout] 55 | | }) [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] 49 | | ..PackageBase::new_with_defaults( [INFO] [stdout] ... | [INFO] [stdout] 54 | | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] 55 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Name::from_str("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default_build_info_v2() -> TestResult { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 60 | | Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] ... | [INFO] [stdout] 76 | | )?) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | BuildDate::from_str("1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BuildDirectory::from_str("/build")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | BuildTool::from_str("devtools")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | BuildToolVersion::from_str("1:1.2.1-1-any")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SchemaVersion::from_str("2")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(BuildInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn default_package_info_v2() -> TestResult { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 81 | | Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )?) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Url::from_str("https://example.com")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | BuildDate::from_str("1729181726")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | InstalledSize::from_str("1000000")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | vec![License::from_str("GPL-3.0-or-later")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | vec![RelationOrSoname::from_str("glibc")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(PackageInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-lint` (test "fixtures") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn default_source_info_v1() -> TestResult { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 46 | | Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] ... | [INFO] [stdout] 55 | | }) [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] 49 | | ..PackageBase::new_with_defaults( [INFO] [stdout] ... | [INFO] [stdout] 54 | | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] 55 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Name::from_str("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default_build_info_v2() -> TestResult { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 60 | | Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] ... | [INFO] [stdout] 76 | | )?) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | BuildDate::from_str("1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BuildDirectory::from_str("/build")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | BuildTool::from_str("devtools")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | BuildToolVersion::from_str("1:1.2.1-1-any")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SchemaVersion::from_str("2")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(BuildInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn default_package_info_v2() -> TestResult { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 81 | | Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )?) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Url::from_str("https://example.com")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | BuildDate::from_str("1729181726")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | InstalledSize::from_str("1000000")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | vec![License::from_str("GPL-3.0-or-later")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | vec![RelationOrSoname::from_str("glibc")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(PackageInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/duplicate_architecture.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/duplicate_architecture.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/duplicate_architecture.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/duplicate_architecture.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/invalid_spdx_license.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/no_architecture.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/no_architecture.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/no_architecture.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/no_architecture.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/openpgp_key_id.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/openpgp_key_id.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/openpgp_key_id.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/openpgp_key_id.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/undefined_architecture.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/lint_rule_tests/source_info/unsafe_checksum.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | fn setup_faulty_srcinfo() -> TestResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 19 | | // Create a temporary directory and write a faulty .SRCINFO file [INFO] [stdout] 20 | | let tempdir = tempdir()?; [INFO] [stdout] 21 | | let srcinfo_path = tempdir.path().join(".SRCINFO"); [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(tempdir) [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let tempdir = tempdir()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/integration.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | source_info.base.sources = vec![Source::from_str("https://example.com/source.tar.gz")?]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | source_info.base.md5_checksums = vec![SkippableChecksum::::from_str( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 26 | | "11111111111111111111111111111111", [INFO] [stdout] 27 | | )?]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = File::create(&srcinfo_path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | file.write_all(srcinfo_content.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(tempdir) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 38 | fn setup_valid_srcinfo() -> TestResult { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 39 | | let tempdir = tempdir()?; [INFO] [stdout] 40 | | let srcinfo_path = tempdir.path().join(".SRCINFO"); [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(tempdir) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let tempdir = tempdir()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/integration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = File::create(&srcinfo_path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | file.write_all(srcinfo_content.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(tempdir) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn default_source_info_v1() -> TestResult { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 46 | | Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] ... | [INFO] [stdout] 55 | | }) [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] 49 | | ..PackageBase::new_with_defaults( [INFO] [stdout] ... | [INFO] [stdout] 54 | | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] 55 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Name::from_str("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default_build_info_v2() -> TestResult { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 60 | | Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] ... | [INFO] [stdout] 76 | | )?) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | BuildDate::from_str("1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BuildDirectory::from_str("/build")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | BuildTool::from_str("devtools")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | BuildToolVersion::from_str("1:1.2.1-1-any")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SchemaVersion::from_str("2")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(BuildInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn default_package_info_v2() -> TestResult { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 81 | | Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )?) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Url::from_str("https://example.com")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | BuildDate::from_str("1729181726")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | InstalledSize::from_str("1000000")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | vec![License::from_str("GPL-3.0-or-later")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | vec![RelationOrSoname::from_str("glibc")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(PackageInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, TempDir> [INFO] [stdout] --> tests/integration.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, TempDir> [INFO] [stdout] --> tests/integration.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let tempdir = setup_valid_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let tempdir = setup_valid_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, TempDir> [INFO] [stdout] --> tests/integration.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, TempDir> [INFO] [stdout] --> tests/integration.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/integration.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let tempdir = setup_faulty_srcinfo()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-lint` (test "lint_rules") due to 65 previous errors [INFO] [stderr] error: could not compile `alpm-lint` (test "integration") due to 57 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn default_source_info_v1() -> TestResult { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 46 | | Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] ... | [INFO] [stdout] 55 | | }) [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / Ok(SourceInfoV1 { [INFO] [stdout] 47 | | base: PackageBase { [INFO] [stdout] 48 | | architectures: Architectures::Any, [INFO] [stdout] 49 | | ..PackageBase::new_with_defaults( [INFO] [stdout] ... | [INFO] [stdout] 54 | | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] 55 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Name::from_str("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | packages: vec![Package::new_with_defaults(Name::from_str("test-package")?)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn default_build_info_v2() -> TestResult { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 60 | | Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] ... | [INFO] [stdout] 76 | | )?) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(BuildInfoV2::new( [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | BuildDate::from_str("1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BuildDirectory::from_str("/build")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | BuildTool::from_str("devtools")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | BuildToolVersion::from_str("1:1.2.1-1-any")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SchemaVersion::from_str("2")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(BuildInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | BuildDate::from_str("1")?, [INFO] [stdout] 62 | | BuildDirectory::from_str("/build")?, [INFO] [stdout] 63 | | StartDirectory::from_str("/startdir/")?, [INFO] [stdout] ... | [INFO] [stdout] 75 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] 76 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn default_package_info_v2() -> TestResult { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 81 | | Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )?) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(PackageInfoV2::new( [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Name::new("test-package")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Url::from_str("https://example.com")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | BuildDate::from_str("1729181726")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | Packager::from_str("Test User ")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | InstalledSize::from_str("1000000")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | vec![License::from_str("GPL-3.0-or-later")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | vec![RelationOrSoname::from_str("glibc")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixtures.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(PackageInfoV2::new( [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | Name::new("test-package")?, [INFO] [stdout] 83 | | Name::new("test-package")?, [INFO] [stdout] 84 | | FullVersion::from_str("1:1.0.0-1")?, [INFO] [stdout] ... | [INFO] [stdout] 101 | | vec![ExtraData::from_str("pkgtype=pkg")?], [INFO] [stdout] 102 | | )?) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SourceInfoV1> [INFO] [stdout] --> tests/resources.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/resources.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let source_info = default_source_info_v1()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PackageInfoV2> [INFO] [stdout] --> tests/resources.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let package_info = default_package_info_v2()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/resources.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let package_info = default_package_info_v2()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, BuildInfoV2> [INFO] [stdout] --> tests/resources.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let build_info = default_build_info_v2()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/resources.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let build_info = default_build_info_v2()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-lint` (test "resources") due to 37 previous errors [INFO] running `Command { std: "docker" "inspect" "44211d820bf69342a70b5228c9567ce24e02b1b3804f34154f8fdd5bd0b26685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44211d820bf69342a70b5228c9567ce24e02b1b3804f34154f8fdd5bd0b26685", kill_on_drop: false }` [INFO] [stdout] 44211d820bf69342a70b5228c9567ce24e02b1b3804f34154f8fdd5bd0b26685