[INFO] cloning repository https://github.com/tryashtar/nmu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tryashtar/nmu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftryashtar%2Fnmu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftryashtar%2Fnmu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb1a676006e2157ee3b0671f47b31cfd8f80ca75 [INFO] building tryashtar/nmu-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftryashtar%2Fnmu-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tryashtar/nmu-rs [INFO] finished tweaking git repo https://github.com/tryashtar/nmu-rs [INFO] tweaked toml for git repo https://github.com/tryashtar/nmu-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tryashtar/nmu-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tryashtar/nmu-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded built v0.7.5 [INFO] [stderr] Downloaded aligned-vec v0.5.0 [INFO] [stderr] Downloaded ravif v0.11.11 [INFO] [stderr] Downloaded v_frame v0.3.8 [INFO] [stderr] Downloaded common-path v1.0.0 [INFO] [stderr] Downloaded avif-serialize v0.8.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.16 [INFO] [stderr] Downloaded av1-grain v0.2.3 [INFO] [stderr] Downloaded color-print-proc-macro v0.3.7 [INFO] [stderr] Downloaded color-print v0.3.7 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded metaflac v0.2.7 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.8 [INFO] [stderr] Downloaded id3 v1.16.0 [INFO] [stderr] Downloaded syn v2.0.89 [INFO] [stderr] Downloaded libc v0.2.166 [INFO] [stderr] Downloaded ape v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8646227bcefddb7a11c006ecef9f3a03a104248e21d069cbb66be1a8e695cd4a [INFO] running `Command { std: "docker" "start" "-a" "8646227bcefddb7a11c006ecef9f3a03a104248e21d069cbb66be1a8e695cd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8646227bcefddb7a11c006ecef9f3a03a104248e21d069cbb66be1a8e695cd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8646227bcefddb7a11c006ecef9f3a03a104248e21d069cbb66be1a8e695cd4a", kill_on_drop: false }` [INFO] [stdout] 8646227bcefddb7a11c006ecef9f3a03a104248e21d069cbb66be1a8e695cd4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5388afddbb8532371958bdda00fbce4ec9ec3c3519703676c9dc4ae0e9dc922 [INFO] running `Command { std: "docker" "start" "-a" "d5388afddbb8532371958bdda00fbce4ec9ec3c3519703676c9dc4ae0e9dc922", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling id3 v1.16.0 [INFO] [stderr] Compiling metaflac v0.2.7 [INFO] [stderr] Compiling ape v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling color-print-proc-macro v0.3.7 [INFO] [stderr] Compiling color-print v0.3.7 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling nmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_field(&self, field: &MetadataField) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tag_interop.rs:296:52 [INFO] [stdout] | [INFO] [stdout] 296 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | fn get_field(&self, field: &MetadataField) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tag_interop.rs:304:52 [INFO] [stdout] | [INFO] [stdout] 304 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nice_path` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let nice_path = ItemPath::Folder( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nice_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/main.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | fn handle_folder_results(results: &ProcessFolderResults) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_folder_results` is never used [INFO] [stdout] --> src/main.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn handle_folder_results(results: &ProcessFolderResults) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nice_folder` is never read [INFO] [stdout] --> src/art.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct ArtConfigLoadResults { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 286 | pub result: Result, Rc>, [INFO] [stdout] 287 | pub nice_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `icon_folder` is never read [INFO] [stdout] --> src/art.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct ArtRepo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | pub icon_folder: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_option` is never used [INFO] [stdout] --> src/metadata.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl MetadataValue { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn from_option(value: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFolderResults` is never constructed [INFO] [stdout] --> src/setting.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessFolderResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_folder` is never used [INFO] [stdout] --> src/setting.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn process_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | TrackOutOfBounds(&'a Path, u32), [INFO] [stdout] | ---------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 58 - TrackOutOfBounds(&'a Path, u32), [INFO] [stdout] 58 + TrackOutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | DiscOutOfBounds(&'a Path, u32), [INFO] [stdout] | --------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 59 - DiscOutOfBounds(&'a Path, u32), [INFO] [stdout] 59 + DiscOutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/song_config.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | NoTrackNumber(&'a Path), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 - NoTrackNumber(&'a Path), [INFO] [stdout] 60 + NoTrackNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/song_config.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | DuplicateTrackNumber(&'a Path, &'a Path, u32), [INFO] [stdout] | -------------------- ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 61 - DuplicateTrackNumber(&'a Path, &'a Path, u32), [INFO] [stdout] 61 + DuplicateTrackNumber((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | UnexpectedDiscPresent(&'a Path, u32), [INFO] [stdout] | --------------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 - UnexpectedDiscPresent(&'a Path, u32), [INFO] [stdout] 62 + UnexpectedDiscPresent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/song_config.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | UnexpectedDiscAbsent(&'a Path), [INFO] [stdout] | -------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - UnexpectedDiscAbsent(&'a Path), [INFO] [stdout] 63 + UnexpectedDiscAbsent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncedOrSimple` is never used [INFO] [stdout] --> src/tag_interop.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | enum SyncedOrSimple { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_lyrics` is never used [INFO] [stdout] --> src/tag_interop.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn try_lyrics(lines: Vec) -> SyncedOrSimple { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/strategy.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | fn file_name(path: &Path) -> Cow { [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] 471 | fn file_name(path: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "d5388afddbb8532371958bdda00fbce4ec9ec3c3519703676c9dc4ae0e9dc922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5388afddbb8532371958bdda00fbce4ec9ec3c3519703676c9dc4ae0e9dc922", kill_on_drop: false }` [INFO] [stdout] d5388afddbb8532371958bdda00fbce4ec9ec3c3519703676c9dc4ae0e9dc922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a305b9082ce67b6f600a5ff5fdae22bfc729ce3fc8d18fe8eb0f24c88687ed [INFO] running `Command { std: "docker" "start" "-a" "b7a305b9082ce67b6f600a5ff5fdae22bfc729ce3fc8d18fe8eb0f24c88687ed", kill_on_drop: false }` [INFO] [stderr] Compiling nmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateCache` and `ReverseMode` [INFO] [stdout] --> src/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | DateCache, LibraryConfig, ScanDecision, ScanOptions, TagOptions, TagSettings, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | song_config::{AllSetter, LoadedConfig, RawSongConfigFile, ReverseMode, SongConfig}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `art` [INFO] [stdout] --> src/setting.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | art: &SetValue>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_field(&self, field: &MetadataField) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tag_interop.rs:296:52 [INFO] [stdout] | [INFO] [stdout] 296 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | fn get_field(&self, field: &MetadataField) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/tag_interop.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tag_interop.rs:304:52 [INFO] [stdout] | [INFO] [stdout] 304 | fn set_field(&mut self, field: &MetadataField, value: MetadataValue) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nice_path` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let nice_path = ItemPath::Folder( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nice_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/main.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | fn handle_folder_results(results: &ProcessFolderResults) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_folder_results` is never used [INFO] [stdout] --> src/main.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn handle_folder_results(results: &ProcessFolderResults) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nice_folder` is never read [INFO] [stdout] --> src/art.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct ArtConfigLoadResults { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 286 | pub result: Result, Rc>, [INFO] [stdout] 287 | pub nice_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `icon_folder` is never read [INFO] [stdout] --> src/art.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct ArtRepo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 333 | pub icon_folder: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_option` is never used [INFO] [stdout] --> src/metadata.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl MetadataValue { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn from_option(value: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessFolderResults` is never constructed [INFO] [stdout] --> src/setting.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessFolderResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_folder` is never used [INFO] [stdout] --> src/setting.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn process_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | TrackOutOfBounds(&'a Path, u32), [INFO] [stdout] | ---------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 58 - TrackOutOfBounds(&'a Path, u32), [INFO] [stdout] 58 + TrackOutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | DiscOutOfBounds(&'a Path, u32), [INFO] [stdout] | --------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 59 - DiscOutOfBounds(&'a Path, u32), [INFO] [stdout] 59 + DiscOutOfBounds((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/song_config.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | NoTrackNumber(&'a Path), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 - NoTrackNumber(&'a Path), [INFO] [stdout] 60 + NoTrackNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/song_config.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | DuplicateTrackNumber(&'a Path, &'a Path, u32), [INFO] [stdout] | -------------------- ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 61 - DuplicateTrackNumber(&'a Path, &'a Path, u32), [INFO] [stdout] 61 + DuplicateTrackNumber((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/song_config.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | UnexpectedDiscPresent(&'a Path, u32), [INFO] [stdout] | --------------------- ^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 - UnexpectedDiscPresent(&'a Path, u32), [INFO] [stdout] 62 + UnexpectedDiscPresent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/song_config.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | UnexpectedDiscAbsent(&'a Path), [INFO] [stdout] | -------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - UnexpectedDiscAbsent(&'a Path), [INFO] [stdout] 63 + UnexpectedDiscAbsent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncedOrSimple` is never used [INFO] [stdout] --> src/tag_interop.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | enum SyncedOrSimple { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_lyrics` is never used [INFO] [stdout] --> src/tag_interop.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn try_lyrics(lines: Vec) -> SyncedOrSimple { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/strategy.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | fn file_name(path: &Path) -> Cow { [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] 471 | fn file_name(path: &Path) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "b7a305b9082ce67b6f600a5ff5fdae22bfc729ce3fc8d18fe8eb0f24c88687ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a305b9082ce67b6f600a5ff5fdae22bfc729ce3fc8d18fe8eb0f24c88687ed", kill_on_drop: false }` [INFO] [stdout] b7a305b9082ce67b6f600a5ff5fdae22bfc729ce3fc8d18fe8eb0f24c88687ed