[INFO] fetching crate shard-csv 0.1.0... [INFO] testing shard-csv-0.1.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate shard-csv 0.1.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shard-csv 0.1.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a30b5d36b75fbb0a67bba193c51138e0f32dd67f258da405f43aef1357a50f7 [INFO] running `Command { std: "docker" "start" "-a" "7a30b5d36b75fbb0a67bba193c51138e0f32dd67f258da405f43aef1357a50f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a30b5d36b75fbb0a67bba193c51138e0f32dd67f258da405f43aef1357a50f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a30b5d36b75fbb0a67bba193c51138e0f32dd67f258da405f43aef1357a50f7", kill_on_drop: false }` [INFO] [stdout] 7a30b5d36b75fbb0a67bba193c51138e0f32dd67f258da405f43aef1357a50f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1a14fc7ce50eb1e6acd49a15fd185eda75b920e2ebfe20dc75e8e0dd4d76892 [INFO] running `Command { std: "docker" "start" "-a" "d1a14fc7ce50eb1e6acd49a15fd185eda75b920e2ebfe20dc75e8e0dd4d76892", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling shard-csv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "d1a14fc7ce50eb1e6acd49a15fd185eda75b920e2ebfe20dc75e8e0dd4d76892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a14fc7ce50eb1e6acd49a15fd185eda75b920e2ebfe20dc75e8e0dd4d76892", kill_on_drop: false }` [INFO] [stdout] d1a14fc7ce50eb1e6acd49a15fd185eda75b920e2ebfe20dc75e8e0dd4d76892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fdae4afbea04049b6d4e9f7db068d4ab2a8a331626ebb71bce255e574a419ae [INFO] running `Command { std: "docker" "start" "-a" "0fdae4afbea04049b6d4e9f7db068d4ab2a8a331626ebb71bce255e574a419ae", kill_on_drop: false }` [INFO] [stderr] Compiling shard-csv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "0fdae4afbea04049b6d4e9f7db068d4ab2a8a331626ebb71bce255e574a419ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fdae4afbea04049b6d4e9f7db068d4ab2a8a331626ebb71bce255e574a419ae", kill_on_drop: false }` [INFO] [stdout] 0fdae4afbea04049b6d4e9f7db068d4ab2a8a331626ebb71bce255e574a419ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e779ed436403cebdcec05bcd7f0943a0633c70eb1ac381faba03adec724c2f4d [INFO] running `Command { std: "docker" "start" "-a" "e779ed436403cebdcec05bcd7f0943a0633c70eb1ac381faba03adec724c2f4d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shard_csv-3242fa582f313392) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests shard_csv [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/sharded_writer.rs - sharded_writer::ShardedWriter::on_create_file (line 187) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] test src/sharded_writer.rs - sharded_writer::ShardedWriter::with_output_splitting (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 56) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 1 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader) [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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::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 71) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 1 | let mut shard_writer = ShardedWriterBuilder::new_from_csv_reader(&mut csv_reader) [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 110) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [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/sharded_writer.rs - sharded_writer::ShardedWriter::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[E0282]: type annotations needed [INFO] [stdout] --> src/sharded_writer.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 5 | |record| record.get(7).unwrap_or("_unknown").to_string(), [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 5 | |record: /* Type */| record.get(7).unwrap_or("_unknown").to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 3 | shard_writer = shard_writer.on_file_completion(|path, key| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | println!("Output file '{}' for key '{}' is complete", path.display(), key); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 3 | shard_writer = shard_writer.on_file_completion(|path: /* Type */, key| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [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 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 16) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (105) 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: 0x63c15026cde2 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63c15026cde2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63c15026cde2 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63c15026cde2 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63c15027babf - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63c15027babf - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x63c15024b5f3 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63c15024b5f3 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63c150250942 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63c15025216c - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x63c150251fc6 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x63c150252745 - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x63c1502525da - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x63c150250a79 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x63c1502401cd - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x63c15027f010 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x63c15027e776 - core::result::unwrap_failed::he81173b5792ad6b0 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x63c15023a3b9 - core::result::Result::expect::hf4274d956fb3977d [INFO] [stdout] 18: 0x63c15023a96e - rust_out::main::_doctest_main_src_lib_rs_16_0::h2d83555490d5b81c [INFO] [stdout] 19: 0x63c15023a8a6 - rust_out::main::he986860d8b7bc94f [INFO] [stdout] 20: 0x63c150239fd3 - core::ops::function::FnOnce::call_once::hd0f888ea33950d2d [INFO] [stdout] 21: 0x63c150239fa6 - std::sys::backtrace::__rust_begin_short_backtrace::h70a8cfcb1f800bff [INFO] [stdout] 22: 0x63c150239f89 - std::rt::lang_start::{{closure}}::h03ca8d00642774ee [INFO] [stdout] 23: 0x63c15024c9a0 - core::ops::function::impls:: for &F>::call_once::hdf957eac011d0136 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x63c15024c9a0 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x63c15024c9a0 - std::panicking::catch_unwind::ha7ce46787bb12905 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x63c15024c9a0 - std::panic::catch_unwind::h625b36596def7d39 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x63c15024c9a0 - std::rt::lang_start_internal::{{closure}}::h4cbc9430de699e2c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x63c15024c9a0 - std::panicking::catch_unwind::do_call::h5af2f11409a22e3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x63c15024c9a0 - std::panicking::catch_unwind::hf64cf7b0d8070f52 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x63c15024c9a0 - std::panic::catch_unwind::h480b74763390cdcf [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x63c15024c9a0 - std::rt::lang_start_internal::h4b3d04f698aef094 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x63c150239f71 - std::rt::lang_start::h457230af78cce7e7 [INFO] [stdout] 33: 0x63c15023a9e5 - main [INFO] [stdout] 34: 0x72cc673601ca - [INFO] [stdout] 35: 0x72cc6736028b - __libc_start_main [INFO] [stdout] 36: 0x63c1502398e5 - _start [INFO] [stdout] 37: 0x0 - [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::on_create_file (line 187) [INFO] [stdout] src/sharded_writer.rs - sharded_writer::ShardedWriter::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.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e779ed436403cebdcec05bcd7f0943a0633c70eb1ac381faba03adec724c2f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e779ed436403cebdcec05bcd7f0943a0633c70eb1ac381faba03adec724c2f4d", kill_on_drop: false }` [INFO] [stdout] e779ed436403cebdcec05bcd7f0943a0633c70eb1ac381faba03adec724c2f4d