[INFO] cloning repository https://github.com/Peruz/rust_read_csv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Peruz/rust_read_csv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeruz%2Frust_read_csv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeruz%2Frust_read_csv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4beac3234d00f162808444ec80b723baf0fab7a5 [INFO] checking Peruz/rust_read_csv against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeruz%2Frust_read_csv" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Peruz/rust_read_csv on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Peruz/rust_read_csv [INFO] finished tweaking git repo https://github.com/Peruz/rust_read_csv [INFO] tweaked toml for git repo https://github.com/Peruz/rust_read_csv written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Peruz/rust_read_csv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 46b5bbbfd930dab2cb2d7ccd0fbd60444005a88a2018836a5376ec50c4418f80 [INFO] running `Command { std: "docker" "start" "-a" "46b5bbbfd930dab2cb2d7ccd0fbd60444005a88a2018836a5376ec50c4418f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46b5bbbfd930dab2cb2d7ccd0fbd60444005a88a2018836a5376ec50c4418f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b5bbbfd930dab2cb2d7ccd0fbd60444005a88a2018836a5376ec50c4418f80", kill_on_drop: false }` [INFO] [stdout] 46b5bbbfd930dab2cb2d7ccd0fbd60444005a88a2018836a5376ec50c4418f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc6b07a9a4a0af4c300f7682126c7dc5636b1480a985a78900c74f060ceadcac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc6b07a9a4a0af4c300f7682126c7dc5636b1480a985a78900c74f060ceadcac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.8.0 (https://github.com/rayon-rs/rayon.git#6ec07540) [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.4.0 (https://github.com/rayon-rs/rayon.git#6ec07540) [INFO] [stderr] Checking flatbuffers v0.6.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking csv-core v0.1.10 (https://github.com/BurntSushi/rust-csv.git#f0f53a49) [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap.git#ca27d50a) [INFO] [stderr] Checking clap v3.0.0-beta.1 (https://github.com/clap-rs/clap.git#ca27d50a) [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking csv v1.1.3 (https://github.com/BurntSushi/rust-csv.git#f0f53a49) [INFO] [stderr] Checking arrow v2.0.0-SNAPSHOT (https://github.com/apache/arrow.git#c6994f1e) [INFO] [stderr] Checking readcsv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let batch = csv.next().unwrap().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let c: Record = record.deserialize(Some(&header)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linebuffer_split` [INFO] [stdout] --> src/main.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let linebuffer_split: Vec<_> = linebuffer.split(|i| *i == 44).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linebuffer_split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut citypop = CityPop::new(4000 as usize); [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: associated function is never used: `add_entry` [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn add_entry(&mut self, city: String, state: String, population: Option, latitude: f64, longitude: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let batch = csv.next().unwrap().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let c: Record = record.deserialize(Some(&header)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linebuffer_split` [INFO] [stdout] --> src/main.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let linebuffer_split: Vec<_> = linebuffer.split(|i| *i == 44).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linebuffer_split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut citypop = CityPop::new(4000 as usize); [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: associated function is never used: `add_entry` [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn add_entry(&mut self, city: String, state: String, population: Option, latitude: f64, longitude: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_record` [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn add_record(&mut self, record: Record) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrow_with_schema` [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn arrow_with_schema(arg_file: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `csv_with_serde` [INFO] [stdout] --> src/main.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn csv_with_serde(arg_file: &String) -> CityPop { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `csv_no_serde` [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn csv_no_serde(arg_file: &String) -> CityPop { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `csv_byte_record_deserialize` [INFO] [stdout] --> src/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn csv_byte_record_deserialize(arg_file: &String) -> CityPop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_lines_onlyloop` [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn std_lines_onlyloop(arg_file: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `std_string_buffer_onlywhile` [INFO] [stdout] --> src/main.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn std_string_buffer_onlywhile(arg_file: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "dc6b07a9a4a0af4c300f7682126c7dc5636b1480a985a78900c74f060ceadcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6b07a9a4a0af4c300f7682126c7dc5636b1480a985a78900c74f060ceadcac", kill_on_drop: false }` [INFO] [stdout] dc6b07a9a4a0af4c300f7682126c7dc5636b1480a985a78900c74f060ceadcac