[INFO] cloning repository https://github.com/robbplo/rust-csv-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robbplo/rust-csv-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbplo%2Frust-csv-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbplo%2Frust-csv-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b292f3e4caadc9514a585e97a243cc9eef3b07a3 [INFO] checking robbplo/rust-csv-parser against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbplo%2Frust-csv-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/robbplo/rust-csv-parser [INFO] finished tweaking git repo https://github.com/robbplo/rust-csv-parser [INFO] tweaked toml for git repo https://github.com/robbplo/rust-csv-parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robbplo/rust-csv-parser on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robbplo/rust-csv-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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3969c07a16567b41702d7269b0093ccd561c15afedbe94df4d1e607aad1374b2 [INFO] running `Command { std: "docker" "start" "-a" "3969c07a16567b41702d7269b0093ccd561c15afedbe94df4d1e607aad1374b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3969c07a16567b41702d7269b0093ccd561c15afedbe94df4d1e607aad1374b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3969c07a16567b41702d7269b0093ccd561c15afedbe94df4d1e607aad1374b2", kill_on_drop: false }` [INFO] [stdout] 3969c07a16567b41702d7269b0093ccd561c15afedbe94df4d1e607aad1374b2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4632aec39dd04cfa9b234c097a982cf6e3c1b97fbb2fbb7ff4ac8958034beb7 [INFO] running `Command { std: "docker" "start" "-a" "f4632aec39dd04cfa9b234c097a982cf6e3c1b97fbb2fbb7ff4ac8958034beb7", kill_on_drop: false }` [INFO] [stderr] Checking csv-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Csv` is never constructed [INFO] [stdout] --> src/parser/parser.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Csv { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Csv` is never constructed [INFO] [stdout] --> src/parser/parser.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Csv { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | impl From for Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let items: Vec = val.trim().lines().map(Csv::line_to_vec).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | impl From for Csv { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Csv` in this scope [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Csv { lines: items } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl From<&str> for Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | impl PartialEq> for CsvLine { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn line_to_vec(line: &str) -> CsvLine { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | CsvLine { values } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let csv: Csv = raw_csv.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Csv` [INFO] [stdout] --> src/main.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | let items: Vec = val.trim().lines().map(Csv::line_to_vec).collect(); [INFO] [stdout] | ^^^ use of undeclared type `Csv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csv-parser` (bin "csv-parser") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | impl From for Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let items: Vec = val.trim().lines().map(Csv::line_to_vec).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | impl From for Csv { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Csv` in this scope [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Csv { lines: items } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl From<&str> for Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | impl PartialEq> for CsvLine { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Csv { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn line_to_vec(line: &str) -> CsvLine { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CsvLine` in this scope [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | CsvLine { values } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let csv: Csv = raw_csv.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | let csv: Csv = input.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Csv` in this scope [INFO] [stdout] --> src/main.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | let csv: Csv = input.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Csv` [INFO] [stdout] --> src/main.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | let items: Vec = val.trim().lines().map(Csv::line_to_vec).collect(); [INFO] [stdout] | ^^^ use of undeclared type `Csv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csv-parser` (bin "csv-parser" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "f4632aec39dd04cfa9b234c097a982cf6e3c1b97fbb2fbb7ff4ac8958034beb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4632aec39dd04cfa9b234c097a982cf6e3c1b97fbb2fbb7ff4ac8958034beb7", kill_on_drop: false }` [INFO] [stdout] f4632aec39dd04cfa9b234c097a982cf6e3c1b97fbb2fbb7ff4ac8958034beb7