[INFO] fetching crate montana-local 0.0.1... [INFO] testing montana-local-0.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate montana-local 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate montana-local 0.0.1 [INFO] finished tweaking crates.io crate montana-local 0.0.1 [INFO] tweaked toml for crates.io crate montana-local 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate montana-local 0.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate montana-local 0.0.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 559a8ebf6123066add743cccc68bf841d180b71c359b29fe04be0d85f91e94c6 [INFO] running `Command { std: "docker" "start" "-a" "559a8ebf6123066add743cccc68bf841d180b71c359b29fe04be0d85f91e94c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "559a8ebf6123066add743cccc68bf841d180b71c359b29fe04be0d85f91e94c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559a8ebf6123066add743cccc68bf841d180b71c359b29fe04be0d85f91e94c6", kill_on_drop: false }` [INFO] [stdout] 559a8ebf6123066add743cccc68bf841d180b71c359b29fe04be0d85f91e94c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b36c0cb1b29a61c143a540450578acd63f540d71961adf63fe5f551e8c3bfb1a [INFO] running `Command { std: "docker" "start" "-a" "b36c0cb1b29a61c143a540450578acd63f540d71961adf63fe5f551e8c3bfb1a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling montana-pipeline v0.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling montana-local v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.90s [INFO] running `Command { std: "docker" "inspect" "b36c0cb1b29a61c143a540450578acd63f540d71961adf63fe5f551e8c3bfb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36c0cb1b29a61c143a540450578acd63f540d71961adf63fe5f551e8c3bfb1a", kill_on_drop: false }` [INFO] [stdout] b36c0cb1b29a61c143a540450578acd63f540d71961adf63fe5f551e8c3bfb1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0087ef8a8394d0157dcff2999cbccd16d5ad15a088cf4c5a4359da32311ffce1 [INFO] running `Command { std: "docker" "start" "-a" "0087ef8a8394d0157dcff2999cbccd16d5ad15a088cf4c5a4359da32311ffce1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling toml_edit v0.23.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling criterion-plot v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling montana-pipeline v0.0.1 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling montana-zlib v0.0.1 [INFO] [stderr] Compiling montana-brotli v0.0.1 [INFO] [stderr] Compiling montana-local v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling criterion v0.8.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling montana-zstd v0.0.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "0087ef8a8394d0157dcff2999cbccd16d5ad15a088cf4c5a4359da32311ffce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0087ef8a8394d0157dcff2999cbccd16d5ad15a088cf4c5a4359da32311ffce1", kill_on_drop: false }` [INFO] [stdout] 0087ef8a8394d0157dcff2999cbccd16d5ad15a088cf4c5a4359da32311ffce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d5b5c09cca1495ca8d5204da19a400f05b2147c7efaf13181f3f5820ff019af [INFO] running `Command { std: "docker" "start" "-a" "3d5b5c09cca1495ca8d5204da19a400f05b2147c7efaf13181f3f5820ff019af", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/montana_local-e962f8c249ed128c) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test compressor::tests::noop_compressor_clone ... ok [INFO] [stdout] test compressor::tests::noop_compressor_compress::case_1 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_compress::case_2 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_compress::case_3 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_debug ... ok [INFO] [stdout] test compressor::tests::noop_compressor_decompress::case_1 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_compress::case_4 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_decompress::case_2 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_decompress::case_3 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_default ... ok [INFO] [stdout] test compressor::tests::noop_compressor_estimated_ratio ... ok [INFO] [stdout] test compressor::tests::noop_compressor_new ... ok [INFO] [stdout] test compressor::tests::noop_compressor_roundtrip::case_1 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_roundtrip::case_2 ... ok [INFO] [stdout] test compressor::tests::noop_compressor_roundtrip::case_3 ... ok [INFO] [stdout] test sink::tests::bytes_to_hex_conversion::case_1 ... ok [INFO] [stdout] test sink::tests::bytes_to_hex_conversion::case_2 ... ok [INFO] [stdout] test sink::tests::bytes_to_hex_conversion::case_3 ... ok [INFO] [stdout] test sink::tests::local_batch_sink_capacity ... ok [INFO] [stdout] test sink::tests::local_batch_sink_health_check ... ok [INFO] [stdout] test sink::tests::local_batch_sink_data_retrieval ... ok [INFO] [stdout] test sink::tests::local_batch_sink_in_memory ... ok [INFO] [stdout] test sink::tests::local_batch_sink_multiple_submissions ... ok [INFO] [stdout] test source::tests::hex_to_bytes_parsing::case_1 ... ok [INFO] [stdout] test sink::tests::local_batch_sink_submit ... ok [INFO] [stdout] test source::tests::hex_to_bytes_parsing::case_2 ... ok [INFO] [stdout] test source::tests::hex_to_bytes_parsing::case_3 ... ok [INFO] [stdout] test source::tests::hex_to_bytes_parsing::case_4 ... ok [INFO] [stdout] test source::tests::local_batch_source_from_json ... ok [INFO] [stdout] test source::tests::local_batch_source_hashes ... ok [INFO] [stdout] test source::tests::local_batch_source_l1_origin ... ok [INFO] [stdout] test source::tests::local_batch_source_pending_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests montana_local [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/../README.md - (line 20) ... FAILED [INFO] [stdout] test src/../README.md - (line 71) ... ok [INFO] [stdout] test src/../README.md - (line 54) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 20) 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/../README.md:25:56 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_20_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | let source = LocalBatchSource::from_file("blocks.json")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 21 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_20_0() -> Result<(), Box> { [INFO] [stdout] 22 | use montana_local::LocalBatchSource; [INFO] [stdout] ... [INFO] [stdout] 29 | let source = LocalBatchSource::from_json(json)?; [INFO] [stdout] 30 + Ok(()) [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/../README.md:29:47 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_20_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 29 | let source = LocalBatchSource::from_json(json)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 21 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_20_0() -> Result<(), Box> { [INFO] [stdout] 22 | use montana_local::LocalBatchSource; [INFO] [stdout] ... [INFO] [stdout] 29 | let source = LocalBatchSource::from_json(json)?; [INFO] [stdout] 30 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3d5b5c09cca1495ca8d5204da19a400f05b2147c7efaf13181f3f5820ff019af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5b5c09cca1495ca8d5204da19a400f05b2147c7efaf13181f3f5820ff019af", kill_on_drop: false }` [INFO] [stdout] 3d5b5c09cca1495ca8d5204da19a400f05b2147c7efaf13181f3f5820ff019af