[INFO] fetching crate sega_film 0.1.0... [INFO] testing sega_film-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sega_film 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sega_film 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e215af1c58e6f651c6de7034b08c360742d13ea6660b052497b200bea50b533b [INFO] running `Command { std: "docker" "start" "-a" "e215af1c58e6f651c6de7034b08c360742d13ea6660b052497b200bea50b533b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e215af1c58e6f651c6de7034b08c360742d13ea6660b052497b200bea50b533b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e215af1c58e6f651c6de7034b08c360742d13ea6660b052497b200bea50b533b", kill_on_drop: false }` [INFO] [stdout] e215af1c58e6f651c6de7034b08c360742d13ea6660b052497b200bea50b533b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc7874603166aee471b1579172da0c50ecd0626d699e18ee8ba2937e038667d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1cc7874603166aee471b1579172da0c50ecd0626d699e18ee8ba2937e038667d", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling sega_film v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "1cc7874603166aee471b1579172da0c50ecd0626d699e18ee8ba2937e038667d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc7874603166aee471b1579172da0c50ecd0626d699e18ee8ba2937e038667d", kill_on_drop: false }` [INFO] [stdout] 1cc7874603166aee471b1579172da0c50ecd0626d699e18ee8ba2937e038667d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac468c98ac58217e1b470603cdd99f9c33d0ef85646e373f5ff6f1e8ff93f472 [INFO] running `Command { std: "docker" "start" "-a" "ac468c98ac58217e1b470603cdd99f9c33d0ef85646e373f5ff6f1e8ff93f472", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling sega_film v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sega_film-a478707218e2ce84) [INFO] running `Command { std: "docker" "inspect" "ac468c98ac58217e1b470603cdd99f9c33d0ef85646e373f5ff6f1e8ff93f472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac468c98ac58217e1b470603cdd99f9c33d0ef85646e373f5ff6f1e8ff93f472", kill_on_drop: false }` [INFO] [stdout] ac468c98ac58217e1b470603cdd99f9c33d0ef85646e373f5ff6f1e8ff93f472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd7fb51b648fe010bb5a400456006fd70e69c58ee0998bde4558d13afd88bb5d [INFO] running `Command { std: "docker" "start" "-a" "fd7fb51b648fe010bb5a400456006fd70e69c58ee0998bde4558d13afd88bb5d", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sega_film-a478707218e2ce84) [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/container/mod.rs - container::FILMHeader (line 37) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/container/mod.rs - container::Sample (line 246) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/container/mod.rs - container::FILMHeader (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `FILMHeader` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `FILMHeader` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `FILMHeader` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/container/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 3 | let file = File::open("myfile.cpk")?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | [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: consider importing this function [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 `FromResidual`) [INFO] [stdout] --> src/container/mod.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_container_mod_rs_37_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_container_mod_rs_37_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/container/mod.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_container_mod_rs_37_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_container_mod_rs_37_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/container/mod.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_container_mod_rs_37_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_container_mod_rs_37_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/container/mod.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_container_mod_rs_37_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_container_mod_rs_37_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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] ---- 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] [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; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd7fb51b648fe010bb5a400456006fd70e69c58ee0998bde4558d13afd88bb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7fb51b648fe010bb5a400456006fd70e69c58ee0998bde4558d13afd88bb5d", kill_on_drop: false }` [INFO] [stdout] fd7fb51b648fe010bb5a400456006fd70e69c58ee0998bde4558d13afd88bb5d