[INFO] crate sega_film 0.1.0 is already in cache [INFO] testing sega_film-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate sega_film 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sega_film 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sega_film 0.1.0 [INFO] finished tweaking crates.io crate sega_film 0.1.0 [INFO] tweaked toml for crates.io crate sega_film 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e35191fdf3434eac9ef682fa81f569260137871b1a76cfe64318435ac6e842ed [INFO] running `"docker" "start" "-a" "e35191fdf3434eac9ef682fa81f569260137871b1a76cfe64318435ac6e842ed"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling sega_film v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `"docker" "inspect" "e35191fdf3434eac9ef682fa81f569260137871b1a76cfe64318435ac6e842ed"` [INFO] running `"docker" "rm" "-f" "e35191fdf3434eac9ef682fa81f569260137871b1a76cfe64318435ac6e842ed"` [INFO] [stdout] e35191fdf3434eac9ef682fa81f569260137871b1a76cfe64318435ac6e842ed [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4467292741b913eded128844a0677add7ec355575b6587c0133cb730ba6bee7 [INFO] running `"docker" "start" "-a" "d4467292741b913eded128844a0677add7ec355575b6587c0133cb730ba6bee7"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling sega_film v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `"docker" "inspect" "d4467292741b913eded128844a0677add7ec355575b6587c0133cb730ba6bee7"` [INFO] running `"docker" "rm" "-f" "d4467292741b913eded128844a0677add7ec355575b6587c0133cb730ba6bee7"` [INFO] [stdout] d4467292741b913eded128844a0677add7ec355575b6587c0133cb730ba6bee7 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a1a18c8bd274aa5c38277967588999c3132f26f80b2231bc3d4c800593caeee [INFO] running `"docker" "start" "-a" "4a1a18c8bd274aa5c38277967588999c3132f26f80b2231bc3d4c800593caeee"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sega_film-b0432fe0cf4118c1 [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] | [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] 2 | / fn main() { [INFO] [stdout] 3 | | let file = File::open("myfile.cpk")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | let mut buf = vec![]; [INFO] [stdout] 5 | | // Start with only 8 bytes, so we don't waste memory [INFO] [stdout] ... | [INFO] [stdout] 19 | | let header = FILMHeader::parse(&buf)?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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] 2 | / fn main() { [INFO] [stdout] 3 | | let file = File::open("myfile.cpk")?; [INFO] [stdout] 4 | | let mut buf = vec![]; [INFO] [stdout] 5 | | // Start with only 8 bytes, so we don't waste memory [INFO] [stdout] 6 | | file.take(8).read(&mut buf)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 19 | | let header = FILMHeader::parse(&buf)?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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] 2 | / fn main() { [INFO] [stdout] 3 | | let file = File::open("myfile.cpk")?; [INFO] [stdout] 4 | | let mut buf = vec![]; [INFO] [stdout] 5 | | // Start with only 8 bytes, so we don't waste memory [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] 19 | | let header = FILMHeader::parse(&buf)?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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] 2 | / fn main() { [INFO] [stdout] 3 | | let file = File::open("myfile.cpk")?; [INFO] [stdout] 4 | | let mut buf = vec![]; [INFO] [stdout] 5 | | // Start with only 8 bytes, so we don't waste memory [INFO] [stdout] ... | [INFO] [stdout] 19 | | let header = FILMHeader::parse(&buf)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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" "4a1a18c8bd274aa5c38277967588999c3132f26f80b2231bc3d4c800593caeee"` [INFO] running `"docker" "rm" "-f" "4a1a18c8bd274aa5c38277967588999c3132f26f80b2231bc3d4c800593caeee"` [INFO] [stdout] 4a1a18c8bd274aa5c38277967588999c3132f26f80b2231bc3d4c800593caeee