[INFO] cloning repository https://github.com/xeusteerapat/media-storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeusteerapat/media-storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeusteerapat%2Fmedia-storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeusteerapat%2Fmedia-storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18b8734b4595d810c8eb53fa14cf1299c760dc9d [INFO] checking xeusteerapat/media-storage against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeusteerapat%2Fmedia-storage" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xeusteerapat/media-storage [INFO] finished tweaking git repo https://github.com/xeusteerapat/media-storage [INFO] tweaked toml for git repo https://github.com/xeusteerapat/media-storage written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xeusteerapat/media-storage on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xeusteerapat/media-storage 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0917a0d099e0be2d1ca490163f98a5f70de06fcbe44835ea80ce2bc06bbcfb8b [INFO] running `Command { std: "docker" "start" "-a" "0917a0d099e0be2d1ca490163f98a5f70de06fcbe44835ea80ce2bc06bbcfb8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0917a0d099e0be2d1ca490163f98a5f70de06fcbe44835ea80ce2bc06bbcfb8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0917a0d099e0be2d1ca490163f98a5f70de06fcbe44835ea80ce2bc06bbcfb8b", kill_on_drop: false }` [INFO] [stdout] 0917a0d099e0be2d1ca490163f98a5f70de06fcbe44835ea80ce2bc06bbcfb8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4f9518e38084bbd4dd45762323398a7de9cda34ff54e37202beb0785f0f1af9 [INFO] running `Command { std: "docker" "start" "-a" "f4f9518e38084bbd4dd45762323398a7de9cda34ff54e37202beb0785f0f1af9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.14 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking media-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `MaybeValue<'_>` is more private than the item `Catelog::get_by_index` [INFO] [stdout] --> src/content/catelog.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Catelog::get_by_index` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaybeValue<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/content/catelog.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum MaybeValue<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaybeValue` is never used [INFO] [stdout] --> src/content/catelog.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum MaybeValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_by_index` is never used [INFO] [stdout] --> src/content/catelog.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Catelog { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> src/content/media.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `title` and `director` are never read [INFO] [stdout] --> src/content/media.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `title` is never read [INFO] [stdout] --> src/content/media.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | AudioBook { title: String }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaybeValue<'_>` is more private than the item `Catelog::get_by_index` [INFO] [stdout] --> src/content/catelog.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Catelog::get_by_index` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaybeValue<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/content/catelog.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum MaybeValue<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/content/media.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Podcast(u32), [INFO] [stdout] 6 + Podcast(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/content/media.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Media { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaybeValue` is never used [INFO] [stdout] --> src/content/catelog.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum MaybeValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_by_index` is never used [INFO] [stdout] --> src/content/catelog.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Catelog { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/content/catelog.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [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] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> src/content/media.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `title` and `director` are never read [INFO] [stdout] --> src/content/media.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `title` is never read [INFO] [stdout] --> src/content/media.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | AudioBook { title: String }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` 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 `0` is never read [INFO] [stdout] --> src/content/media.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Podcast(u32), [INFO] [stdout] 6 + Podcast(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/content/media.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Media { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/content/catelog.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue { [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] 23 | pub fn get_by_index(&self, index: usize) -> MaybeValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.58s [INFO] running `Command { std: "docker" "inspect" "f4f9518e38084bbd4dd45762323398a7de9cda34ff54e37202beb0785f0f1af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f9518e38084bbd4dd45762323398a7de9cda34ff54e37202beb0785f0f1af9", kill_on_drop: false }` [INFO] [stdout] f4f9518e38084bbd4dd45762323398a7de9cda34ff54e37202beb0785f0f1af9