[INFO] cloning repository https://github.com/Siriusmart/simplerecords
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Siriusmart/simplerecords" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fsimplerecords", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fsimplerecords'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bd2752c3e3292311031acd7d13ce7e1c635bb95a
[INFO] testing Siriusmart/simplerecords against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fsimplerecords" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Siriusmart/simplerecords
[INFO] finished tweaking git repo https://github.com/Siriusmart/simplerecords
[INFO] tweaked toml for git repo https://github.com/Siriusmart/simplerecords written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Siriusmart/simplerecords on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Siriusmart/simplerecords 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fefdd7d46b6e2e1644e6089471d7a60f8b12cc9f494f6874d9920ba5bbbadfe2
[INFO] running `Command { std: "docker" "start" "-a" "fefdd7d46b6e2e1644e6089471d7a60f8b12cc9f494f6874d9920ba5bbbadfe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fefdd7d46b6e2e1644e6089471d7a60f8b12cc9f494f6874d9920ba5bbbadfe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fefdd7d46b6e2e1644e6089471d7a60f8b12cc9f494f6874d9920ba5bbbadfe2", kill_on_drop: false }`
[INFO] [stdout] fefdd7d46b6e2e1644e6089471d7a60f8b12cc9f494f6874d9920ba5bbbadfe2
[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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0353891680c1b2ba96f11e27743c8d0f5a468e00b1a7d9c81e6fd6d597b81097
[INFO] running `Command { std: "docker" "start" "-a" "0353891680c1b2ba96f11e27743c8d0f5a468e00b1a7d9c81e6fd6d597b81097", kill_on_drop: false }`
[INFO] [stderr]    Compiling simplerecords v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s
[INFO] running `Command { std: "docker" "inspect" "0353891680c1b2ba96f11e27743c8d0f5a468e00b1a7d9c81e6fd6d597b81097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0353891680c1b2ba96f11e27743c8d0f5a468e00b1a7d9c81e6fd6d597b81097", kill_on_drop: false }`
[INFO] [stdout] 0353891680c1b2ba96f11e27743c8d0f5a468e00b1a7d9c81e6fd6d597b81097
[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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4cd3aa45c0d677f73614e70eac3f1d7174ffd4729e63b3626130d0cdf666f924
[INFO] running `Command { std: "docker" "start" "-a" "4cd3aa45c0d677f73614e70eac3f1d7174ffd4729e63b3626130d0cdf666f924", kill_on_drop: false }`
[INFO] [stderr]    Compiling simplerecords v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "4cd3aa45c0d677f73614e70eac3f1d7174ffd4729e63b3626130d0cdf666f924", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cd3aa45c0d677f73614e70eac3f1d7174ffd4729e63b3626130d0cdf666f924", kill_on_drop: false }`
[INFO] [stdout] 4cd3aa45c0d677f73614e70eac3f1d7174ffd4729e63b3626130d0cdf666f924
[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=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b3b4441e4316d8e94f778a7d1697a367770b8b77a089777f3a15262ab8789f51
[INFO] running `Command { std: "docker" "start" "-a" "b3b4441e4316d8e94f778a7d1697a367770b8b77a089777f3a15262ab8789f51", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simplerecords-94e732d1486658d0)
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test tests::clear_comment::_1 ... ok
[INFO] [stdout] test tests::clear_comment::_4 ... ok
[INFO] [stdout] test tests::clear_comment::_3 ... ok
[INFO] [stdout] test tests::clear_comment::_2 ... ok
[INFO] [stdout] test tests::clear_comment::_6 ... ok
[INFO] [stdout] test tests::clear_comment::_8 ... ok
[INFO] [stdout] test tests::clear_comment::_9 ... ok
[INFO] [stdout] test tests::clear_comment::c ... ok
[INFO] [stdout] test tests::clear_comment::_7 ... ok
[INFO] [stdout] test tests::clear_comment::a ... ok
[INFO] [stdout] test tests::clear_comment::d ... ok
[INFO] [stdout] test tests::clear_comment::e ... ok
[INFO] [stdout] test tests::clear_comment::_5 ... ok
[INFO] [stdout] test tests::split_args::_1 ... ok
[INFO] [stdout] test tests::clear_comment::b ... ok
[INFO] [stdout] test tests::split_args::_3 ... ok
[INFO] [stdout] test tests::split_args::_4 ... ok
[INFO] [stdout] test tests::split_args::_5 ... ok
[INFO] [stdout] test tests::split_args::_6 ... ok
[INFO] [stdout] test tests::split_args::_7 ... ok
[INFO] [stdout] test tests::split_col::_1 ... ok
[INFO] [stdout] test tests::split_args::_8 ... ok
[INFO] [stdout] test tests::split_col::_2 ... ok
[INFO] [stdout] test tests::split_col::_4 ... ok
[INFO] [stdout] test tests::split_col::_3 ... ok
[INFO] [stdout] test tests::split_col::_5 ... ok
[INFO] [stdout] test tests::split_col::_6 ... ok
[INFO] [stdout] test tests::split_col::_8 ... ok
[INFO] [stdout] test tests::split_col::_7 ... ok
[INFO] [stdout] test tests::split_col::_9 ... ok
[INFO] [stdout] test tests::split_args::_2 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[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/field.rs - field::Field::UStr (line 16) ... FAILED
[INFO] [stdout] test src/field.rs - field::Field::IStr (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 68) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::find (line 50) ... 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/lib.rs - (line 77) ... FAILED
[INFO] [stdout] test src/options.rs - options::Options (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... ok
[INFO] [stdout] test src/lib.rs - (line 64) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::load (line 15) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 60) ... 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] 1 | [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] 1 | 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/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] 2 | 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] 3 | "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/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] 2 | 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] 3 | "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 43) stdout ----
[INFO] [stdout] error: expected item, found `include`
[INFO] [stdout]  --> src/lib.rs:44:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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/lib.rs - (line 68) stdout ----
[INFO] [stdout] error: expected item, found `(`
[INFO] [stdout]  --> src/lib.rs:69:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | (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/document.rs - document::Document::find (line 50) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/document.rs:56:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | let found = doc.find(filter)
[INFO] [stdout]   |                             ^ help: add `;` here
[INFO] [stdout] 9 | } _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] 3 | 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] 2 + use std::iter::Filter;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]   |            ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]   |                                         ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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] 8 - let found = doc.find(filter)
[INFO] [stdout] 8 + 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 130) stdout ----
[INFO] [stdout] error: cannot find macro `filter` in this scope
[INFO] [stdout]  --> src/lib.rs:131:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | doc.filter(filter![*, "127.0.0.1", *])
[INFO] [stdout]   |            ^^^^^^ help: a macro with a similar name exists: `file`
[INFO] [stdout]  --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/macros/mod.rs:1260:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `file` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `doc`
[INFO] [stdout]  --> src/lib.rs:131:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 8 | let found = doc.find_one(filter)
[INFO] [stdout]   |                                 ^ help: add `;` here
[INFO] [stdout] 9 | } _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] 3 | 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] 2 + use std::iter::Filter;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]   |            ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     &[Some(Field::UStr("field1")), Some(Field::U16(123)), None, None]
[INFO] [stdout]   |                                         ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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] 8 - let found = doc.find_one(filter)
[INFO] [stdout] 8 + 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/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] 3 | 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] 3 - let doc = Options::default()
[INFO] [stdout] 3 + let doc = Option::default()
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 | 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] 3 - let doc = Options::default()
[INFO] [stdout] 3 + let doc = Option::default()
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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] 3 | 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] 3 - let found = doc.find(filter);
[INFO] [stdout] 3 + 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] 3 | 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/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] 3 | 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] 2 + 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 56) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/lib.rs:57:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | let doc = Document::read("whitelist")
[INFO] [stdout]   |                                      ^ help: add `;` here
[INFO] [stdout] 4 | } _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] 3 | 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] 2 + 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/lib.rs - (line 60) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/lib.rs:61:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | let filter = Filter::new("whitelist", &[None, Some("127.0.0.1"), None])
[INFO] [stdout]   |                                                                        ^ help: add `;` here
[INFO] [stdout] 4 | } _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] 3 | 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] 2 + use std::iter::Filter;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 
[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.51s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b3b4441e4316d8e94f778a7d1697a367770b8b77a089777f3a15262ab8789f51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3b4441e4316d8e94f778a7d1697a367770b8b77a089777f3a15262ab8789f51", kill_on_drop: false }`
[INFO] [stdout] b3b4441e4316d8e94f778a7d1697a367770b8b77a089777f3a15262ab8789f51
