[INFO] cloning repository https://github.com/ermiralliu/csv-article-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ermiralliu/csv-article-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermiralliu%2Fcsv-article-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermiralliu%2Fcsv-article-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1455b17b8d617c5113f0d6979a3f88ec5ea10ebf [INFO] checking ermiralliu/csv-article-parser against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermiralliu%2Fcsv-article-parser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ermiralliu/csv-article-parser [INFO] finished tweaking git repo https://github.com/ermiralliu/csv-article-parser [INFO] tweaked toml for git repo https://github.com/ermiralliu/csv-article-parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ermiralliu/csv-article-parser on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ermiralliu/csv-article-parser 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "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 cc v1.2.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cd948bcb7a4baef4eafea02b2970e91177fbad801ce985065bdfe27fcdc3bef [INFO] running `Command { std: "docker" "start" "-a" "7cd948bcb7a4baef4eafea02b2970e91177fbad801ce985065bdfe27fcdc3bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd948bcb7a4baef4eafea02b2970e91177fbad801ce985065bdfe27fcdc3bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd948bcb7a4baef4eafea02b2970e91177fbad801ce985065bdfe27fcdc3bef", kill_on_drop: false }` [INFO] [stdout] 7cd948bcb7a4baef4eafea02b2970e91177fbad801ce985065bdfe27fcdc3bef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95ab0fc4cbf7b544317bf00531d1afcb88a235c5281111ea36b82423bdbfddfd [INFO] running `Command { std: "docker" "start" "-a" "95ab0fc4cbf7b544317bf00531d1afcb88a235c5281111ea36b82423bdbfddfd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking csv_processing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [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: `get_row_by_index`, `load_binary_from_file`, and `write_index_to_file` [INFO] [stdout] --> src/main.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use indexing::{create_csv_index, get_row_by_index, load_binary_from_file, write_index_to_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/indexing/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/indexing/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/indexing/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [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: `get_row_by_index`, `load_binary_from_file`, and `write_index_to_file` [INFO] [stdout] --> src/main.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use indexing::{create_csv_index, get_row_by_index, load_binary_from_file, write_index_to_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/indexing/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/indexing/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/indexing/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_rows_file` [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | let error_rows_file = "./error_rows.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_rows_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indexing_file` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let indexing_file = "./indexing.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexing_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `title`, and `author` are never read [INFO] [stdout] --> src/indexing/mod.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ArticleAlternate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub date: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleAlternate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_index_to_file` is never used [INFO] [stdout] --> src/indexing/mod.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn write_index_to_file(filename: &str, data: &[u64]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_binary_from_file` is never used [INFO] [stdout] --> src/indexing/mod.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn load_binary_from_file(filename: &str) -> Result, Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AFTER_HEADER_OFFSET` is never used [INFO] [stdout] --> src/indexing/mod.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 356 | const AFTER_HEADER_OFFSET: u64 = 43; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_row_by_index` is never used [INFO] [stdout] --> src/indexing/mod.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn get_row_by_index(csv_filename: &str, row_offset: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_rows_file` [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | let error_rows_file = "./error_rows.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_rows_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indexing_file` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let indexing_file = "./indexing.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indexing_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `title`, and `author` are never read [INFO] [stdout] --> src/indexing/mod.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ArticleAlternate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub date: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleAlternate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_index_to_file` is never used [INFO] [stdout] --> src/indexing/mod.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn write_index_to_file(filename: &str, data: &[u64]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_binary_from_file` is never used [INFO] [stdout] --> src/indexing/mod.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn load_binary_from_file(filename: &str) -> Result, Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AFTER_HEADER_OFFSET` is never used [INFO] [stdout] --> src/indexing/mod.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 356 | const AFTER_HEADER_OFFSET: u64 = 43; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_row_by_index` is never used [INFO] [stdout] --> src/indexing/mod.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn get_row_by_index(csv_filename: &str, row_offset: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.97s [INFO] running `Command { std: "docker" "inspect" "95ab0fc4cbf7b544317bf00531d1afcb88a235c5281111ea36b82423bdbfddfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ab0fc4cbf7b544317bf00531d1afcb88a235c5281111ea36b82423bdbfddfd", kill_on_drop: false }` [INFO] [stdout] 95ab0fc4cbf7b544317bf00531d1afcb88a235c5281111ea36b82423bdbfddfd