[INFO] crate sega_film 0.1.0 is already in cache
[INFO] extracting crate sega_film 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/sega_film/0.1.0
[INFO] extracting crate sega_film 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sega_film/0.1.0
[INFO] validating manifest of sega_film-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 sega_film-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 sega_film-0.1.0
[INFO] finished frobbing sega_film-0.1.0
[INFO] frobbed toml for sega_film-0.1.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/sega_film/0.1.0/Cargo.toml
[INFO] started frobbing sega_film-0.1.0
[INFO] finished frobbing sega_film-0.1.0
[INFO] frobbed toml for sega_film-0.1.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sega_film/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 sega_film-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-0/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/sega_film/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] 2632a1f75b286c17519a5b65022a3d4ae11bc712776fb42083bf53180658e727
[INFO] running `"docker" "start" "-a" "2632a1f75b286c17519a5b65022a3d4ae11bc712776fb42083bf53180658e727"`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr]    Compiling sega_film v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `"docker" "inspect" "2632a1f75b286c17519a5b65022a3d4ae11bc712776fb42083bf53180658e727"`
[INFO] running `"docker" "rm" "-f" "2632a1f75b286c17519a5b65022a3d4ae11bc712776fb42083bf53180658e727"`
[INFO] [stdout] 2632a1f75b286c17519a5b65022a3d4ae11bc712776fb42083bf53180658e727
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/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/sega_film/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] e633c632f61d50dbeaeadad25589697ff6ffa5f9b1c428b5e8c78a0770c60306
[INFO] running `"docker" "start" "-a" "e633c632f61d50dbeaeadad25589697ff6ffa5f9b1c428b5e8c78a0770c60306"`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr]    Compiling sega_film v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `"docker" "inspect" "e633c632f61d50dbeaeadad25589697ff6ffa5f9b1c428b5e8c78a0770c60306"`
[INFO] running `"docker" "rm" "-f" "e633c632f61d50dbeaeadad25589697ff6ffa5f9b1c428b5e8c78a0770c60306"`
[INFO] [stdout] e633c632f61d50dbeaeadad25589697ff6ffa5f9b1c428b5e8c78a0770c60306
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/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/sega_film/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] fbb9ad35065272fffc63ab0e2fbc2bd337c7f8878e7da2d2a9374e4d96d2430c
[INFO] running `"docker" "start" "-a" "fbb9ad35065272fffc63ab0e2fbc2bd337c7f8878e7da2d2a9374e4d96d2430c"`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/sega_film-47938a2be524e0c1
[INFO] [stderr]    Doc-tests sega_film
[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] [stdout] running 2 tests
[INFO] [stdout] test src/container/mod.rs - container::Sample (line 246) ... FAILED
[INFO] [stdout] test src/container/mod.rs - container::FILMHeader (line 37) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/container/mod.rs - container::Sample (line 246) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/container/mod.rs:248:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let sample = header.stab.sample_table[0];
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]  --> src/container/mod.rs:249:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | let absolute_sample_offset = header.length + sample.offset;
[INFO] [stdout]   |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `film_data` in this scope
[INFO] [stdout]  --> src/container/mod.rs:250:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | let sample_data = film_data[absolute_sample_offset..absolute_sample_offset + sample.length];
[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/container/mod.rs - container::FILMHeader (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File`
[INFO] [stdout]  --> src/container/mod.rs:38:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let file = File::open("myfile.cpk")?;
[INFO] [stdout]   |            ^^^^ use of undeclared type or module `File`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FILMHeader`
[INFO] [stdout]  --> src/container/mod.rs:44:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | if !FILMHeader::is_film_file(&buf) {
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared type or module `FILMHeader`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FILMHeader`
[INFO] [stdout]   --> src/container/mod.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | let bytes_to_read = FILMHeader::guess_length(&buf);
[INFO] [stdout]    |                     ^^^^^^^^^^ use of undeclared type or module `FILMHeader`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FILMHeader`
[INFO] [stdout]   --> src/container/mod.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | let header = FILMHeader::parse(&buf)?;
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type or module `FILMHeader`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exit` in this scope
[INFO] [stdout]   --> src/container/mod.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     exit(1);
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] help: possible candidate is found in another module, you can import it into scope
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::process::exit;
[INFO] [stdout]    |
[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/container/mod.rs:38:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let file = File::open("myfile.cpk")?;
[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/container/mod.rs:41:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | file.take(8).read(&mut buf)?;
[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/container/mod.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | file.take(bytes_to_read - 8).read(&mut buf)?;
[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/container/mod.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | let header = FILMHeader::parse(&buf)?;
[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 9 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/container/mod.rs - container::FILMHeader (line 37)
[INFO] [stdout]     src/container/mod.rs - container::Sample (line 246)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "fbb9ad35065272fffc63ab0e2fbc2bd337c7f8878e7da2d2a9374e4d96d2430c"`
[INFO] running `"docker" "rm" "-f" "fbb9ad35065272fffc63ab0e2fbc2bd337c7f8878e7da2d2a9374e4d96d2430c"`
[INFO] [stdout] fbb9ad35065272fffc63ab0e2fbc2bd337c7f8878e7da2d2a9374e4d96d2430c
