[INFO] crate brs 0.1.0 is already in cache
[INFO] extracting crate brs 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/brs/0.1.0
[INFO] extracting crate brs 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/brs/0.1.0
[INFO] validating manifest of brs-0.1.0 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of brs-0.1.0 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing brs-0.1.0
[INFO] finished frobbing brs-0.1.0
[INFO] frobbed toml for brs-0.1.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/brs/0.1.0/Cargo.toml
[INFO] started frobbing brs-0.1.0
[INFO] finished frobbing brs-0.1.0
[INFO] frobbed toml for brs-0.1.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/brs/0.1.0/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing brs-0.1.0 against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/brs/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] d6917c224a910705bd0c194a09b7877b9de331b2050fd0561b7f1b6f01a07631
[INFO] running `"docker" "start" "-a" "d6917c224a910705bd0c194a09b7877b9de331b2050fd0561b7f1b6f01a07631"`
[INFO] [stderr]    Compiling num_enum v0.2.3
[INFO] [stderr]    Compiling brs v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.14s
[INFO] running `"docker" "inspect" "d6917c224a910705bd0c194a09b7877b9de331b2050fd0561b7f1b6f01a07631"`
[INFO] running `"docker" "rm" "-f" "d6917c224a910705bd0c194a09b7877b9de331b2050fd0561b7f1b6f01a07631"`
[INFO] [stdout] d6917c224a910705bd0c194a09b7877b9de331b2050fd0561b7f1b6f01a07631
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/brs/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen" "--no-run"`
[INFO] [stdout] 2c7e9f11ca0737a487fa3a162445a141fd8b9ede448fa2b6c8d882be5a5b975e
[INFO] running `"docker" "start" "-a" "2c7e9f11ca0737a487fa3a162445a141fd8b9ede448fa2b6c8d882be5a5b975e"`
[INFO] [stderr]    Compiling brs v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `"docker" "inspect" "2c7e9f11ca0737a487fa3a162445a141fd8b9ede448fa2b6c8d882be5a5b975e"`
[INFO] running `"docker" "rm" "-f" "2c7e9f11ca0737a487fa3a162445a141fd8b9ede448fa2b6c8d882be5a5b975e"`
[INFO] [stdout] 2c7e9f11ca0737a487fa3a162445a141fd8b9ede448fa2b6c8d882be5a5b975e
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/brs/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen"`
[INFO] [stdout] 9122d031d194a42b40afaa3a43bc84736267399382a45b05b272f828db80f49b
[INFO] running `"docker" "start" "-a" "9122d031d194a42b40afaa3a43bc84736267399382a45b05b272f828db80f49b"`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/brs-c0d36092de1e7326
[INFO] [stderr]      Running /opt/crater/target/debug/deps/debug-5af0fec8c2c9bbb3
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running /opt/crater/target/debug/deps/rewrite-233c68d389205bd8
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests brs
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/read.rs - read::Reader<R>::new (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 14) ... FAILED
[INFO] [stdout] test src/read.rs - read::Reader<R>::read_header1 (line 52) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 52) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 61) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 40) ... FAILED
[INFO] [stdout] test src/read.rs - read::ReaderAfterHeader1<R>::read_header2 (line 74) ... FAILED
[INFO] [stdout] test src/read.rs - read::ReaderAfterHeader2<R>::into_write_data (line 147) ... FAILED
[INFO] [stdout] test src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks (line 100) ... FAILED
[INFO] [stdout] test src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks_and_reader (line 120) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/read.rs - read::Reader<R>::new (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Reader`
[INFO] [stdout]  --> src/read.rs:26:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type or module `Reader`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stdout]  --> src/read.rs:26:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |                          ^^^^ use of undeclared type or module `File`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:26:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:26:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 72) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stdout]  --> src/lib.rs:78:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   |                      ^^^^ use of undeclared type or module `File`
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `author`, `brick_assets`, `brick_owners` and 5 other fields in initializer of `brs::WriteData`
[INFO] [stdout]  --> src/lib.rs:73:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let data = brs::WriteData {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ missing `author`, `brick_assets`, `brick_owners` and 5 other fields
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:78:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:78:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 14) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stdout]  --> src/lib.rs:15:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = brs::Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |                               ^^^^ use of undeclared type or module `File`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:15:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = brs::Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:15:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let reader = brs::Reader::new(File::open("village.brs")?)?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::Reader<R>::read_header1 (line 52) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/read.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let reader = reader.read_header1()?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let reader = reader.read_header1()?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 52) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/lib.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | for brick in reader.iter_bricks()? {
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | for brick in reader.iter_bricks()? {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:54:17
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let brick = brick?;
[INFO] [stdout]   |                 ^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 61) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/lib.rs:62:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rdr, bricks) = reader.iter_bricks_and_reader()?;
[INFO] [stdout]   |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:62:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rdr, bricks) = reader.iter_bricks_and_reader()?;
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 29) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/lib.rs:31:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let reader = reader.read_header1();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/lib.rs -  (line 40) stdout ----
[INFO] [stdout] error: incorrect close delimiter: `}`
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() {
[INFO] [stdout]    |           - close delimiter possibly meant for this
[INFO] [stdout] ...
[INFO] [stdout] 9  | println!("Description: {}", reader.description();
[INFO] [stdout]    |         - un-closed delimiter
[INFO] [stdout] 10 | }
[INFO] [stdout]    | ^ incorrect close delimiter
[INFO] [stdout] 
[INFO] [stdout] error: expected token: `,`
[INFO] [stdout]  --> src/lib.rs:46:49
[INFO] [stdout]   |
[INFO] [stdout] 9 | println!("Description: {}", reader.description();
[INFO] [stdout]   |                                                 ^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/lib.rs:42:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let reader = reader.read_header2();
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::ReaderAfterHeader1<R>::read_header2 (line 74) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/read.rs:75:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let reader = reader.read_header2()?;
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:75:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let reader = reader.read_header2()?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::ReaderAfterHeader2<R>::into_write_data (line 147) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stdout]  --> src/read.rs:149:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   |                      ^^^^ use of undeclared type or module `File`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/read.rs:148:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let data = reader.into_write_data()?;
[INFO] [stdout]   |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:148:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let data = reader.into_write_data()?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:149:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:149:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | brs::write_save(&mut File::create("park.brs")?, &data)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks (line 100) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/read.rs:101:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | for brick in reader.iter_bricks()? {
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:101:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | for brick in reader.iter_bricks()? {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:102:17
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let brick = brick?;
[INFO] [stdout]   |                 ^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks_and_reader (line 120) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]  --> src/read.rs:121:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rdr, bricks) = reader.iter_bricks_and_reader()?;
[INFO] [stdout]   |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:121:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (rdr, bricks) = reader.iter_bricks_and_reader()?;
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/read.rs:124:17
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let brick = brick?;
[INFO] [stdout]   |                 ^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs -  (line 14)
[INFO] [stdout]     src/lib.rs -  (line 29)
[INFO] [stdout]     src/lib.rs -  (line 40)
[INFO] [stdout]     src/lib.rs -  (line 52)
[INFO] [stdout]     src/lib.rs -  (line 61)
[INFO] [stdout]     src/lib.rs -  (line 72)
[INFO] [stdout]     src/read.rs - read::Reader<R>::new (line 25)
[INFO] [stdout]     src/read.rs - read::Reader<R>::read_header1 (line 52)
[INFO] [stdout]     src/read.rs - read::ReaderAfterHeader1<R>::read_header2 (line 74)
[INFO] [stdout]     src/read.rs - read::ReaderAfterHeader2<R>::into_write_data (line 147)
[INFO] [stdout]     src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks (line 100)
[INFO] [stdout]     src/read.rs - read::ReaderAfterHeader2<R>::iter_bricks_and_reader (line 120)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "9122d031d194a42b40afaa3a43bc84736267399382a45b05b272f828db80f49b"`
[INFO] running `"docker" "rm" "-f" "9122d031d194a42b40afaa3a43bc84736267399382a45b05b272f828db80f49b"`
[INFO] [stdout] 9122d031d194a42b40afaa3a43bc84736267399382a45b05b272f828db80f49b
