[INFO] cloning repository https://github.com/jdx/jdx-csv-lint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdx/jdx-csv-lint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdx%2Fjdx-csv-lint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdx%2Fjdx-csv-lint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 156d0ae9dc17ff746b6afcb8534706cf8437b394 [INFO] testing jdx/jdx-csv-lint against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdx%2Fjdx-csv-lint" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jdx/jdx-csv-lint [INFO] finished tweaking git repo https://github.com/jdx/jdx-csv-lint [INFO] tweaked toml for git repo https://github.com/jdx/jdx-csv-lint written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jdx/jdx-csv-lint on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jdx/jdx-csv-lint 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3 [INFO] running `Command { std: "docker" "start" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling os_pipe v1.2.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling color-print v0.3.6 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling homedir v0.2.1 [INFO] [stderr] Compiling xx v1.1.5 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling jdx-csv-lint v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/logger.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [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 attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/linter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_all` is never used [INFO] [stdout] --> src/linter_builder.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinterBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn show_all(mut self, show_all: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/checks/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Check { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_key(key: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 49.40s [INFO] running `Command { std: "docker" "inspect" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling jdx-csv-lint v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/logger.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [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 attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/linter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_all` is never used [INFO] [stdout] --> src/linter_builder.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinterBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn show_all(mut self, show_all: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/checks/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Check { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_key(key: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stderr] --> src/logger.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[ctor::ctor] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude` [INFO] [stderr] --> src/linter.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `show_all` is never used [INFO] [stderr] --> src/linter_builder.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl LinterBuilder { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn show_all(mut self, show_all: bool) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `get_key` is never used [INFO] [stderr] --> src/checks/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Check { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn get_key(key: &str) -> Option<&'static str> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jdx-csv-lint` (bin "jdx-csv-lint" test) generated 4 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/jdx_csv_lint-10763da4ce2a0e4e) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stderr] [INFO jdx_csv_lint::cli] examples/data/good.csv is valid [INFO] [stderr] [ERROR jdx_csv_lint::linter] CSV error: record 3 (line: 4, byte: 18): found record with 4 fields, but the previous record has 3 fields [INFO] [stderr] [ERROR jdx_csv_lint::linter] CSV error: record 4 (line: 5, byte: 27): found record with 2 fields, but the previous record has 3 fields [INFO] [stderr] [ERROR jdx_csv_lint::linter] Parse error: [1]: (1,foo,1234567890) Invalid email address: foo [INFO] [stdout] test linter::tests::test_lint ... ok [INFO] [stdout] test cli::tests::test_good_csv ... ok [INFO] [stdout] test linter::tests::test_lint_empty_email ... ok [INFO] [stdout] test linter::tests::test_lint_empty ... ok [INFO] [stdout] test linter::tests::test_lint_valid_email ... ok [INFO] [stdout] test cli::tests::test_bad_csv ... ok [INFO] [stdout] test linter::tests::test_lint_empty_line ... ok [INFO] [stdout] test linter::tests::test_lint_invalid_email ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3", kill_on_drop: false }` [INFO] [stdout] 8e9e88bfec1b30faf48891b7ac35c2771c79ee9babdc380a675a77542f1502e3