[INFO] fetching crate rten-model-file 0.23.0... [INFO] testing rten-model-file-0.23.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate rten-model-file 0.23.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rten-model-file 0.23.0 [INFO] finished tweaking crates.io crate rten-model-file 0.23.0 [INFO] tweaked toml for crates.io crate rten-model-file 0.23.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-model-file 0.23.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-model-file 0.23.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.23 [INFO] [stderr] Downloaded flatbuffers v24.3.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d64a1bcdeedc7d20f7097cd050806389ae0f4c14a5b20e437f44f545cd04d096 [INFO] running `Command { std: "docker" "start" "-a" "d64a1bcdeedc7d20f7097cd050806389ae0f4c14a5b20e437f44f545cd04d096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d64a1bcdeedc7d20f7097cd050806389ae0f4c14a5b20e437f44f545cd04d096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64a1bcdeedc7d20f7097cd050806389ae0f4c14a5b20e437f44f545cd04d096", kill_on_drop: false }` [INFO] [stdout] d64a1bcdeedc7d20f7097cd050806389ae0f4c14a5b20e437f44f545cd04d096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 323175651a809f84b46524de49342fe3acfc111fd208f13d800f7ce7a9d4a388 [INFO] running `Command { std: "docker" "start" "-a" "323175651a809f84b46524de49342fe3acfc111fd208f13d800f7ce7a9d4a388", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rten-base v0.23.0 [INFO] [stderr] Compiling rten-model-file v0.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "323175651a809f84b46524de49342fe3acfc111fd208f13d800f7ce7a9d4a388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323175651a809f84b46524de49342fe3acfc111fd208f13d800f7ce7a9d4a388", kill_on_drop: false }` [INFO] [stdout] 323175651a809f84b46524de49342fe3acfc111fd208f13d800f7ce7a9d4a388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cedd0622da764f520cf2a56867e37d468a7a4bdf1b00ce5f6a3c64dc283f4119 [INFO] running `Command { std: "docker" "start" "-a" "cedd0622da764f520cf2a56867e37d468a7a4bdf1b00ce5f6a3c64dc283f4119", kill_on_drop: false }` [INFO] [stderr] Compiling rten-model-file v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/header.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | use rten_testing::TestCases; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[Case; 6]` in the current scope [INFO] [stdout] --> src/header.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | cases.test_each(|Case { buf, expected }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/header.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | let result = Header::from_buf(buf); [INFO] [stdout] | ---------------- ^^^ expected `&[u8]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/header.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_buf(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 249 | let result = Header::from_buf(&buf); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/header.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(result.as_ref(), Err(expected)); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Result<&Header, &HeaderError>`, found `Result<_, HeaderError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<&Header, &HeaderError>` [INFO] [stdout] found enum `Result<_, HeaderError>` [INFO] [stdout] help: try using `.as_ref()` to convert `Result<_, HeaderError>` to `Result<&Header, &HeaderError>` [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(result.as_ref(), Err(expected).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rten-model-file` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "cedd0622da764f520cf2a56867e37d468a7a4bdf1b00ce5f6a3c64dc283f4119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedd0622da764f520cf2a56867e37d468a7a4bdf1b00ce5f6a3c64dc283f4119", kill_on_drop: false }` [INFO] [stdout] cedd0622da764f520cf2a56867e37d468a7a4bdf1b00ce5f6a3c64dc283f4119