[INFO] fetching crate simplerecords 0.1.1...
[INFO] testing simplerecords-0.1.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate simplerecords 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate simplerecords 0.1.1
[INFO] finished tweaking crates.io crate simplerecords 0.1.1
[INFO] tweaked toml for crates.io crate simplerecords 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate simplerecords 0.1.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate simplerecords 0.1.1 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 02e4636134128a2b0e6390ee2668b6c55515f698f69684b2130366b549b6362d
[INFO] running `Command { std: "docker" "start" "-a" "02e4636134128a2b0e6390ee2668b6c55515f698f69684b2130366b549b6362d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02e4636134128a2b0e6390ee2668b6c55515f698f69684b2130366b549b6362d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02e4636134128a2b0e6390ee2668b6c55515f698f69684b2130366b549b6362d", kill_on_drop: false }`
[INFO] [stdout] 02e4636134128a2b0e6390ee2668b6c55515f698f69684b2130366b549b6362d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2773810a7d68481c340e54de924bb644aa105ab78ca0ac8f7de274da2415359
[INFO] running `Command { std: "docker" "start" "-a" "c2773810a7d68481c340e54de924bb644aa105ab78ca0ac8f7de274da2415359", kill_on_drop: false }`
[INFO] [stderr]    Compiling simplerecords v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "c2773810a7d68481c340e54de924bb644aa105ab78ca0ac8f7de274da2415359", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2773810a7d68481c340e54de924bb644aa105ab78ca0ac8f7de274da2415359", kill_on_drop: false }`
[INFO] [stdout] c2773810a7d68481c340e54de924bb644aa105ab78ca0ac8f7de274da2415359
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2c6826bfb945439701a335892c9b4daeb29cb590f3a70b1feca6d3a6e25a364
[INFO] running `Command { std: "docker" "start" "-a" "c2c6826bfb945439701a335892c9b4daeb29cb590f3a70b1feca6d3a6e25a364", kill_on_drop: false }`
[INFO] [stderr]    Compiling simplerecords v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "c2c6826bfb945439701a335892c9b4daeb29cb590f3a70b1feca6d3a6e25a364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2c6826bfb945439701a335892c9b4daeb29cb590f3a70b1feca6d3a6e25a364", kill_on_drop: false }`
[INFO] [stdout] c2c6826bfb945439701a335892c9b4daeb29cb590f3a70b1feca6d3a6e25a364
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 07c5b00c33619dcc1741feaec78bc2dbd729f31d0d8e5bc9ab89adf91b33a2e7
[INFO] running `Command { std: "docker" "start" "-a" "07c5b00c33619dcc1741feaec78bc2dbd729f31d0d8e5bc9ab89adf91b33a2e7", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simplerecords-85a12c6cc58a46b5)
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test tests::clear_comment::_1 ... ok
[INFO] [stdout] test tests::clear_comment::_6 ... ok
[INFO] [stdout] test tests::clear_comment::_9 ... ok
[INFO] [stdout] test tests::clear_comment::_7 ... ok
[INFO] [stdout] test tests::clear_comment::_2 ... ok
[INFO] [stdout] test tests::clear_comment::_8 ... ok
[INFO] [stdout] test tests::clear_comment::a ... ok
[INFO] [stdout] test tests::clear_comment::_5 ... ok
[INFO] [stdout] test tests::clear_comment::_3 ... ok
[INFO] [stdout] test tests::clear_comment::_4 ... ok
[INFO] [stdout] test tests::clear_comment::b ... ok
[INFO] [stdout] test tests::clear_comment::d ... ok
[INFO] [stdout] test tests::clear_comment::e ... ok
[INFO] [stdout] test tests::split_args::_1 ... ok
[INFO] [stdout] test tests::split_args::_2 ... ok
[INFO] [stdout] test tests::split_args::_4 ... ok
[INFO] [stdout] test tests::split_args::_5 ... ok
[INFO] [stdout] test tests::split_args::_7 ... ok
[INFO] [stdout] test tests::split_args::_8 ... ok
[INFO] [stdout] test tests::split_args::_6 ... ok
[INFO] [stdout] test tests::split_col::_6 ... ok
[INFO] [stdout] test tests::split_col::_1 ... ok
[INFO] [stdout] test tests::split_col::_4 ... ok
[INFO] [stdout] test tests::split_col::_2 ... ok
[INFO] [stdout] test tests::split_args::_3 ... ok
[INFO] [stdout] test tests::clear_comment::c ... ok
[INFO] [stdout] test tests::split_col::_5 ... ok
[INFO] [stdout] test tests::split_col::_7 ... ok
[INFO] [stdout] test tests::split_col::_8 ... ok
[INFO] [stdout] test tests::split_col::_9 ... ok
[INFO] [stdout] test tests::split_col::_3 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests simplerecords
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 130) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::find_one (line 29) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::load (line 15) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 43) ... FAILED
[INFO] [stdout] test src/field.rs - field::Field::IStr (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 64) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 56) ... FAILED
[INFO] [stdout] test src/field.rs - field::Field::UStr (line 16) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 60) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::find (line 50) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 77) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... ok
[INFO] [stdout] test src/options.rs - options::Options (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]   --> src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | [dependencies]
[INFO] [stdout]    | ^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[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 37) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `joe`
[INFO] [stdout]   --> src/lib.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | whitelist       joe         127.0.0.1   123456
[INFO] [stdout]    |                 ^^^ expected one of `!` or `::`
[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 130) stdout ----
[INFO] [stdout] error: cannot find macro `filter` in this scope
[INFO] [stdout]    --> src/lib.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | doc.filter(filter![*, "127.0.0.1", *])
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/macros/mod.rs:1254:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named macro `file` defined here
[INFO] [stdout] help: a macro with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 131 - doc.filter(filter![*, "127.0.0.1", *])
[INFO] [stdout] 131 + doc.filter(file![*, "127.0.0.1", *])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `doc`
[INFO] [stdout]    --> src/lib.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | doc.filter(filter![*, "127.0.0.1", *])
[INFO] [stdout]     | ^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::find_one (line 29) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/document.rs:35:33
[INFO] [stdout]    |
[INFO] [stdout] 35 | let found = doc.find_one(filter)
[INFO] [stdout]    |                                 ^ help: add `;` here
[INFO] [stdout] 36 | } _doctest_main_src_document_rs_29_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter`
[INFO] [stdout]   --> src/document.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | let filter = Filter::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Filter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 29 + use std::iter::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 29 + use simplerecords::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field`
[INFO] [stdout]   --> src/document.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Field`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 29 + use std::mem::type_info::Field;
[INFO] [stdout]    |
[INFO] [stdout] 29 + use simplerecords::Field;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field`
[INFO] [stdout]   --> src/document.rs:32:41
[INFO] [stdout]    |
[INFO] [stdout] 32 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]    |                                         ^^^^^ use of undeclared type `Field`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 29 + use std::mem::type_info::Field;
[INFO] [stdout]    |
[INFO] [stdout] 29 + use simplerecords::Field;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `doc`
[INFO] [stdout]   --> src/document.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 | let found = doc.find_one(filter)
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `:` for type annotation
[INFO] [stdout]    |
[INFO] [stdout] 35 - let found = doc.find_one(filter)
[INFO] [stdout] 35 + let found: doc.find_one(filter)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::load (line 15) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/document.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | let doc = Document::load("filename");
[INFO] [stdout]    |           ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use simplerecords::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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/lib.rs - (line 43) stdout ----
[INFO] [stdout] error: expected item, found `include`
[INFO] [stdout]   --> src/lib.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | include filename
[INFO] [stdout]    | ^^^^^^^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/field.rs - field::Field::IStr (line 10) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/field.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_field_rs_10_0() {
[INFO] [stdout]    |                                                                          - help: try adding a return type: `-> bool`
[INFO] [stdout] 11 | "alice" != "Alice"
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 64) stdout ----
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `doc`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | let found = doc.find(filter);
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `:` for type annotation
[INFO] [stdout]    |
[INFO] [stdout] 65 - let found = doc.find(filter);
[INFO] [stdout] 65 + let found: doc.find(filter);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `filter` in this scope
[INFO] [stdout]   --> src/lib.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 | let found = doc.find(filter);
[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: E0423, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 56) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:57:38
[INFO] [stdout]    |
[INFO] [stdout] 57 | let doc = Document::read("whitelist")
[INFO] [stdout]    |                                      ^ help: add `;` here
[INFO] [stdout] 58 | } _doctest_main_src_lib_rs_56_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/lib.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 | let doc = Document::read("whitelist")
[INFO] [stdout]    |           ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 56 + use simplerecords::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/field.rs - field::Field::UStr (line 16) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/field.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_field_rs_16_0() {
[INFO] [stdout]    |                                                                          - help: try adding a return type: `-> bool`
[INFO] [stdout] 17 | "alice" == "Alice"
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 68) stdout ----
[INFO] [stdout] error: expected item, found `(`
[INFO] [stdout]   --> src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | (whitelist@3) whitelist "joe" "127.0.0.1" 123456
[INFO] [stdout]    | ^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[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 60) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:61:72
[INFO] [stdout]    |
[INFO] [stdout] 61 | let filter = Filter::new("whitelist", &[None, Some("127.0.0.1"), None])
[INFO] [stdout]    |                                                                        ^ help: add `;` here
[INFO] [stdout] 62 | } _doctest_main_src_lib_rs_60_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | let filter = Filter::new("whitelist", &[None, Some("127.0.0.1"), None])
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Filter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 60 + use std::iter::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 60 + use simplerecords::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::find (line 50) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/document.rs:56:29
[INFO] [stdout]    |
[INFO] [stdout] 56 | let found = doc.find(filter)
[INFO] [stdout]    |                             ^ help: add `;` here
[INFO] [stdout] 57 | } _doctest_main_src_document_rs_50_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter`
[INFO] [stdout]   --> src/document.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | let filter = Filter::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Filter`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 50 + use std::iter::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 50 + use simplerecords::Filter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field`
[INFO] [stdout]   --> src/document.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Field`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 50 + use std::mem::type_info::Field;
[INFO] [stdout]    |
[INFO] [stdout] 50 + use simplerecords::Field;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field`
[INFO] [stdout]   --> src/document.rs:53:41
[INFO] [stdout]    |
[INFO] [stdout] 53 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]    |                                         ^^^^^ use of undeclared type `Field`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 50 + use std::mem::type_info::Field;
[INFO] [stdout]    |
[INFO] [stdout] 50 + use simplerecords::Field;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `doc`
[INFO] [stdout]   --> src/document.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 | let found = doc.find(filter)
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `:` for type annotation
[INFO] [stdout]    |
[INFO] [stdout] 56 - let found = doc.find(filter)
[INFO] [stdout] 56 + let found: doc.find(filter)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 77) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options`
[INFO] [stdout]   --> src/lib.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | let doc = Options::default()
[INFO] [stdout]    |           ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 78 - let doc = Options::default()
[INFO] [stdout] 78 + let doc = Option::default()
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use simplerecords::Options;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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/options.rs - options::Options (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options`
[INFO] [stdout]  --> src/options.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | let doc = Options::default()
[INFO] [stdout]   |           ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]   |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 9 - let doc = Options::default()
[INFO] [stdout] 9 + let doc = Option::default()
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 8 + use simplerecords::Options;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/document.rs - document::Document::find (line 50)
[INFO] [stdout]     src/document.rs - document::Document::find_one (line 29)
[INFO] [stdout]     src/document.rs - document::Document::load (line 15)
[INFO] [stdout]     src/field.rs - field::Field::IStr (line 10)
[INFO] [stdout]     src/field.rs - field::Field::UStr (line 16)
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - (line 130)
[INFO] [stdout]     src/lib.rs - (line 37)
[INFO] [stdout]     src/lib.rs - (line 43)
[INFO] [stdout]     src/lib.rs - (line 56)
[INFO] [stdout]     src/lib.rs - (line 60)
[INFO] [stdout]     src/lib.rs - (line 64)
[INFO] [stdout]     src/lib.rs - (line 68)
[INFO] [stdout]     src/lib.rs - (line 77)
[INFO] [stdout]     src/options.rs - options::Options (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "07c5b00c33619dcc1741feaec78bc2dbd729f31d0d8e5bc9ab89adf91b33a2e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07c5b00c33619dcc1741feaec78bc2dbd729f31d0d8e5bc9ab89adf91b33a2e7", kill_on_drop: false }`
[INFO] [stdout] 07c5b00c33619dcc1741feaec78bc2dbd729f31d0d8e5bc9ab89adf91b33a2e7
