[INFO] cloning repository https://github.com/opDavi1/termtag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/opDavi1/termtag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FopDavi1%2Ftermtag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FopDavi1%2Ftermtag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb32480020cb5168214b6aa4b720be797c175947 [INFO] checking opDavi1/termtag against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FopDavi1%2Ftermtag" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/opDavi1/termtag [INFO] finished tweaking git repo https://github.com/opDavi1/termtag [INFO] tweaked toml for git repo https://github.com/opDavi1/termtag written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/opDavi1/termtag on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/opDavi1/termtag 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74289cecb0a456156a553fc0001c71e13735ae169c3172622ef92baff36e6778 [INFO] running `Command { std: "docker" "start" "-a" "74289cecb0a456156a553fc0001c71e13735ae169c3172622ef92baff36e6778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74289cecb0a456156a553fc0001c71e13735ae169c3172622ef92baff36e6778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74289cecb0a456156a553fc0001c71e13735ae169c3172622ef92baff36e6778", kill_on_drop: false }` [INFO] [stdout] 74289cecb0a456156a553fc0001c71e13735ae169c3172622ef92baff36e6778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218a19cf8f8f32231fd5cd68c7a926bd481d00b8d7cddff0053107be9c5406b7 [INFO] running `Command { std: "docker" "start" "-a" "218a19cf8f8f32231fd5cd68c7a926bd481d00b8d7cddff0053107be9c5406b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking termtag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `env` and `path::Path` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, path::Path}; [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 imports: `env` and `path::Path` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{env, path::Path}; [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: `picture_blocks` [INFO] [stdout] --> src/formats/flac/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let picture_blocks: Vec<&MetadataBlock> = metadata_blocks [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_picture_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `picture_blocks` [INFO] [stdout] --> src/formats/flac/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let picture_blocks: Vec<&MetadataBlock> = metadata_blocks [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_picture_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/formats/flac/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn write_metadata(&self, metadata: &Metadata) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/formats/flac/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/formats/flac/mod.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let metadata = match file.read_metadata() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/formats/flac/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | fn write_metadata(&self, metadata: &Metadata) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/formats/flac/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/formats/flac/mod.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_metadata` is never used [INFO] [stdout] --> src/formats/flac/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header_length` is never used [INFO] [stdout] --> src/formats/flac/types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl MetadataBlock { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn header_length(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PictureBlock` is never constructed [INFO] [stdout] --> src/formats/flac/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PictureBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PictureType` is never used [INFO] [stdout] --> src/formats/flac/types.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum PictureType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor_length`, `vendor`, and `num_fields` are never read [INFO] [stdout] --> src/formats/flac/types.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct VorbisCommentBlock { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 109 | pub vendor_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub vendor: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | pub num_fields: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VorbisCommentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/metadata.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub fields: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/metadata.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Metadatum { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadatum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header_length` is never used [INFO] [stdout] --> src/metadata.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Metadatum { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn header_length(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_metadata` is never used [INFO] [stdout] --> src/metadata.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait AudioMetadata { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 53 | fn read_metadata(&self) -> Result; [INFO] [stdout] 54 | fn write_metadata(&self, metadata: &Metadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let metadata = match file.read_metadata() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_metadata` is never used [INFO] [stdout] --> src/formats/flac/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn write_metadata(file: &PathBuf, metadata: &Metadata) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header_length` is never used [INFO] [stdout] --> src/formats/flac/types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl MetadataBlock { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn header_length(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PictureBlock` is never constructed [INFO] [stdout] --> src/formats/flac/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PictureBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PictureType` is never used [INFO] [stdout] --> src/formats/flac/types.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum PictureType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor_length`, `vendor`, and `num_fields` are never read [INFO] [stdout] --> src/formats/flac/types.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct VorbisCommentBlock { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 109 | pub vendor_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub vendor: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | pub num_fields: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VorbisCommentBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/metadata.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub fields: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/metadata.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Metadatum { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadatum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header_length` is never used [INFO] [stdout] --> src/metadata.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Metadatum { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn header_length(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_metadata` is never used [INFO] [stdout] --> src/metadata.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait AudioMetadata { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 53 | fn read_metadata(&self) -> Result; [INFO] [stdout] 54 | fn write_metadata(&self, metadata: &Metadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "218a19cf8f8f32231fd5cd68c7a926bd481d00b8d7cddff0053107be9c5406b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218a19cf8f8f32231fd5cd68c7a926bd481d00b8d7cddff0053107be9c5406b7", kill_on_drop: false }` [INFO] [stdout] 218a19cf8f8f32231fd5cd68c7a926bd481d00b8d7cddff0053107be9c5406b7