[INFO] fetching crate arch-pkg-db 0.0.0... [INFO] checking arch-pkg-db-0.0.0 against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776 [INFO] extracting crate arch-pkg-db 0.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate arch-pkg-db 0.0.0 [INFO] finished tweaking crates.io crate arch-pkg-db 0.0.0 [INFO] tweaked toml for crates.io crate arch-pkg-db 0.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arch-pkg-db 0.0.0 on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arch-pkg-db 0.0.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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0f5bdd1e341f1d54d91a8fb7068f543b7cda67e39ee815fcac8c058b61c31a9 [INFO] running `Command { std: "docker" "start" "-a" "f0f5bdd1e341f1d54d91a8fb7068f543b7cda67e39ee815fcac8c058b61c31a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0f5bdd1e341f1d54d91a8fb7068f543b7cda67e39ee815fcac8c058b61c31a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f5bdd1e341f1d54d91a8fb7068f543b7cda67e39ee815fcac8c058b61c31a9", kill_on_drop: false }` [INFO] [stdout] f0f5bdd1e341f1d54d91a8fb7068f543b7cda67e39ee815fcac8c058b61c31a9 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f1d9b25aaa4e06a900e50a43135fb4f34b889922b28202ad02219f2d6e862ea [INFO] running `Command { std: "docker" "start" "-a" "5f1d9b25aaa4e06a900e50a43135fb4f34b889922b28202ad02219f2d6e862ea", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking replace_with v0.1.8 [INFO] [stderr] Checking iter-scan v0.4.0 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking lines-inclusive v0.0.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking typebool v0.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking pipe-trait v0.4.0 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking libflate_lz77 v2.2.0 [INFO] [stderr] Checking is_type v0.2.1 [INFO] [stderr] Checking text-block-macros v0.2.0 [INFO] [stderr] Checking libflate v2.2.0 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking arch-pkg-text v0.9.5 [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/parse/srcinfo/checksums.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> ParsedSrcinfo<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 30 | /// Query checksums from all sections of a single [`ChecksumType`]. [INFO] [stdout] 31 | fn checksums_single_type(&self, checksum_type: ChecksumType) -> impl Iterator> + '_ { [INFO] [stdout] | ----- `self` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 35 | .map(|item| item.map(ChecksumValue::$checksum_variant)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 110 | / def_impl! { [INFO] [stdout] 111 | | Md5(SkipOrHex128) <- md5_checksums; [INFO] [stdout] 112 | | Sha1(SkipOrHex160) <- sha1_checksums; [INFO] [stdout] 113 | | Sha224(SkipOrHex224) <- sha224_checksums; [INFO] [stdout] ... | [INFO] [stdout] 117 | | Blake2b(SkipOrHex512) <- blake2b_checksums; [INFO] [stdout] 118 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait Query<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 162 | .map(|item| item.map(value::$shared_single_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 162 | .map(move |item| item.map(value::$shared_single_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait Query<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 168 | .map(|item| item.map(value::$shared_multi_no_arch_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 168 | .map(move |item| item.map(value::$shared_multi_no_arch_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait Query<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 175 | .map(|item| item.map(value::$shared_multi_arch_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 175 | .map(move |item| item.map(value::$shared_multi_arch_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 180 | pub trait QueryMut<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 205 | .map(|item| item.map(value::$shared_single_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 205 | .map(move |item| item.map(value::$shared_single_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 180 | pub trait QueryMut<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 211 | .map(|item| item.map(value::$shared_multi_no_arch_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 211 | .map(move |item| item.map(value::$shared_multi_no_arch_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arch-pkg-text-0.9.5/src/srcinfo/query.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 180 | pub trait QueryMut<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 218 | .map(|item| item.map(value::$shared_multi_arch_type::new)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 224 | / def_traits! { [INFO] [stdout] 225 | | base single { [INFO] [stdout] 226 | | base_name, base_name_mut = Base -> Base; [INFO] [stdout] 227 | | epoch, epoch_mut = Epoch -> Epoch; [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 218 | .map(move |item| item.map(value::$shared_multi_arch_type::new)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arch-pkg-text` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "5f1d9b25aaa4e06a900e50a43135fb4f34b889922b28202ad02219f2d6e862ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1d9b25aaa4e06a900e50a43135fb4f34b889922b28202ad02219f2d6e862ea", kill_on_drop: false }` [INFO] [stdout] 5f1d9b25aaa4e06a900e50a43135fb4f34b889922b28202ad02219f2d6e862ea