[INFO] cloning repository https://github.com/Wcubed/asset_keeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wcubed/asset_keeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23526b40bdf5b47c75b0fc7bd4fe51b52a252d41 [INFO] testing Wcubed/asset_keeper against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Wcubed/asset_keeper [INFO] finished tweaking git repo https://github.com/Wcubed/asset_keeper [INFO] tweaked toml for git repo https://github.com/Wcubed/asset_keeper written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Wcubed/asset_keeper on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Wcubed/asset_keeper 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b46ccc22c9164e5cd2f4ef3ce8b71b68ca826e91e475b12c40fa7c7fde0360 [INFO] running `Command { std: "docker" "start" "-a" "91b46ccc22c9164e5cd2f4ef3ce8b71b68ca826e91e475b12c40fa7c7fde0360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b46ccc22c9164e5cd2f4ef3ce8b71b68ca826e91e475b12c40fa7c7fde0360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b46ccc22c9164e5cd2f4ef3ce8b71b68ca826e91e475b12c40fa7c7fde0360", kill_on_drop: false }` [INFO] [stdout] 91b46ccc22c9164e5cd2f4ef3ce8b71b68ca826e91e475b12c40fa7c7fde0360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 77c64350ab0f8dced1c4599f89496e32ba466abec7d749a347dcad0748e54fa9 [INFO] running `Command { std: "docker" "start" "-a" "77c64350ab0f8dced1c4599f89496e32ba466abec7d749a347dcad0748e54fa9", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling asset_keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_file_from_disk`, `file_count`, `file_iter`, and `get_file_info` are never used [INFO] [stdout] --> src/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Data { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(save_dir: &Path, files_dir: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn add_file_from_disk(&mut self, title: &str, file: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn file_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_file_info(&self, id: FileId) -> Option<&File> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/stores/file_store.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileId { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 13 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileStore` is never constructed [INFO] [stdout] --> src/stores/file_store.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FileStore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `new_file` are never used [INFO] [stdout] --> src/stores/file_store.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FileStore { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new() -> FileStore { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_file(&mut self, title: &str, extension: KnownExtension) -> (FileId, PathBuf) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `extension`, and `system_tags` are never read [INFO] [stdout] --> src/stores/file_store.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 78 | id: FileId, [INFO] [stdout] | ^^ [INFO] [stdout] 79 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | extension: KnownExtension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 81 | system_tags: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `extension`, `file_name`, and `system_tags` are never used [INFO] [stdout] --> src/stores/file_store.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 85 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn extension(&self) -> &KnownExtension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn file_name(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn system_tags(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Png` is never constructed [INFO] [stdout] --> src/stores/file_store.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum KnownExtension { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 106 | Png, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KnownExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `from_path`, and `to_str` are never used [INFO] [stdout] --> src/stores/file_store.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl KnownExtension { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn from_str(string: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_path(path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Transparent` is never constructed [INFO] [stdout] --> src/stores/file_store.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum SystemTag { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 134 | /// Indicates an image that has some kind of transparency to it. [INFO] [stdout] 135 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemTag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexedStore` is never used [INFO] [stdout] --> src/stores/traits.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IndexedStore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StoreId` is never used [INFO] [stdout] --> src/stores/traits.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait StoreId: Eq + PartialEq + Hash + Copy + Clone {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter<'_, FileId, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stores/file_store.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn iter(&self) -> Iter<'_, Self::Id, Self::Item> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stores/traits.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn iter(&self) -> Iter<'_, Self::Id, Self::Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "77c64350ab0f8dced1c4599f89496e32ba466abec7d749a347dcad0748e54fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c64350ab0f8dced1c4599f89496e32ba466abec7d749a347dcad0748e54fa9", kill_on_drop: false }` [INFO] [stdout] 77c64350ab0f8dced1c4599f89496e32ba466abec7d749a347dcad0748e54fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 53bc84fb554f252d1467ae2959b8557f0ce3d1662639383b1eae8e2b9ee9f106 [INFO] running `Command { std: "docker" "start" "-a" "53bc84fb554f252d1467ae2959b8557f0ce3d1662639383b1eae8e2b9ee9f106", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling naughty-strings v0.2.3 [INFO] [stderr] Compiling asset_keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let data = Data::new(&save_dir, &file_dir); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `save_dir` is never read [INFO] [stdout] --> src/data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | save_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_iter` is never used [INFO] [stdout] --> src/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_tags` is never read [INFO] [stdout] --> src/stores/file_store.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | system_tags: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `extension` and `system_tags` are never used [INFO] [stdout] --> src/stores/file_store.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn extension(&self) -> &KnownExtension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn system_tags(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Transparent` is never constructed [INFO] [stdout] --> src/stores/file_store.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum SystemTag { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 134 | /// Indicates an image that has some kind of transparency to it. [INFO] [stdout] 135 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemTag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/stores/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IndexedStore { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn iter(&self) -> Iter; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter<'_, FileId, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stores/file_store.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | fn iter(&self) -> Iter<'_, Self::Id, Self::Item> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stores/traits.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn iter(&self) -> Iter<'_, Self::Id, Self::Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcCTawDl/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnaughty_strings-ebc0c356b1d53a4f.rlib,libtempfile-78e637d092ac1f9c.rlib,librand-e502cb6f89e54508.rlib,librand_chacha-193de6106749ac89.rlib,libppv_lite86-fe4748cb9a4a903e.rlib,librand_core-0e7b524d6e0d8fe5.rlib,libgetrandom-0dd2fdee2655961e.rlib,liblibc-6dc7e6e853604b2b.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libcfg_if-2d17986ae484e939.rlib,libanyhow-5fc7819bba2fc30e.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcCTawDl/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/asset_keeper-41196d80bf8802be" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0dd2fdee2655961e.rlib(getrandom-0dd2fdee2655961e.getrandom.f98c92e604eace1b-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h5be35bd979844036E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asset_keeper` (bin "asset_keeper" test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53bc84fb554f252d1467ae2959b8557f0ce3d1662639383b1eae8e2b9ee9f106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53bc84fb554f252d1467ae2959b8557f0ce3d1662639383b1eae8e2b9ee9f106", kill_on_drop: false }` [INFO] [stdout] 53bc84fb554f252d1467ae2959b8557f0ce3d1662639383b1eae8e2b9ee9f106