[INFO] fetching crate rust-apt 0.8.0... [INFO] testing rust-apt-0.8.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust-apt 0.8.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rust-apt 0.8.0 [INFO] finished tweaking crates.io crate rust-apt 0.8.0 [INFO] tweaked toml for crates.io crate rust-apt 0.8.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-apt 0.8.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scratch v1.0.9 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.186 [INFO] [stderr] Downloaded anstyle v1.0.13 [INFO] [stderr] Downloaded link-cplusplus v1.0.12 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.186 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded cxxbridge-cmd v1.0.186 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] [stderr] Downloaded cxx v1.0.186 [INFO] [stderr] Downloaded foldhash v0.2.0 [INFO] [stderr] Downloaded codespan-reporting v0.12.0 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded rustix v0.38.44 [INFO] [stderr] Downloaded cxx-build v1.0.186 [INFO] [stderr] Downloaded linux-raw-sys v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0bca21a89ccb7250c1859d923048212662fdd3a0706289a4aaffe3397168f06 [INFO] running `Command { std: "docker" "start" "-a" "e0bca21a89ccb7250c1859d923048212662fdd3a0706289a4aaffe3397168f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0bca21a89ccb7250c1859d923048212662fdd3a0706289a4aaffe3397168f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bca21a89ccb7250c1859d923048212662fdd3a0706289a4aaffe3397168f06", kill_on_drop: false }` [INFO] [stdout] e0bca21a89ccb7250c1859d923048212662fdd3a0706289a4aaffe3397168f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5780f0090bd57a45b5ea7f8165551d60d6be45743a5df9b28f83e784b1bc09 [INFO] running `Command { std: "docker" "start" "-a" "1f5780f0090bd57a45b5ea7f8165551d60d6be45743a5df9b28f83e784b1bc09", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling scratch v1.0.9 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cxxbridge-flags v1.0.186 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling link-cplusplus v1.0.12 [INFO] [stderr] Compiling cxx v1.0.186 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling cxx-build v1.0.186 [INFO] [stderr] Compiling cxxbridge-macro v1.0.186 [INFO] [stderr] Compiling rust-apt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn iter(&self) -> CacheIter { [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] 216 | pub fn iter(&self) -> CacheIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn get(&self, name: &str) -> Option { [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] 571 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn all_targets(&self) -> Vec { [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] 126 | pub fn all_targets(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | cache: &Cache, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] 203 | dep: Option>, [INFO] [stdout] 204 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 204 | ) -> HashMap>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/files.rs:41:67 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/records.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | fn parser(&self) -> Ref> { [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] 155 | fn parser(&self) -> Ref<'_, UniquePtr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tagfile.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stdout] | -- the lifetime is named here ^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.45s [INFO] running `Command { std: "docker" "inspect" "1f5780f0090bd57a45b5ea7f8165551d60d6be45743a5df9b28f83e784b1bc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5780f0090bd57a45b5ea7f8165551d60d6be45743a5df9b28f83e784b1bc09", kill_on_drop: false }` [INFO] [stdout] 1f5780f0090bd57a45b5ea7f8165551d60d6be45743a5df9b28f83e784b1bc09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 525b7323686a9f39242f6bb6805811dbd64d4740855f2b67f03e0d9df9c9c68e [INFO] running `Command { std: "docker" "start" "-a" "525b7323686a9f39242f6bb6805811dbd64d4740855f2b67f03e0d9df9c9c68e", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn iter(&self) -> CacheIter { [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] 216 | pub fn iter(&self) -> CacheIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn get(&self, name: &str) -> Option { [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] 571 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn all_targets(&self) -> Vec { [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] 126 | pub fn all_targets(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | cache: &Cache, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] 203 | dep: Option>, [INFO] [stdout] 204 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 204 | ) -> HashMap>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/files.rs:41:67 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/records.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | fn parser(&self) -> Ref> { [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] 155 | fn parser(&self) -> Ref<'_, UniquePtr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tagfile.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stdout] | -- the lifetime is named here ^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-apt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn iter(&self) -> CacheIter { [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] 216 | pub fn iter(&self) -> CacheIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn get(&self, name: &str) -> Option { [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] 571 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn all_targets(&self) -> Vec { [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] 126 | pub fn all_targets(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iterators/dependency.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | cache: &Cache, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] 203 | dep: Option>, [INFO] [stdout] 204 | ) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 204 | ) -> HashMap>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/iterators/files.rs:41:67 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/records.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | fn parser(&self) -> Ref> { [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] 155 | fn parser(&self) -> Ref<'_, UniquePtr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tagfile.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stdout] | -- the lifetime is named here ^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "525b7323686a9f39242f6bb6805811dbd64d4740855f2b67f03e0d9df9c9c68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525b7323686a9f39242f6bb6805811dbd64d4740855f2b67f03e0d9df9c9c68e", kill_on_drop: false }` [INFO] [stdout] 525b7323686a9f39242f6bb6805811dbd64d4740855f2b67f03e0d9df9c9c68e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09c0b1b549edccafbd37f65ff728d89ff162c458af506491544b58e0520e3ace [INFO] running `Command { std: "docker" "start" "-a" "09c0b1b549edccafbd37f65ff728d89ff162c458af506491544b58e0520e3ace", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn iter(&self) -> CacheIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 216 | pub fn iter(&self) -> CacheIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:224:18 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn packages(&self, sort: &PackageSort) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:571:13 [INFO] [stderr] | [INFO] [stderr] 571 | pub fn get(&self, name: &str) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 571 | pub fn get(&self, name: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:583:21 [INFO] [stderr] | [INFO] [stderr] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 583 | pub fn get_changes(&self, sort_name: bool) -> impl Iterator> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterators/dependency.rs:81:63 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stderr] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/iterators/dependency.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn all_targets(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn all_targets(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/iterators/dependency.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 202 | cache: &Cache, [INFO] [stderr] | ^^^^^^ the lifetime is elided here [INFO] [stderr] 203 | dep: Option>, [INFO] [stderr] 204 | ) -> HashMap> { [INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | ) -> HashMap>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/iterators/files.rs:41:67 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stderr] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/records.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | fn parser(&self) -> Ref> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 155 | fn parser(&self) -> Ref<'_, UniquePtr> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/tagfile.rs:164:75 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stderr] | -- the lifetime is named here ^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &'a str { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `rust-apt` (lib) generated 10 warnings (run `cargo fix --lib -p rust-apt` to apply 10 suggestions) [INFO] [stderr] warning: `rust-apt` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_apt-edf1096754e07ca2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cache.rs (/opt/rustwide/target/debug/deps/cache-0726738a649b7349) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stderr] error: test failed, to rerun pass `--test cache` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cache-0726738a649b7349` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "09c0b1b549edccafbd37f65ff728d89ff162c458af506491544b58e0520e3ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c0b1b549edccafbd37f65ff728d89ff162c458af506491544b58e0520e3ace", kill_on_drop: false }` [INFO] [stdout] 09c0b1b549edccafbd37f65ff728d89ff162c458af506491544b58e0520e3ace