[INFO] fetching crate alpm-soname 0.2.0... [INFO] checking alpm-soname-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate alpm-soname 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate alpm-soname 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate alpm-soname 0.2.0 [INFO] tweaked toml for crates.io crate alpm-soname 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate alpm-soname 0.2.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-soname 0.2.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 91f4145a62bdfb3869e3273376c52660728a75d4ef4eb4e29c3524e6f73c6630 [INFO] running `Command { std: "docker" "start" "-a" "91f4145a62bdfb3869e3273376c52660728a75d4ef4eb4e29c3524e6f73c6630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f4145a62bdfb3869e3273376c52660728a75d4ef4eb4e29c3524e6f73c6630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f4145a62bdfb3869e3273376c52660728a75d4ef4eb4e29c3524e6f73c6630", kill_on_drop: false }` [INFO] [stdout] 91f4145a62bdfb3869e3273376c52660728a75d4ef4eb4e29c3524e6f73c6630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e1d5df40fa8eed623c444346152c8e30ef47cf99fc37bf40596c742b176a4148 [INFO] running `Command { std: "docker" "start" "-a" "e1d5df40fa8eed623c444346152c8e30ef47cf99fc37bf40596c742b176a4148", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking testresult v0.4.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking spdx v0.12.0 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling assert_cmd v2.1.1 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bzip2 v0.6.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking liblzma v0.4.5 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Compiling toml_edit v0.23.7 [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 proc-macro-crate v3.4.0 [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 scroll_derive v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking goblin v0.10.3 [INFO] [stderr] Checking fluent-syntax v0.12.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling unic-langid-macros v0.9.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling fluent-template-macros v0.13.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [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 serde_with v3.15.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking alpm-parsers v0.3.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking fluent-templates v0.13.2 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking fluent-i18n v0.1.0 [INFO] [stderr] Checking rstest v0.26.1 [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-compress v0.1.0 [INFO] [stderr] Checking alpm-pkginfo v0.4.0 [INFO] [stderr] Checking alpm-mtree v0.2.3 [INFO] [stderr] Checking alpm-buildinfo v0.4.0 [INFO] [stderr] Checking alpm-package v0.3.0 [INFO] [stderr] Checking alpm-soname v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/shared.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | return Err(TestError::from("failed to setup sotest c project")); [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/shared.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | return Err(TestError::from("failed to setup sotest c project")); [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/shared.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | return Err(TestError::from("failed to compile sotest c project")); [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/shared.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | return Err(TestError::from("failed to compile sotest c project")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:130:86 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn create_bin_package(path: &Path, config: &SotestConfig) -> TestResult { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 131 | | let input_dir = path.join("input_bin"); [INFO] [stdout] 132 | | create_dir_all(&input_dir)?; [INFO] [stdout] 133 | | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(Package::try_from(&config)?) [INFO] [stdout] 155 | | } [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/shared.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | create_dir_all(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let output_dir = OutputDir::new(path.join("output_bin"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / write( [INFO] [stdout] 137 | | input_dir.join(MetadataFileName::PackageInfo.as_ref()), [INFO] [stdout] 138 | | generate_bin_pkginfo(&config.dep), [INFO] [stdout] 139 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / write( [INFO] [stdout] 141 | | input_dir.join(MetadataFileName::BuildInfo.as_ref()), [INFO] [stdout] 142 | | BUILDINFO_BIN, [INFO] [stdout] 143 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | create_dir_all(input_dir.join("usr/bin"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | copy(path.join("build/sotest"), input_dir.join("usr/bin/sotest"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | create_mtree_v2_from_input_dir(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | let package_input: PackageInput = input_dir.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | PackageCreationConfig::new(package_input, output_dir, CompressionSettings::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:158:86 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create_lib_package(path: &Path, config: &SotestConfig) -> TestResult { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 159 | | let input_dir = path.join("input_lib"); [INFO] [stdout] 160 | | create_dir_all(&input_dir)?; [INFO] [stdout] 161 | | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(Package::try_from(&config)?) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | create_dir_all(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let output_dir = OutputDir::new(path.join("output_lib"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / write( [INFO] [stdout] 165 | | input_dir.join(MetadataFileName::PackageInfo.as_ref()), [INFO] [stdout] 166 | | generate_lib_pkginfo(&config.dep), [INFO] [stdout] 167 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / write( [INFO] [stdout] 169 | | input_dir.join(MetadataFileName::BuildInfo.as_ref()), [INFO] [stdout] 170 | | BUILDINFO_LIB, [INFO] [stdout] 171 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | create_dir_all(input_dir.join("usr/lib"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / copy( [INFO] [stdout] 175 | | path.join(format!("build/lib{}.so", config.libname)), [INFO] [stdout] 176 | | input_dir.join(format!("usr/lib/lib{}.so", config.libname)), [INFO] [stdout] 177 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | create_mtree_v2_from_input_dir(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | let package_input: PackageInput = input_dir.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | PackageCreationConfig::new(package_input, output_dir, CompressionSettings::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/shared.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | return Err(TestError::from("failed to setup sotest c project")); [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/shared.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | return Err(TestError::from("failed to setup sotest c project")); [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/shared.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | return Err(TestError::from("failed to compile sotest c project")); [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/shared.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | return Err(TestError::from("failed to compile sotest c project")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-soname` (test "shared") due to 26 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/tester.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | return Err(TestError::from(format!( [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________| [INFO] [stdout] 67 | || "test_files directory not found: {}", [INFO] [stdout] 68 | || test_files_dir.display() [INFO] [stdout] 69 | || ))); [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/tester.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | return Err(TestError::from(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | "test_files directory not found: {}", [INFO] [stdout] 68 | | test_files_dir.display() [INFO] [stdout] 69 | | ))); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, alpm_package::Package> [INFO] [stdout] --> tests/tester.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let lib = create_lib_package(&path, &cfg)?; [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/tester.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let lib = create_lib_package(&path, &cfg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, alpm_package::Package> [INFO] [stdout] --> tests/tester.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let bin = create_bin_package(&path, &cfg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/tester.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let bin = create_bin_package(&path, &cfg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:130:86 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn create_bin_package(path: &Path, config: &SotestConfig) -> TestResult { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 131 | | let input_dir = path.join("input_bin"); [INFO] [stdout] 132 | | create_dir_all(&input_dir)?; [INFO] [stdout] 133 | | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(Package::try_from(&config)?) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | create_dir_all(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let output_dir = OutputDir::new(path.join("output_bin"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / write( [INFO] [stdout] 137 | | input_dir.join(MetadataFileName::PackageInfo.as_ref()), [INFO] [stdout] 138 | | generate_bin_pkginfo(&config.dep), [INFO] [stdout] 139 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / write( [INFO] [stdout] 141 | | input_dir.join(MetadataFileName::BuildInfo.as_ref()), [INFO] [stdout] 142 | | BUILDINFO_BIN, [INFO] [stdout] 143 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | create_dir_all(input_dir.join("usr/bin"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | copy(path.join("build/sotest"), input_dir.join("usr/bin/sotest"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | create_mtree_v2_from_input_dir(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | let package_input: PackageInput = input_dir.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | PackageCreationConfig::new(package_input, output_dir, CompressionSettings::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:158:86 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create_lib_package(path: &Path, config: &SotestConfig) -> TestResult { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 159 | | let input_dir = path.join("input_lib"); [INFO] [stdout] 160 | | create_dir_all(&input_dir)?; [INFO] [stdout] 161 | | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(Package::try_from(&config)?) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | create_dir_all(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let input_dir = InputDir::new(input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let output_dir = OutputDir::new(path.join("output_lib"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / write( [INFO] [stdout] 165 | | input_dir.join(MetadataFileName::PackageInfo.as_ref()), [INFO] [stdout] 166 | | generate_lib_pkginfo(&config.dep), [INFO] [stdout] 167 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / write( [INFO] [stdout] 169 | | input_dir.join(MetadataFileName::BuildInfo.as_ref()), [INFO] [stdout] 170 | | BUILDINFO_LIB, [INFO] [stdout] 171 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | create_dir_all(input_dir.join("usr/lib"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / copy( [INFO] [stdout] 175 | | path.join(format!("build/lib{}.so", config.libname)), [INFO] [stdout] 176 | | input_dir.join(format!("usr/lib/lib{}.so", config.libname)), [INFO] [stdout] 177 | | )?; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | create_mtree_v2_from_input_dir(&input_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | let package_input: PackageInput = input_dir.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | PackageCreationConfig::new(package_input, output_dir, CompressionSettings::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/shared.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(Package::try_from(&config)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-soname` (test "tester") due to 30 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1d5df40fa8eed623c444346152c8e30ef47cf99fc37bf40596c742b176a4148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d5df40fa8eed623c444346152c8e30ef47cf99fc37bf40596c742b176a4148", kill_on_drop: false }` [INFO] [stdout] e1d5df40fa8eed623c444346152c8e30ef47cf99fc37bf40596c742b176a4148