[INFO] cloning repository https://github.com/yukimakura/csv_import [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukimakura/csv_import" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fcsv_import", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fcsv_import'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a376aa2c2d84e8a2af57dce27fd1514b17898f2d [INFO] checking yukimakura/csv_import against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimakura%2Fcsv_import" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukimakura/csv_import on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yukimakura/csv_import [INFO] finished tweaking git repo https://github.com/yukimakura/csv_import [INFO] tweaked toml for git repo https://github.com/yukimakura/csv_import written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yukimakura/csv_import 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d818ab56fd65bfccd21c8c85bdc12ec2b1e498b4b90f828a97a1770f2e72bbb3 [INFO] running `Command { std: "docker" "start" "-a" "d818ab56fd65bfccd21c8c85bdc12ec2b1e498b4b90f828a97a1770f2e72bbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d818ab56fd65bfccd21c8c85bdc12ec2b1e498b4b90f828a97a1770f2e72bbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d818ab56fd65bfccd21c8c85bdc12ec2b1e498b4b90f828a97a1770f2e72bbb3", kill_on_drop: false }` [INFO] [stdout] d818ab56fd65bfccd21c8c85bdc12ec2b1e498b4b90f828a97a1770f2e72bbb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6cfdcf74006228562e324ed4df03ccdeafab418b4bed329379d4a0327259e9f [INFO] running `Command { std: "docker" "start" "-a" "a6cfdcf74006228562e324ed4df03ccdeafab418b4bed329379d4a0327259e9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.2 [INFO] [stderr] Checking csv_import v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/csv_parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/csv_parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/csv_parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/csv_parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/csv_parse.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | for (num,item) in iter.enumerate(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/csv_parse.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut iter = rdr.deserialize(); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/csv_parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SCANDATA` [INFO] [stdout] 12 | pub struct SCANDATA { [INFO] [stdout] | -------- `SCANDATA` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/csv_parse.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | for (num,item) in iter.enumerate(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/csv_parse.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut iter = rdr.deserialize(); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/csv_parse.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SCANDATA` [INFO] [stdout] 12 | pub struct SCANDATA { [INFO] [stdout] | -------- `SCANDATA` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `datas` is never read [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut datas: Vec = Vec::new(); [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 `datas` is never read [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut datas: Vec = Vec::new(); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.23s [INFO] running `Command { std: "docker" "inspect" "a6cfdcf74006228562e324ed4df03ccdeafab418b4bed329379d4a0327259e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6cfdcf74006228562e324ed4df03ccdeafab418b4bed329379d4a0327259e9f", kill_on_drop: false }` [INFO] [stdout] a6cfdcf74006228562e324ed4df03ccdeafab418b4bed329379d4a0327259e9f