[INFO] fetching crate shard-csv 0.1.0...
[INFO] testing shard-csv-0.1.0 against beta-2023-10-04 for beta-1.74-1
[INFO] extracting crate shard-csv 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate shard-csv 0.1.0 on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate shard-csv 0.1.0
[INFO] finished tweaking crates.io crate shard-csv 0.1.0
[INFO] tweaked toml for crates.io crate shard-csv 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7c8a66d846cad643922683f6e7825f42857884b83496ecd0967ae5648f13385
[INFO] running `Command { std: "docker" "start" "-a" "e7c8a66d846cad643922683f6e7825f42857884b83496ecd0967ae5648f13385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7c8a66d846cad643922683f6e7825f42857884b83496ecd0967ae5648f13385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7c8a66d846cad643922683f6e7825f42857884b83496ecd0967ae5648f13385", kill_on_drop: false }`
[INFO] [stdout] e7c8a66d846cad643922683f6e7825f42857884b83496ecd0967ae5648f13385
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e736d7dfecfca3d6df9d9af146cdb59d20ecd21389497e0a248767d784c32d94
[INFO] running `Command { std: "docker" "start" "-a" "e736d7dfecfca3d6df9d9af146cdb59d20ecd21389497e0a248767d784c32d94", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling csv-core v0.1.11
[INFO] [stderr]    Compiling csv v1.3.0
[INFO] [stderr]    Compiling shard-csv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "e736d7dfecfca3d6df9d9af146cdb59d20ecd21389497e0a248767d784c32d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e736d7dfecfca3d6df9d9af146cdb59d20ecd21389497e0a248767d784c32d94", kill_on_drop: false }`
[INFO] [stdout] e736d7dfecfca3d6df9d9af146cdb59d20ecd21389497e0a248767d784c32d94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd64beb25718bd4a9fbc025aaeb7a5a9cc0b106d0553dff4e5789bf421b75b01
[INFO] running `Command { std: "docker" "start" "-a" "fd64beb25718bd4a9fbc025aaeb7a5a9cc0b106d0553dff4e5789bf421b75b01", kill_on_drop: false }`
[INFO] [stderr]    Compiling shard-csv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "fd64beb25718bd4a9fbc025aaeb7a5a9cc0b106d0553dff4e5789bf421b75b01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd64beb25718bd4a9fbc025aaeb7a5a9cc0b106d0553dff4e5789bf421b75b01", kill_on_drop: false }`
[INFO] [stdout] fd64beb25718bd4a9fbc025aaeb7a5a9cc0b106d0553dff4e5789bf421b75b01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a07fd8e0989cdd2a975aa2e038a631b7833295edc66b15bc6db6cb663002ee72
[INFO] running `Command { std: "docker" "start" "-a" "a07fd8e0989cdd2a975aa2e038a631b7833295edc66b15bc6db6cb663002ee72", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shard_csv-67ae1029449b323e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests shard-csv
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 100) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 46) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 90) ... FAILED
[INFO] [stdout] test src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::with_output_splitting (line 153) ... FAILED
[INFO] [stdout] test src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::on_create_file (line 187) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 16) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 81) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:82:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer.process_csv(&mut csv_reader).ok();
[INFO] [stdout]   | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `csv_reader` in this scope
[INFO] [stdout]  --> src/lib.rs:82:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer.process_csv(&mut csv_reader).ok();
[INFO] [stdout]   |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StringRecord`
[INFO] [stdout]  --> src/lib.rs:32:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | let it = data.iter().map(|r| StringRecord::from(&r[..]));
[INFO] [stdout]   |                              ^^^^^^^^^^^^ use of undeclared type `StringRecord`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use csv::StringRecord;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | shard_writer.process_iter(it).ok();
[INFO] [stdout]   | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 71) stdout ----
[INFO] [stdout] error: expected expression, found `.`
[INFO] [stdout]  --> src/lib.rs:74:4
[INFO] [stdout]   |
[INFO] [stdout] 5 |    .with_key_selector(|rec| rec.get(0).unwrap_or("unknown").to_owned());
[INFO] [stdout]   |    ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]  --> src/lib.rs:72:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use shard_csv::ShardedWriterBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `csv_reader` in this scope
[INFO] [stdout]  --> src/lib.rs:72:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 110) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `flate2`
[INFO] [stdout]  --> src/lib.rs:113:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let gz = flate2::write::GzEncoder::new(f, flate2::Compression::fast());
[INFO] [stdout]   |              ^^^^^^ use of undeclared crate or module `flate2`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `flate2`
[INFO] [stdout]  --> src/lib.rs:113:47
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let gz = flate2::write::GzEncoder::new(f, flate2::Compression::fast());
[INFO] [stdout]   |                                               ^^^^^^ use of undeclared crate or module `flate2`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:111:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.on_create_file(|path| {
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shard_writer = shard_writer.on_create_file(|path| {
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:111:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.on_create_file(|path| {
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufWriter`
[INFO] [stdout]  --> src/lib.rs:114:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let buf = BufWriter::new(gz);
[INFO] [stdout]   |               ^^^^^^^^^ use of undeclared type `BufWriter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::io::BufWriter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 100) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:101:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.on_file_completion(|path, key| {
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shard_writer = shard_writer.on_file_completion(|path, key| {
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:101:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.on_file_completion(|path, key| {
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 56) stdout ----
[INFO] [stdout] error: expected expression, found `.`
[INFO] [stdout]  --> src/lib.rs:59:4
[INFO] [stdout]   |
[INFO] [stdout] 5 |    .with_key_selector(|rec| rec.get(0).unwrap_or("unknown").to_owned());
[INFO] [stdout]   |    ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]  --> src/lib.rs:57:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use shard_csv::ShardedWriterBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `csv_reader` in this scope
[INFO] [stdout]  --> src/lib.rs:57:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 46) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]  --> src/lib.rs:47:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ShardedWriterBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use shard_csv::ShardedWriterBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `csv_reader` in this scope
[INFO] [stdout]  --> src/lib.rs:47:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader)
[INFO] [stdout]   |                                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 90) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:91:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.with_output_splitting(FileSplitting::SplitAfterRows(100));
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 3 | let shard_writer = shard_writer.with_output_splitting(FileSplitting::SplitAfterRows(100));
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shard_writer` in this scope
[INFO] [stdout]  --> src/lib.rs:91:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.with_output_splitting(FileSplitting::SplitAfterRows(100));
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSplitting`
[INFO] [stdout]  --> src/lib.rs:91:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | shard_writer = shard_writer.with_output_splitting(FileSplitting::SplitAfterRows(100));
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^ use of undeclared type `FileSplitting`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use shard_csv::FileSplitting;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::with_output_splitting (line 153) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShardedWriter`
[INFO] [stdout]  --> src/sharded_writer.rs:154:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let writer = ShardedWriter::new(
[INFO] [stdout]   |              ^^^^^^^^^^^^^ use of undeclared type `ShardedWriter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use shard_csv::ShardedWriter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::on_create_file (line 187) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `my_sharded_writer` in this scope
[INFO] [stdout]  --> src/sharded_writer.rs:188:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | my_sharded_writer.on_create_file(|path| Ok(BufWriter::new(File::create(path)?)));
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufWriter`
[INFO] [stdout]  --> src/sharded_writer.rs:188:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | my_sharded_writer.on_create_file(|path| Ok(BufWriter::new(File::create(path)?)));
[INFO] [stdout]   |                                            ^^^^^^^^^ use of undeclared type `BufWriter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::io::BufWriter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File`
[INFO] [stdout]  --> src/sharded_writer.rs:188:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | my_sharded_writer.on_create_file(|path| Ok(BufWriter::new(File::create(path)?)));
[INFO] [stdout]   |                                                           ^^^^ use of undeclared type `File`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 16) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] thread 'main' panicked at src/lib.rs:9:5:
[INFO] [stdout] Failed to create reader from file: Error(Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }))
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5602810ed4dc - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x5602810ed4dc - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5602810ed4dc - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x5602810ed4dc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x56028110ccec - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x56028110ccec - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x5602810eb26e - std::io::Write::write_fmt::h8cf5987c4cc04f0c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x5602810ed2c4 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5602810ed2c4 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5602810ee843 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x5602810ee564 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   11:     0x5602810eedc5 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:731:13
[INFO] [stdout]   12:     0x5602810eecc1 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   13:     0x5602810eda06 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   14:     0x5602810eea12 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   15:     0x5602810cbdd5 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   16:     0x5602810cc323 - core::result::unwrap_failed::heaac613e95fb85f7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1652:5
[INFO] [stdout]   17:     0x5602810ccf85 - core::result::Result<T,E>::expect::h9c3b5d7997dc5c76
[INFO] [stdout]   18:     0x5602810cd5ce - rust_out::main::_doctest_main_src_lib_rs_16_0::h1b79aa5bdd383bd5
[INFO] [stdout]   19:     0x5602810cd506 - rust_out::main::hb856b01647421254
[INFO] [stdout]   20:     0x5602810ccd23 - core::ops::function::FnOnce::call_once::h2711165b051055a3
[INFO] [stdout]   21:     0x5602810ccb06 - std::sys_common::backtrace::__rust_begin_short_backtrace::h35a5a90addd8acd2
[INFO] [stdout]   22:     0x5602810ccce9 - std::rt::lang_start::{{closure}}::hb677beed02f8c868
[INFO] [stdout]   23:     0x5602810e8fab - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::he69bbf8998ffac5e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   24:     0x5602810e8fab - std::panicking::try::do_call::hce3388e2c7db0954
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   25:     0x5602810e8fab - std::panicking::try::h26549480de06d9c4
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   26:     0x5602810e8fab - std::panic::catch_unwind::h9bf8d9791e3f2270
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   27:     0x5602810e8fab - std::rt::lang_start_internal::{{closure}}::hca24b5f1817611e1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/rt.rs:148:48
[INFO] [stdout]   28:     0x5602810e8fab - std::panicking::try::do_call::he92409fed84a0b20
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x5602810e8fab - std::panicking::try::h0f6856fb885bf872
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x5602810e8fab - std::panic::catch_unwind::h8ffaee8c9abb3a89
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x5602810e8fab - std::rt::lang_start_internal::h55f97551151298c5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/rt.rs:148:20
[INFO] [stdout]   32:     0x5602810cccc7 - std::rt::lang_start::h0dd8c907abfe7567
[INFO] [stdout]   33:     0x5602810cd645 - main
[INFO] [stdout]   34:     0x7f216ca26d90 - <unknown>
[INFO] [stdout]   35:     0x7f216ca26e40 - __libc_start_main
[INFO] [stdout]   36:     0x5602810cc5e5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 100)
[INFO] [stdout]     src/lib.rs - (line 110)
[INFO] [stdout]     src/lib.rs - (line 16)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 56)
[INFO] [stdout]     src/lib.rs - (line 71)
[INFO] [stdout]     src/lib.rs - (line 81)
[INFO] [stdout]     src/lib.rs - (line 90)
[INFO] [stdout]     src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::on_create_file (line 187)
[INFO] [stdout]     src/sharded_writer.rs - sharded_writer::ShardedWriter<FKey,FNameFile>::with_output_splitting (line 153)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a07fd8e0989cdd2a975aa2e038a631b7833295edc66b15bc6db6cb663002ee72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a07fd8e0989cdd2a975aa2e038a631b7833295edc66b15bc6db6cb663002ee72", kill_on_drop: false }`
[INFO] [stdout] a07fd8e0989cdd2a975aa2e038a631b7833295edc66b15bc6db6cb663002ee72
