[INFO] fetching crate simplerecords 0.1.1... [INFO] testing simplerecords-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate simplerecords 0.1.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simplerecords 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d292e8d33069fa756603d38df9d58e84fd6819fa69e2a535abdf78c4444c97 [INFO] running `Command { std: "docker" "start" "-a" "85d292e8d33069fa756603d38df9d58e84fd6819fa69e2a535abdf78c4444c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d292e8d33069fa756603d38df9d58e84fd6819fa69e2a535abdf78c4444c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d292e8d33069fa756603d38df9d58e84fd6819fa69e2a535abdf78c4444c97", kill_on_drop: false }` [INFO] [stdout] 85d292e8d33069fa756603d38df9d58e84fd6819fa69e2a535abdf78c4444c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cee9f81c6b1142f1004d75907f3880bb8d57361c254b5ebecf450baf7c75819 [INFO] running `Command { std: "docker" "start" "-a" "8cee9f81c6b1142f1004d75907f3880bb8d57361c254b5ebecf450baf7c75819", 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.91s [INFO] running `Command { std: "docker" "inspect" "8cee9f81c6b1142f1004d75907f3880bb8d57361c254b5ebecf450baf7c75819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cee9f81c6b1142f1004d75907f3880bb8d57361c254b5ebecf450baf7c75819", kill_on_drop: false }` [INFO] [stdout] 8cee9f81c6b1142f1004d75907f3880bb8d57361c254b5ebecf450baf7c75819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dad9386d3ab707a2710c87fb53cf1304a49c458f2e8f8ce25f0920378ceffa3 [INFO] running `Command { std: "docker" "start" "-a" "4dad9386d3ab707a2710c87fb53cf1304a49c458f2e8f8ce25f0920378ceffa3", 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.60s [INFO] running `Command { std: "docker" "inspect" "4dad9386d3ab707a2710c87fb53cf1304a49c458f2e8f8ce25f0920378ceffa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dad9386d3ab707a2710c87fb53cf1304a49c458f2e8f8ce25f0920378ceffa3", kill_on_drop: false }` [INFO] [stdout] 4dad9386d3ab707a2710c87fb53cf1304a49c458f2e8f8ce25f0920378ceffa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45a43f59c36e657b59d87d7577391b17e6db1ac25fff72963c79a6d4b6c022df [INFO] running `Command { std: "docker" "start" "-a" "45a43f59c36e657b59d87d7577391b17e6db1ac25fff72963c79a6d4b6c022df", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [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::_2 ... ok [INFO] [stdout] test tests::clear_comment::_3 ... ok [INFO] [stdout] test tests::clear_comment::_4 ... ok [INFO] [stdout] test tests::clear_comment::_5 ... ok [INFO] [stdout] test tests::clear_comment::_6 ... ok [INFO] [stdout] test tests::clear_comment::_7 ... ok [INFO] [stdout] test tests::clear_comment::_9 ... ok [INFO] [stdout] test tests::clear_comment::_8 ... ok [INFO] [stdout] test tests::clear_comment::a ... 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::_2 ... ok [INFO] [stdout] test tests::clear_comment::c ... 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::_1 ... ok [INFO] [stdout] test tests::split_args::_6 ... ok [INFO] [stdout] test tests::split_args::_7 ... ok [INFO] [stdout] test tests::split_args::_8 ... ok [INFO] [stdout] test tests::split_col::_1 ... ok [INFO] [stdout] test tests::split_col::_2 ... ok [INFO] [stdout] test tests::split_col::_3 ... ok [INFO] [stdout] test tests::split_col::_4 ... 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] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests simplerecords [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::find_one (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 130) ... FAILED [INFO] [stdout] test src/field.rs - field::Field::IStr (line 10) ... 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 64) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::find (line 50) ... FAILED [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::load (line 15) ... 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 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/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 [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 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 [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_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 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] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/macros/mod.rs:1249: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/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/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/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 [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 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::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 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] ---- 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/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 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] [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.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "45a43f59c36e657b59d87d7577391b17e6db1ac25fff72963c79a6d4b6c022df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a43f59c36e657b59d87d7577391b17e6db1ac25fff72963c79a6d4b6c022df", kill_on_drop: false }` [INFO] [stdout] 45a43f59c36e657b59d87d7577391b17e6db1ac25fff72963c79a6d4b6c022df