[INFO] crate sega_film 0.1.0 is already in cache [INFO] extracting crate sega_film 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/sega_film/0.1.0 [INFO] extracting crate sega_film 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/sega_film/0.1.0 [INFO] validating manifest of sega_film-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of sega_film-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/reg/sega_film/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing sega_film-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] d114f1498e05aed393c4ff7e0a237749cf2c6dd8556fd2682ae0b42bb97aec99 [INFO] running `"docker" "start" "-a" "d114f1498e05aed393c4ff7e0a237749cf2c6dd8556fd2682ae0b42bb97aec99"` [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.39s [INFO] running `"docker" "inspect" "d114f1498e05aed393c4ff7e0a237749cf2c6dd8556fd2682ae0b42bb97aec99"` [INFO] running `"docker" "rm" "-f" "d114f1498e05aed393c4ff7e0a237749cf2c6dd8556fd2682ae0b42bb97aec99"` [INFO] [stdout] d114f1498e05aed393c4ff7e0a237749cf2c6dd8556fd2682ae0b42bb97aec99 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 8c4674e2299c23e1424c19138dd93a376296b810d50f63ee8fd83e6a211e764a [INFO] running `"docker" "start" "-a" "8c4674e2299c23e1424c19138dd93a376296b810d50f63ee8fd83e6a211e764a"` [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.56s [INFO] running `"docker" "inspect" "8c4674e2299c23e1424c19138dd93a376296b810d50f63ee8fd83e6a211e764a"` [INFO] running `"docker" "rm" "-f" "8c4674e2299c23e1424c19138dd93a376296b810d50f63ee8fd83e6a211e764a"` [INFO] [stdout] 8c4674e2299c23e1424c19138dd93a376296b810d50f63ee8fd83e6a211e764a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] a3bb1f735c9b4811c50fbbb9be7ecd99508d52ac84751184e4c668b29194059c [INFO] running `"docker" "start" "-a" "a3bb1f735c9b4811c50fbbb9be7ecd99508d52ac84751184e4c668b29194059c"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/sega_film-21d317415ff40123 [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 sega_film [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] [stderr] error: test failed, to rerun pass '--doc' [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] running `"docker" "inspect" "a3bb1f735c9b4811c50fbbb9be7ecd99508d52ac84751184e4c668b29194059c"` [INFO] running `"docker" "rm" "-f" "a3bb1f735c9b4811c50fbbb9be7ecd99508d52ac84751184e4c668b29194059c"` [INFO] [stdout] a3bb1f735c9b4811c50fbbb9be7ecd99508d52ac84751184e4c668b29194059c