[INFO] fetching crate sega_film 0.1.0... [INFO] testing sega_film-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sega_film 0.1.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sega_film 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a63296e23df8d42c4815f631faf8b7c17424a20fe7f7a05a0d2cda6534f85af1 [INFO] running `Command { std: "docker" "start" "-a" "a63296e23df8d42c4815f631faf8b7c17424a20fe7f7a05a0d2cda6534f85af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a63296e23df8d42c4815f631faf8b7c17424a20fe7f7a05a0d2cda6534f85af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a63296e23df8d42c4815f631faf8b7c17424a20fe7f7a05a0d2cda6534f85af1", kill_on_drop: false }` [INFO] [stdout] a63296e23df8d42c4815f631faf8b7c17424a20fe7f7a05a0d2cda6534f85af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1e2c1ca07e128e4445d60e3eeeed934b74f2fe69e5bcb7fd9011f856be80118 [INFO] running `Command { std: "docker" "start" "-a" "c1e2c1ca07e128e4445d60e3eeeed934b74f2fe69e5bcb7fd9011f856be80118", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "c1e2c1ca07e128e4445d60e3eeeed934b74f2fe69e5bcb7fd9011f856be80118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e2c1ca07e128e4445d60e3eeeed934b74f2fe69e5bcb7fd9011f856be80118", kill_on_drop: false }` [INFO] [stdout] c1e2c1ca07e128e4445d60e3eeeed934b74f2fe69e5bcb7fd9011f856be80118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e199b765af8c71e4b25ec6197ee642e2c38bffba6a95473fd5d4cda96ee4dd6 [INFO] running `Command { std: "docker" "start" "-a" "0e199b765af8c71e4b25ec6197ee642e2c38bffba6a95473fd5d4cda96ee4dd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "0e199b765af8c71e4b25ec6197ee642e2c38bffba6a95473fd5d4cda96ee4dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e199b765af8c71e4b25ec6197ee642e2c38bffba6a95473fd5d4cda96ee4dd6", kill_on_drop: false }` [INFO] [stdout] 0e199b765af8c71e4b25ec6197ee642e2c38bffba6a95473fd5d4cda96ee4dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] daefb071f0a1334730cc4127f25d17c3ea68dc5c0b9e4e7dd93f2c3c252eb6b0 [INFO] running `Command { std: "docker" "start" "-a" "daefb071f0a1334730cc4127f25d17c3ea68dc5c0b9e4e7dd93f2c3c252eb6b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sega_film-b9e489647a093fa8) [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] [stderr] Doc-tests sega_film [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/container/mod.rs - container::FILMHeader (line 37) ... FAILED [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 `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 `File` [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[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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "daefb071f0a1334730cc4127f25d17c3ea68dc5c0b9e4e7dd93f2c3c252eb6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daefb071f0a1334730cc4127f25d17c3ea68dc5c0b9e4e7dd93f2c3c252eb6b0", kill_on_drop: false }` [INFO] [stdout] daefb071f0a1334730cc4127f25d17c3ea68dc5c0b9e4e7dd93f2c3c252eb6b0