[INFO] fetching crate metrics_ipc_collector 0.3.0... [INFO] testing metrics_ipc_collector-0.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate metrics_ipc_collector 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate metrics_ipc_collector 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate metrics_ipc_collector 0.3.0 [INFO] tweaked toml for crates.io crate metrics_ipc_collector 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrics_ipc_collector 0.3.0 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 metrics_ipc_collector 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e4c32f48c807b0eda806b5f689b3ab7f0f9b37f998694e137356956f5daa85f6 [INFO] running `Command { std: "docker" "start" "-a" "e4c32f48c807b0eda806b5f689b3ab7f0f9b37f998694e137356956f5daa85f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c32f48c807b0eda806b5f689b3ab7f0f9b37f998694e137356956f5daa85f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c32f48c807b0eda806b5f689b3ab7f0f9b37f998694e137356956f5daa85f6", kill_on_drop: false }` [INFO] [stdout] e4c32f48c807b0eda806b5f689b3ab7f0f9b37f998694e137356956f5daa85f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5245116a8d54f0dfa5e3c49335fca9c7166d291c04d7d4f0a9bf69c8f6d95c63 [INFO] running `Command { std: "docker" "start" "-a" "5245116a8d54f0dfa5e3c49335fca9c7166d291c04d7d4f0a9bf69c8f6d95c63", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling interprocess v2.2.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling metrics_ipc_collector v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.37s [INFO] running `Command { std: "docker" "inspect" "5245116a8d54f0dfa5e3c49335fca9c7166d291c04d7d4f0a9bf69c8f6d95c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5245116a8d54f0dfa5e3c49335fca9c7166d291c04d7d4f0a9bf69c8f6d95c63", kill_on_drop: false }` [INFO] [stdout] 5245116a8d54f0dfa5e3c49335fca9c7166d291c04d7d4f0a9bf69c8f6d95c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] eecd30a08e23e31cc6781d1f998b95155630314578e69bc772297453cdd2812e [INFO] running `Command { std: "docker" "start" "-a" "eecd30a08e23e31cc6781d1f998b95155630314578e69bc772297453cdd2812e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling metrics_ipc_collector v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.24s [INFO] running `Command { std: "docker" "inspect" "eecd30a08e23e31cc6781d1f998b95155630314578e69bc772297453cdd2812e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecd30a08e23e31cc6781d1f998b95155630314578e69bc772297453cdd2812e", kill_on_drop: false }` [INFO] [stdout] eecd30a08e23e31cc6781d1f998b95155630314578e69bc772297453cdd2812e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 63e1c673555564283d851ab21b5808368b60e9dcd9cd27b6b92af1e3603ceaad [INFO] running `Command { std: "docker" "start" "-a" "63e1c673555564283d851ab21b5808368b60e9dcd9cd27b6b92af1e3603ceaad", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/metrics_ipc_collector-0d9d5ace5dcbac28) [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 metrics_ipc_collector [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/collector.rs - collector::IPCCollector (line 66) ... FAILED [INFO] [stdout] test src/recorder.rs - recorder::IPCRecorderBuilder::build (line 233) ... FAILED [INFO] [stdout] test src/recorder.rs - recorder::IPCRecorder (line 84) ... FAILED [INFO] [stdout] test src/collector.rs - collector::IPCCollector (line 40) ... FAILED [INFO] [stdout] test src/recorder.rs - recorder::IPCRecorderBuilder (line 191) ... FAILED [INFO] [stdout] test src/recorder.rs - recorder::IPCRecorder::new (line 108) ... FAILED [INFO] [stdout] test src/recorder.rs - recorder::IPCRecorderBuilder::socket (line 217) ... ok [INFO] [stdout] test src/collector.rs - collector::IPCCollector::start_collecting (line 116) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/collector.rs - collector::IPCCollector (line 66) 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/collector.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_collector_rs_66_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 70 | collector.start_collecting()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 67 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_collector_rs_66_0() -> Result<(), Box> { [INFO] [stdout] 68 | use metrics_ipc_collector::IPCCollector; [INFO] [stdout] 69 | let collector = IPCCollector::default(); [INFO] [stdout] 70 | collector.start_collecting()?; [INFO] [stdout] 71 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/recorder.rs - recorder::IPCRecorderBuilder::build (line 233) 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/recorder.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 234 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_233_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 237 | builder.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 234 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_233_0() -> Result<(), Box> { [INFO] [stdout] 235 | use metrics_ipc_collector::IPCRecorderBuilder; [INFO] [stdout] 236 | let builder = IPCRecorderBuilder::default().socket("my_metrics.sock"); [INFO] [stdout] 237 | builder.build()?; [INFO] [stdout] 238 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/recorder.rs - recorder::IPCRecorder (line 84) 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/recorder.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_84_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 88 | builder.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 85 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_84_0() -> Result<(), Box> { [INFO] [stdout] 86 | use metrics_ipc_collector::IPCRecorderBuilder; [INFO] [stdout] 87 | let builder = IPCRecorderBuilder::default().socket("my_metrics.sock"); [INFO] [stdout] 88 | builder.build()?; [INFO] [stdout] 89 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/collector.rs - collector::IPCCollector (line 40) 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/collector.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_collector_rs_40_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 44 | collector.start_collecting()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 41 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_collector_rs_40_0() -> Result<(), Box> { [INFO] [stdout] 42 | use metrics_ipc_collector::IPCCollector; [INFO] [stdout] 43 | let collector = IPCCollector::default(); [INFO] [stdout] 44 | collector.start_collecting()?; [INFO] [stdout] 45 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/recorder.rs - recorder::IPCRecorderBuilder (line 191) 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/recorder.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 192 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_191_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 195 | builder.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 192 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_recorder_rs_191_0() -> Result<(), Box> { [INFO] [stdout] 193 | use metrics_ipc_collector::IPCRecorderBuilder; [INFO] [stdout] 194 | let builder = IPCRecorderBuilder::default().socket("my_metrics.sock"); [INFO] [stdout] 195 | builder.build()?; [INFO] [stdout] 196 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/recorder.rs - recorder::IPCRecorder::new (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `interprocess::local_socket::LocalSocketStream` [INFO] [stdout] --> src/recorder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | use interprocess::local_socket::LocalSocketStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LocalSocketStream` in `local_socket` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 111 - use interprocess::local_socket::LocalSocketStream; [INFO] [stdout] 111 + use interprocess::local_socket::LocalSocketSite; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 111 | use interprocess::local_socket::prelude::LocalSocketStream; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/collector.rs - collector::IPCCollector (line 40) [INFO] [stdout] src/collector.rs - collector::IPCCollector (line 66) [INFO] [stdout] src/recorder.rs - recorder::IPCRecorder (line 84) [INFO] [stdout] src/recorder.rs - recorder::IPCRecorder::new (line 108) [INFO] [stdout] src/recorder.rs - recorder::IPCRecorderBuilder (line 191) [INFO] [stdout] src/recorder.rs - recorder::IPCRecorderBuilder::build (line 233) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.18s; merged doctests compilation took 0.07s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "63e1c673555564283d851ab21b5808368b60e9dcd9cd27b6b92af1e3603ceaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e1c673555564283d851ab21b5808368b60e9dcd9cd27b6b92af1e3603ceaad", kill_on_drop: false }` [INFO] [stdout] 63e1c673555564283d851ab21b5808368b60e9dcd9cd27b6b92af1e3603ceaad