[INFO] fetching crate kona-preimage 0.3.0... [INFO] testing kona-preimage-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate kona-preimage 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate kona-preimage 0.3.0 [INFO] finished tweaking crates.io crate kona-preimage 0.3.0 [INFO] tweaked toml for crates.io crate kona-preimage 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kona-preimage 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kona-preimage 0.3.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rkyv_derive v0.8.10 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded bytecheck_derive v0.8.1 [INFO] [stderr] Downloaded bytecheck v0.8.1 [INFO] [stderr] Downloaded ruint-macro v1.2.1 [INFO] [stderr] Downloaded const-hex v1.14.0 [INFO] [stderr] Downloaded munge v0.4.3 [INFO] [stderr] Downloaded rancor v0.1.0 [INFO] [stderr] Downloaded rend v0.5.2 [INFO] [stderr] Downloaded rkyv v0.8.10 [INFO] [stderr] Downloaded ruint v1.13.1 [INFO] [stderr] Downloaded alloy-primitives v0.8.24 [INFO] [stderr] Downloaded munge_macro v0.4.3 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e287e68d4b1e048ffad9efb2bd9744caa9695683c53e5cf759a96f932986a33c [INFO] running `Command { std: "docker" "start" "-a" "e287e68d4b1e048ffad9efb2bd9744caa9695683c53e5cf759a96f932986a33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e287e68d4b1e048ffad9efb2bd9744caa9695683c53e5cf759a96f932986a33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e287e68d4b1e048ffad9efb2bd9744caa9695683c53e5cf759a96f932986a33c", kill_on_drop: false }` [INFO] [stdout] e287e68d4b1e048ffad9efb2bd9744caa9695683c53e5cf759a96f932986a33c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc4f50512f8bd91768eb132aa3689aaece0c23e9e4391816cbe5f29affb5458 [INFO] running `Command { std: "docker" "start" "-a" "abc4f50512f8bd91768eb132aa3689aaece0c23e9e4391816cbe5f29affb5458", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ruint v1.13.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-primitives v0.8.24 [INFO] [stderr] Compiling kona-preimage v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.79s [INFO] running `Command { std: "docker" "inspect" "abc4f50512f8bd91768eb132aa3689aaece0c23e9e4391816cbe5f29affb5458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc4f50512f8bd91768eb132aa3689aaece0c23e9e4391816cbe5f29affb5458", kill_on_drop: false }` [INFO] [stdout] abc4f50512f8bd91768eb132aa3689aaece0c23e9e4391816cbe5f29affb5458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be23f7e9d870c75a8d97861f5f0a0d5ce168397857f2c1aca38753bbc3b1e1c [INFO] running `Command { std: "docker" "start" "-a" "7be23f7e9d870c75a8d97861f5f0a0d5ce168397857f2c1aca38753bbc3b1e1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling alloy-primitives v0.8.24 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling kona-preimage v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stdout] error[E0432]: unresolved import `crate::native_channel` [INFO] [stdout] --> src/oracle.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::{PreimageKeyType, native_channel::BidirectionalChannel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `native_channel` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 33 | mod native_channel; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/oracle.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use std::collections::HashMap; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::native_channel` [INFO] [stdout] --> src/hint.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::native_channel::BidirectionalChannel; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `native_channel` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 33 | mod native_channel; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_string` found for struct `key::PreimageKey` in the current scope [INFO] [stdout] --> src/key.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PreimageKey { [INFO] [stdout] | ---------------------- method `to_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 207 | key.to_string(), [INFO] [stdout] | ^^^^^^^^^ method not found in `key::PreimageKey` [INFO] [stdout] | [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/string.rs:2855:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `key::PreimageKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 163 + use crate::alloc::string::ToString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let read_lock = self.preimages.lock().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 155 | read_lock.get(&key).cloned().ok_or(PreimageOracleError::KeyNotFound) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `read_lock` an explicit type [INFO] [stdout] | [INFO] [stdout] 154 | let read_lock: /* Type */ = self.preimages.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | oracle_reader.get_exact(key_a, &mut contents_a).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | oracle_reader.get_exact(key_b, &mut contents_b).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let contents_a = oracle_reader.get(key_a).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | let contents_b = oracle_reader.get(key_b).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | let (c,) = tokio::join!(client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oracle.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | let (c,) = tokio::join!(client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_,)` [INFO] [stdout] --> src/oracle.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let (c,) = tokio::join!(client); [INFO] [stdout] | ^^^^ [INFO] [stdout] 244 | let (contents_a, contents_b) = c.unwrap(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 243 | let (c,): (_,) = tokio::join!(client); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandle<_>` [INFO] [stdout] --> src/hint.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let client = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | c.unwrap().unwrap(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 150 | let client: JoinHandle<_> = tokio::task::spawn(async move { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandle<_>` [INFO] [stdout] --> src/hint.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let host = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | assert!(h.unwrap().is_err_and(|e| { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `host` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 156 | let host: JoinHandle<_> = tokio::task::spawn(async move { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandle<_>` [INFO] [stdout] --> src/hint.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let client = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | c.unwrap().unwrap(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 179 | let client: JoinHandle<_> = tokio::task::spawn(async move { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandle<_>` [INFO] [stdout] --> src/hint.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let host = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | assert!(h.unwrap().is_err_and(|e| matches!(e, PreimageOracleError::KeyNotFound))); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `host` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 184 | let host: JoinHandle<_> = tokio::task::spawn(async move { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hint.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | hint_reader.next_hint(&router).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kona-preimage` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "7be23f7e9d870c75a8d97861f5f0a0d5ce168397857f2c1aca38753bbc3b1e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be23f7e9d870c75a8d97861f5f0a0d5ce168397857f2c1aca38753bbc3b1e1c", kill_on_drop: false }` [INFO] [stdout] 7be23f7e9d870c75a8d97861f5f0a0d5ce168397857f2c1aca38753bbc3b1e1c