[INFO] cloning repository https://github.com/kdwk/documents
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kdwk/documents" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fdocuments", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fdocuments'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71443ae37fedef66e5995a0af189fb332515e071
[INFO] testing kdwk/documents against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdwk%2Fdocuments" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kdwk/documents
[INFO] finished tweaking git repo https://github.com/kdwk/documents
[INFO] tweaked toml for git repo https://github.com/kdwk/documents written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kdwk/documents on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kdwk/documents 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 642a7ea196565a28e65735a8468645b3fc5b2d9ef3813adbb2076a07a2341f56
[INFO] running `Command { std: "docker" "start" "-a" "642a7ea196565a28e65735a8468645b3fc5b2d9ef3813adbb2076a07a2341f56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "642a7ea196565a28e65735a8468645b3fc5b2d9ef3813adbb2076a07a2341f56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "642a7ea196565a28e65735a8468645b3fc5b2d9ef3813adbb2076a07a2341f56", kill_on_drop: false }`
[INFO] [stdout] 642a7ea196565a28e65735a8468645b3fc5b2d9ef3813adbb2076a07a2341f56
[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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0a12ad301c78d04a5b4a48a4ea88bddacc9583e577385bfd49c18e70904ba73b
[INFO] running `Command { std: "docker" "start" "-a" "0a12ad301c78d04a5b4a48a4ea88bddacc9583e577385bfd49c18e70904ba73b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.157
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling is-docker v0.2.0
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling is-wsl v0.4.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling open v5.3.0
[INFO] [stderr]    Compiling directories v5.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling extend v1.2.0
[INFO] [stderr]    Compiling documents v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.43s
[INFO] running `Command { std: "docker" "inspect" "0a12ad301c78d04a5b4a48a4ea88bddacc9583e577385bfd49c18e70904ba73b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a12ad301c78d04a5b4a48a4ea88bddacc9583e577385bfd49c18e70904ba73b", kill_on_drop: false }`
[INFO] [stdout] 0a12ad301c78d04a5b4a48a4ea88bddacc9583e577385bfd49c18e70904ba73b
[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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3ad4065eac31354eb8aa6d679c8786fae62d544d68bd05c4b39d70f929e31f86
[INFO] running `Command { std: "docker" "start" "-a" "3ad4065eac31354eb8aa6d679c8786fae62d544d68bd05c4b39d70f929e31f86", kill_on_drop: false }`
[INFO] [stderr]    Compiling documents v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "3ad4065eac31354eb8aa6d679c8786fae62d544d68bd05c4b39d70f929e31f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ad4065eac31354eb8aa6d679c8786fae62d544d68bd05c4b39d70f929e31f86", kill_on_drop: false }`
[INFO] [stdout] 3ad4065eac31354eb8aa6d679c8786fae62d544d68bd05c4b39d70f929e31f86
[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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 122ee0dd20f21aae6a91538e986642245d78a5412dff1e8e3da28d4b574289bd
[INFO] running `Command { std: "docker" "start" "-a" "122ee0dd20f21aae6a91538e986642245d78a5412dff1e8e3da28d4b574289bd", 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/build/documents/281db603dc9e6403/deps/documents-281db603dc9e6403)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test::test2 ... ok
[INFO] [stdout] test test::test1 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests documents
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/into_result.rs - into_result::()::into_result (line 36) ... FAILED
[INFO] [stdout] test src/into_result.rs - into_result::Result<T,Box<dynError>>::into_result (line 68) ... FAILED
[INFO] [stdout] test src/filesystem_entity.rs - filesystem_entity::FileSystemEntity (line 8) ... FAILED
[INFO] [stdout] test src/folder.rs - folder::User (line 132) ... ok
[INFO] [stdout] test src/mode.rs - mode::Mode::appendable (line 53) ... FAILED
[INFO] [stdout] test src/lib.rs - prelude (line 91) ... ok
[INFO] [stdout] test src/into_result.rs - into_result::IntoResult (line 8) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::content (line 294) ... FAILED
[INFO] [stdout] test src/into_result.rs - into_result::Option<T>::into_result (line 49) ... FAILED
[INFO] [stdout] test src/document.rs - document::Document::lines (line 279) ... FAILED
[INFO] [stdout] test src/mode.rs - mode::Mode::readable (line 27) ... FAILED
[INFO] [stdout] test src/mode.rs - mode::Mode::writable (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - with (line 38) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/into_result.rs - into_result::()::into_result (line 36) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/into_result.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                ^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]   --> src/into_result.rs:37:44
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]    |
[INFO] [stdout] 36 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 36 + use serde::de::Error;
[INFO] [stdout]    |
[INFO] [stdout] 36 + use serde::ser::Error;
[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 E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/into_result.rs - into_result::Result<T,Box<dynError>>::into_result (line 68) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/into_result.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                ^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]   --> src/into_result.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]    |
[INFO] [stdout] 68 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 68 + use serde::de::Error;
[INFO] [stdout]    |
[INFO] [stdout] 68 + use serde::ser::Error;
[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 E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/filesystem_entity.rs - filesystem_entity::FileSystemEntity (line 8) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `FileSystemEntity` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let a: &[&dyn FileSystemEntity] = &[
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::FileSystemEntity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/filesystem_entity.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |         &Document::at(User(Pictures([])), "pic", Create::No),
[INFO] [stdout]    |          ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `User` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |         &Document::at(User(Pictures([])), "pic", Create::No),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::Folder::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pictures` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |         &Document::at(User(Pictures([])), "pic", Create::No),
[INFO] [stdout]    |                            ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::prelude::Pictures;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Create`
[INFO] [stdout]   --> src/filesystem_entity.rs:11:50
[INFO] [stdout]    |
[INFO] [stdout] 11 |         &Document::at(User(Pictures([])), "pic", Create::No),
[INFO] [stdout]    |                                                  ^^^^^^ use of undeclared type `Create`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::Create;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `User` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |         &User(Pictures([])),
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::Folder::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pictures` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |         &User(Pictures([])),
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::prelude::Pictures;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Project` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |         &Project(Data([]).with_id("qualifier", "organization", "application")),
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::Folder::Project;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Data` in this scope
[INFO] [stdout]   --> src/filesystem_entity.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |         &Project(Data([]).with_id("qualifier", "organization", "application")),
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::prelude::Data;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]   --> src/filesystem_entity.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |         &PathBuf::new(),
[INFO] [stdout]    |          ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mode.rs - mode::Mode::appendable (line 53) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/mode.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_53_0() {
[INFO] [stdout]    |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 54 | match self {
[INFO] [stdout]    |       ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/mode.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | / match self {
[INFO] [stdout] 55 | |     Self::Append | Self::ReadAppend => true,
[INFO] [stdout] 56 | |     _ => false,
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^ expected `()`, found `bool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 57 | };
[INFO] [stdout]    |  +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_53_0() -> bool {
[INFO] [stdout]    |                                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Self::Append | Self::ReadAppend => true,
[INFO] [stdout]    |     ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Self::Append | Self::ReadAppend => true,
[INFO] [stdout]    |                    ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/into_result.rs - into_result::IntoResult (line 8) stdout ----
[INFO] [stdout] error: expected identifier, found `(`
[INFO] [stdout]   --> src/into_result.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     use(value);
[INFO] [stdout]    |        ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `(`
[INFO] [stdout]   --> src/into_result.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use(value);
[INFO] [stdout]    |        ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResult` in this scope
[INFO] [stdout]  --> src/into_result.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn may_fail_on_paper() -> impl IntoResult {
[INFO] [stdout]   |                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 8 + use documents::IntoResult;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResult` in this scope
[INFO] [stdout]   --> src/into_result.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn may_fail_for_real() -> impl IntoResult {
[INFO] [stdout]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::IntoResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]   --> src/into_result.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let value: T = get_value_or_fail()?;
[INFO] [stdout]    |                ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn may_fail_for_real<T>() -> impl IntoResult {
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResult` in this scope
[INFO] [stdout]   --> src/into_result.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn may_be_none() -> impl IntoResult {
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  8 + use documents::IntoResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]   --> src/into_result.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let value: T = get_value_or_none()?;
[INFO] [stdout]    |                ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn may_be_none<T>() -> impl IntoResult {
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `doesnt_actually_fail` in this scope
[INFO] [stdout]   --> src/into_result.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     doesnt_actually_fail();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_value_or_fail` in this scope
[INFO] [stdout]   --> src/into_result.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let value: T = get_value_or_fail()?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_value_or_none` in this scope
[INFO] [stdout]   --> src/into_result.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let value: T = get_value_or_none()?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::content (line 294) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `document` in this scope
[INFO] [stdout]    --> src/document.rs:295:20
[INFO] [stdout]     |
[INFO] [stdout] 295 | let file_content = document.content().expect("Could not read content");
[INFO] [stdout]     |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/into_result.rs - into_result::Option<T>::into_result (line 49) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/into_result.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                ^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]   --> src/into_result.rs:50:44
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn into_result(self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]    |
[INFO] [stdout] 49 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 49 + use serde::de::Error;
[INFO] [stdout]    |
[INFO] [stdout] 49 + use serde::ser::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoneError` in this scope
[INFO] [stdout]   --> src/into_result.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |         None => Err(Box::new(NoneError)),
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/document.rs - document::Document::lines (line 279) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `document` in this scope
[INFO] [stdout]    --> src/document.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 | for line in document.lines().expect("Could not read lines")  {
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mode.rs - mode::Mode::readable (line 27) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/mode.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_27_0() {
[INFO] [stdout]    |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 28 | match self {
[INFO] [stdout]    |       ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/mode.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / match self {
[INFO] [stdout] 29 | |     Self::Read | Self::ReadReplace | Self::ReadAppend => true,
[INFO] [stdout] 30 | |     _ => false,
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^ expected `()`, found `bool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 31 | };
[INFO] [stdout]    |  +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_27_0() -> bool {
[INFO] [stdout]    |                                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Self::Read | Self::ReadReplace | Self::ReadAppend => true,
[INFO] [stdout]    |     ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Self::Read | Self::ReadReplace | Self::ReadAppend => true,
[INFO] [stdout]    |                  ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Self::Read | Self::ReadReplace | Self::ReadAppend => true,
[INFO] [stdout]    |                                      ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mode.rs - mode::Mode::writable (line 40) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/mode.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_40_0() {
[INFO] [stdout]    |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 41 | match self {
[INFO] [stdout]    |       ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/mode.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / match self {
[INFO] [stdout] 42 | |     Self::Replace | Self::Append | Self::ReadAppend | Self::ReadReplace => true,
[INFO] [stdout] 43 | |     _ => false,
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^ expected `()`, found `bool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 44 | };
[INFO] [stdout]    |  +
[INFO] [stdout] help: try adding a return type
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mode_rs_40_0() -> bool {
[INFO] [stdout]    |                                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Self::Replace | Self::Append | Self::ReadAppend | Self::ReadReplace => true,
[INFO] [stdout]    |     ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Self::Replace | Self::Append | Self::ReadAppend | Self::ReadReplace => true,
[INFO] [stdout]    |                     ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Self::Replace | Self::Append | Self::ReadAppend | Self::ReadReplace => true,
[INFO] [stdout]    |                                    ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]   --> src/mode.rs:42:55
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Self::Replace | Self::Append | Self::ReadAppend | Self::ReadReplace => true,
[INFO] [stdout]    |                                                       ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - with (line 38) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `with` in this scope
[INFO] [stdout]   --> src/lib.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | with(
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::with;
[INFO] [stdout]    |
[INFO] [stdout] 38 + use open::with;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/lib.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Document::at(User(Pictures([])), "1.png", Create::No),
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `User` in this scope
[INFO] [stdout]   --> src/lib.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Document::at(User(Pictures([])), "1.png", Create::No),
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Folder::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pictures` in this scope
[INFO] [stdout]   --> src/lib.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Document::at(User(Pictures([])), "1.png", Create::No),
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::prelude::Pictures;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Create`
[INFO] [stdout]   --> src/lib.rs:41:51
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Document::at(User(Pictures([])), "1.png", Create::No),
[INFO] [stdout]    |                                                   ^^^^^^ use of undeclared type `Create`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Create;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Document::at(
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `User` in this scope
[INFO] [stdout]   --> src/lib.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             User(Pictures(["Movie Trailer"])),
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Folder::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pictures` in this scope
[INFO] [stdout]   --> src/lib.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |             User(Pictures(["Movie Trailer"])),
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::prelude::Pictures;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Create`
[INFO] [stdout]   --> src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Create::OnlyIfNotExists,
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `Create`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Create;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document`
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Document::at(User(Downloads([])), "file.txt", Create::AutoRenameIfExists),
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Document`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Document;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `User` in this scope
[INFO] [stdout]   --> src/lib.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Document::at(User(Downloads([])), "file.txt", Create::AutoRenameIfExists),
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Folder::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Downloads` in this scope
[INFO] [stdout]   --> src/lib.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Document::at(User(Downloads([])), "file.txt", Create::AutoRenameIfExists),
[INFO] [stdout]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::prelude::Downloads;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Create`
[INFO] [stdout]   --> src/lib.rs:48:55
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Document::at(User(Downloads([])), "file.txt", Create::AutoRenameIfExists),
[INFO] [stdout]    |                                                       ^^^^^^ use of undeclared type `Create`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 38 + use documents::Create;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/document.rs - document::Document::content (line 294)
[INFO] [stdout]     src/document.rs - document::Document::lines (line 279)
[INFO] [stdout]     src/filesystem_entity.rs - filesystem_entity::FileSystemEntity (line 8)
[INFO] [stdout]     src/into_result.rs - into_result::()::into_result (line 36)
[INFO] [stdout]     src/into_result.rs - into_result::IntoResult (line 8)
[INFO] [stdout]     src/into_result.rs - into_result::Option<T>::into_result (line 49)
[INFO] [stdout]     src/into_result.rs - into_result::Result<T,Box<dynError>>::into_result (line 68)
[INFO] [stdout]     src/lib.rs - with (line 38)
[INFO] [stdout]     src/mode.rs - mode::Mode::appendable (line 53)
[INFO] [stdout]     src/mode.rs - mode::Mode::readable (line 27)
[INFO] [stdout]     src/mode.rs - mode::Mode::writable (line 40)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "122ee0dd20f21aae6a91538e986642245d78a5412dff1e8e3da28d4b574289bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "122ee0dd20f21aae6a91538e986642245d78a5412dff1e8e3da28d4b574289bd", kill_on_drop: false }`
[INFO] [stdout] 122ee0dd20f21aae6a91538e986642245d78a5412dff1e8e3da28d4b574289bd
