[INFO] fetching crate alpkit 0.1.0-pre.2... [INFO] checking alpkit-0.1.0-pre.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate alpkit 0.1.0-pre.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate alpkit 0.1.0-pre.2 [INFO] finished tweaking crates.io crate alpkit 0.1.0-pre.2 [INFO] tweaked toml for crates.io crate alpkit 0.1.0-pre.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate alpkit 0.1.0-pre.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.7) [INFO] [stderr] Adding process_control v4.2.2 (available: v5.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 15f1c2c05f7637ae45c418e9f11a0494c3ca90e087a09033451d49f136d93cd6 [INFO] running `Command { std: "docker" "start" "-a" "15f1c2c05f7637ae45c418e9f11a0494c3ca90e087a09033451d49f136d93cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f1c2c05f7637ae45c418e9f11a0494c3ca90e087a09033451d49f136d93cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f1c2c05f7637ae45c418e9f11a0494c3ca90e087a09033451d49f136d93cd6", kill_on_drop: false }` [INFO] [stdout] 15f1c2c05f7637ae45c418e9f11a0494c3ca90e087a09033451d49f136d93cd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f182defafe503272742b7d0a0c6f9bb41933e176a33bd9abcd8c4e1794e66cd3 [INFO] running `Command { std: "docker" "start" "-a" "f182defafe503272742b7d0a0c6f9bb41933e176a33bd9abcd8c4e1794e66cd3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking cfg-iif v0.2.8 [INFO] [stderr] Compiling assert2-macros v0.3.16 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bitmask-enum v2.2.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking assert2 v0.3.16 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling field_names v0.2.0 [INFO] [stderr] Checking alpkit v0.1.0-pre.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `dependency::Op::all`: Please use the `::all_bits()` constructor [INFO] [stdout] --> src/dependency.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | Any = Op::all().bits, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `dependency::Op::is_all`: Please use the `.is_all_bits()` method [INFO] [stdout] --> src/dependency.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | if self.is_all() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `dependency::Op::all`: Please use the `::all_bits()` constructor [INFO] [stdout] --> src/dependency.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | Any = Op::all().bits, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `dependency::Op::is_all`: Please use the `.is_all_bits()` method [INFO] [stdout] --> src/dependency.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | if self.is_all() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tap_mut` and `pipe_if` are never used [INFO] [stdout] --> src/internal/std_ext.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait Tap: Sized { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | fn tap_mut(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn pipe_if Self>(self, cond: bool, f: F) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/apkbuild.rs:234:86 [INFO] [stdout] | [INFO] [stdout] 234 | fn from_key_value(key: Self::Key, value: Self::Value) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 235 | | Ok(Secfix::new(key, value)) [INFO] [stdout] 236 | | } [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: std::result::Result [INFO] [stdout] --> src/apkbuild.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | Ok(Secfix::new(key, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn signatures(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn signatures(&self) -> Iter<'_, SignatureInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn scripts(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn scripts(&self) -> Iter<'_, PkgScript> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn files_metadata(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn files_metadata(&self) -> Iter<'_, FileInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/package/fileinfo.rs:220:86 [INFO] [stdout] | [INFO] [stdout] 220 | fn from_key_value(key: Self::Key, value: Self::Value) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 221 | | Ok(Xattr { [INFO] [stdout] 222 | | name: key.to_owned(), [INFO] [stdout] 223 | | value: cfg_iif!(feature = "base64" { [INFO] [stdout] ... | [INFO] [stdout] 228 | | }) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/package/fileinfo.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / Ok(Xattr { [INFO] [stdout] 222 | | name: key.to_owned(), [INFO] [stdout] 223 | | value: cfg_iif!(feature = "base64" { [INFO] [stdout] 224 | | base64::decode(value)? [INFO] [stdout] ... | [INFO] [stdout] 227 | | }), [INFO] [stdout] 228 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/internal/tar_ext.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn xattrs(&mut self) -> io::Result; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn xattrs(&mut self) -> io::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/internal/tar_ext.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | fn xattrs(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn xattrs(&mut self) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpkit` (lib) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/apkbuild.rs:234:86 [INFO] [stdout] | [INFO] [stdout] 234 | fn from_key_value(key: Self::Key, value: Self::Value) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 235 | | Ok(Secfix::new(key, value)) [INFO] [stdout] 236 | | } [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: std::result::Result [INFO] [stdout] --> src/apkbuild.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | Ok(Secfix::new(key, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn signatures(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn signatures(&self) -> Iter<'_, SignatureInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn scripts(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn scripts(&self) -> Iter<'_, PkgScript> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package/mod.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn files_metadata(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn files_metadata(&self) -> Iter<'_, FileInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/package/fileinfo.rs:220:86 [INFO] [stdout] | [INFO] [stdout] 220 | fn from_key_value(key: Self::Key, value: Self::Value) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 221 | | Ok(Xattr { [INFO] [stdout] 222 | | name: key.to_owned(), [INFO] [stdout] 223 | | value: cfg_iif!(feature = "base64" { [INFO] [stdout] ... | [INFO] [stdout] 228 | | }) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/package/fileinfo.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / Ok(Xattr { [INFO] [stdout] 222 | | name: key.to_owned(), [INFO] [stdout] 223 | | value: cfg_iif!(feature = "base64" { [INFO] [stdout] 224 | | base64::decode(value)? [INFO] [stdout] ... | [INFO] [stdout] 227 | | }), [INFO] [stdout] 228 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/internal/tar_ext.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | fn xattrs(&mut self) -> io::Result; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn xattrs(&mut self) -> io::Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/internal/tar_ext.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | fn xattrs(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn xattrs(&mut self) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpkit` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f182defafe503272742b7d0a0c6f9bb41933e176a33bd9abcd8c4e1794e66cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f182defafe503272742b7d0a0c6f9bb41933e176a33bd9abcd8c4e1794e66cd3", kill_on_drop: false }` [INFO] [stdout] f182defafe503272742b7d0a0c6f9bb41933e176a33bd9abcd8c4e1794e66cd3