[INFO] cloning repository https://github.com/ruslan-codebase/movies-organizer-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruslan-codebase/movies-organizer-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslan-codebase%2Fmovies-organizer-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslan-codebase%2Fmovies-organizer-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f8cd0679b48b95a85e622b01cd58a28e61fdb1f [INFO] checking ruslan-codebase/movies-organizer-cli against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslan-codebase%2Fmovies-organizer-cli" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ruslan-codebase/movies-organizer-cli [INFO] finished tweaking git repo https://github.com/ruslan-codebase/movies-organizer-cli [INFO] tweaked toml for git repo https://github.com/ruslan-codebase/movies-organizer-cli written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ruslan-codebase/movies-organizer-cli on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ruslan-codebase/movies-organizer-cli 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.5 [INFO] [stderr] Downloaded clap v3.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11328b452f4c09de2a3a5be510fba78d54462d8e4a3561fad494fb577c571c4f [INFO] running `Command { std: "docker" "start" "-a" "11328b452f4c09de2a3a5be510fba78d54462d8e4a3561fad494fb577c571c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11328b452f4c09de2a3a5be510fba78d54462d8e4a3561fad494fb577c571c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11328b452f4c09de2a3a5be510fba78d54462d8e4a3561fad494fb577c571c4f", kill_on_drop: false }` [INFO] [stdout] 11328b452f4c09de2a3a5be510fba78d54462d8e4a3561fad494fb577c571c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58e94275367df6cf354fcc7692cc8f34756bb88714b66556d6402acfa9b8a5db [INFO] running `Command { std: "docker" "start" "-a" "58e94275367df6cf354fcc7692cc8f34756bb88714b66556d6402acfa9b8a5db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Checking clap v3.0.5 [INFO] [stderr] Checking movie-organizer-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `movie_entry` [INFO] [stdout] --> src/main.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | for movie_entry in read_dir(year_path)? { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movie_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | for entry in read_dir(filepath)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_of_movies_unorganized` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn list_of_movies_unorganized(filepath: &Path) -> Result, 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: function `read_extensions` is never used [INFO] [stdout] --> src/main.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn read_extensions(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_unordered` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn read_all_files_unordered(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_ordered` is never used [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn read_all_files_ordered(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_all_movies_unordered` is never used [INFO] [stdout] --> src/main.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn count_all_movies_unordered(filepath: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_unique_movies` is never used [INFO] [stdout] --> src/main.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn print_unique_movies(filepath1: &Path, filepath2: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unique_files` is never used [INFO] [stdout] --> src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | fn write_unique_files(filepath1: &Path, filepath2: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_movies_file` is never used [INFO] [stdout] --> src/main.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn generate_movies_file() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movie_entry` [INFO] [stdout] --> src/main.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | for movie_entry in read_dir(year_path)? { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movie_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | for entry in read_dir(filepath)? { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_of_movies_unorganized` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn list_of_movies_unorganized(filepath: &Path) -> Result, 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: function `read_extensions` is never used [INFO] [stdout] --> src/main.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn read_extensions(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_unordered` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn read_all_files_unordered(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_ordered` is never used [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn read_all_files_ordered(filepath: &Path) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_all_movies_unordered` is never used [INFO] [stdout] --> src/main.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn count_all_movies_unordered(filepath: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_unique_movies` is never used [INFO] [stdout] --> src/main.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn print_unique_movies(filepath1: &Path, filepath2: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unique_files` is never used [INFO] [stdout] --> src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | fn write_unique_files(filepath1: &Path, filepath2: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_movies_file` is never used [INFO] [stdout] --> src/main.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn generate_movies_file() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.76s [INFO] running `Command { std: "docker" "inspect" "58e94275367df6cf354fcc7692cc8f34756bb88714b66556d6402acfa9b8a5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e94275367df6cf354fcc7692cc8f34756bb88714b66556d6402acfa9b8a5db", kill_on_drop: false }` [INFO] [stdout] 58e94275367df6cf354fcc7692cc8f34756bb88714b66556d6402acfa9b8a5db