[INFO] cloning repository https://github.com/pxdl/binmerge-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pxdl/binmerge-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpxdl%2Fbinmerge-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpxdl%2Fbinmerge-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e069d045a22114bf7bdc2e088dd7b1634d57a8ce [INFO] checking pxdl/binmerge-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpxdl%2Fbinmerge-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pxdl/binmerge-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pxdl/binmerge-rs [INFO] finished tweaking git repo https://github.com/pxdl/binmerge-rs [INFO] tweaked toml for git repo https://github.com/pxdl/binmerge-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pxdl/binmerge-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rcue v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 935baa4acbb4173b38314ca606bbf5f092fe332d6b72c137b49cfdd355b726ad [INFO] running `Command { std: "docker" "start" "-a" "935baa4acbb4173b38314ca606bbf5f092fe332d6b72c137b49cfdd355b726ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "935baa4acbb4173b38314ca606bbf5f092fe332d6b72c137b49cfdd355b726ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935baa4acbb4173b38314ca606bbf5f092fe332d6b72c137b49cfdd355b726ad", kill_on_drop: false }` [INFO] [stdout] 935baa4acbb4173b38314ca606bbf5f092fe332d6b72c137b49cfdd355b726ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c77e78c570a97ec1e1d5f08266e3920f6ffc0ef2d48a023683103275f48e6c [INFO] running `Command { std: "docker" "start" "-a" "a2c77e78c570a97ec1e1d5f08266e3920f6ffc0ef2d48a023683103275f48e6c", kill_on_drop: false }` [INFO] [stderr] Checking rcue v0.1.3 [INFO] [stderr] Checking binmerge-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcue::parser::parse` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rcue::parser::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcue::parser::parse` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rcue::parser::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_bin_file` [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut missing_bin_file = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_bin_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_index_index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut current_index_index : Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_index_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | current_index_index = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | current_index_index = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_bin_file` [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut missing_bin_file = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_bin_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | current_index_index = Some(bin_files[file_index].tracks[track_index].indexes.len() - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_index_index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut current_index_index : Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_index_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | current_index_index = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | current_index_index = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_index_index` is never read [INFO] [stdout] --> src/main.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | current_index_index = Some(bin_files[file_index].tracks[track_index].indexes.len() - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut missing_bin_file = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut missing_bin_file = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sectors` and `file_offset` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct Track { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | sectors: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | file_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cd_from_cue` is never used [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_cd_from_cue(cue_path : &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sectors` and `file_offset` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct Track { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | sectors: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | file_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_files` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn merge_files(merged_filename: &str, files: Vec<&str>) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cd_from_cue` is never used [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_cd_from_cue(cue_path : &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_directory` is never used [INFO] [stdout] --> src/main.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn read_directory(file_list: &mut Vec, dir: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_files` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn merge_files(merged_filename: &str, files: Vec<&str>) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `files` is never used [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn files(dir: &Path) -> Result, io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_directory` is never used [INFO] [stdout] --> src/main.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn read_directory(file_list: &mut Vec, dir: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `files` is never used [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn files(dir: &Path) -> Result, io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "a2c77e78c570a97ec1e1d5f08266e3920f6ffc0ef2d48a023683103275f48e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c77e78c570a97ec1e1d5f08266e3920f6ffc0ef2d48a023683103275f48e6c", kill_on_drop: false }` [INFO] [stdout] a2c77e78c570a97ec1e1d5f08266e3920f6ffc0ef2d48a023683103275f48e6c