[INFO] fetching crate rten-model-file 0.22.1... [INFO] testing rten-model-file-0.22.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rten-model-file 0.22.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rten-model-file 0.22.1 [INFO] finished tweaking crates.io crate rten-model-file 0.22.1 [INFO] tweaked toml for crates.io crate rten-model-file 0.22.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-model-file 0.22.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-model-file 0.22.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f59bb372e6201eddd67a4395d46e9c7ff1fcd8b50336f8799e49177fa281dfaf [INFO] running `Command { std: "docker" "start" "-a" "f59bb372e6201eddd67a4395d46e9c7ff1fcd8b50336f8799e49177fa281dfaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f59bb372e6201eddd67a4395d46e9c7ff1fcd8b50336f8799e49177fa281dfaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59bb372e6201eddd67a4395d46e9c7ff1fcd8b50336f8799e49177fa281dfaf", kill_on_drop: false }` [INFO] [stdout] f59bb372e6201eddd67a4395d46e9c7ff1fcd8b50336f8799e49177fa281dfaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7ecba2afc27bd71c8cd38bd15477aa2429a0cf250a4e63cffbda78088ae1777 [INFO] running `Command { std: "docker" "start" "-a" "a7ecba2afc27bd71c8cd38bd15477aa2429a0cf250a4e63cffbda78088ae1777", 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.22.1 [INFO] [stderr] Compiling rten-model-file v0.22.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.27s [INFO] running `Command { std: "docker" "inspect" "a7ecba2afc27bd71c8cd38bd15477aa2429a0cf250a4e63cffbda78088ae1777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ecba2afc27bd71c8cd38bd15477aa2429a0cf250a4e63cffbda78088ae1777", kill_on_drop: false }` [INFO] [stdout] a7ecba2afc27bd71c8cd38bd15477aa2429a0cf250a4e63cffbda78088ae1777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e181cd917d5f05122025584c8c049dbe4f22489d8bbf8496c76ffba4129af17a [INFO] running `Command { std: "docker" "start" "-a" "e181cd917d5f05122025584c8c049dbe4f22489d8bbf8496c76ffba4129af17a", kill_on_drop: false }` [INFO] [stderr] Compiling rten-model-file v0.22.1 (/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" "e181cd917d5f05122025584c8c049dbe4f22489d8bbf8496c76ffba4129af17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e181cd917d5f05122025584c8c049dbe4f22489d8bbf8496c76ffba4129af17a", kill_on_drop: false }` [INFO] [stdout] e181cd917d5f05122025584c8c049dbe4f22489d8bbf8496c76ffba4129af17a