[INFO] fetching crate distributed-lock 0.2.0...
[INFO] testing distributed-lock-0.2.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate distributed-lock 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate distributed-lock 0.2.0
[INFO] finished tweaking crates.io crate distributed-lock 0.2.0
[INFO] tweaked toml for crates.io crate distributed-lock 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate distributed-lock 0.2.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate distributed-lock 0.2.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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d83bb74aed879b99b0a5b1564c9c0bc42d5c0f96313d1b755105223f911c2e56
[INFO] running `Command { std: "docker" "start" "-a" "d83bb74aed879b99b0a5b1564c9c0bc42d5c0f96313d1b755105223f911c2e56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d83bb74aed879b99b0a5b1564c9c0bc42d5c0f96313d1b755105223f911c2e56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d83bb74aed879b99b0a5b1564c9c0bc42d5c0f96313d1b755105223f911c2e56", kill_on_drop: false }`
[INFO] [stdout] d83bb74aed879b99b0a5b1564c9c0bc42d5c0f96313d1b755105223f911c2e56
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b512647e7acba70f7f1eaee57f8b86b5f8fa6611db80052e510a205dc8c894be
[INFO] running `Command { std: "docker" "start" "-a" "b512647e7acba70f7f1eaee57f8b86b5f8fa6611db80052e510a205dc8c894be", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling zmij v1.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling base64ct v1.8.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling crc16 v0.4.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling resolv-conf v0.7.6
[INFO] [stderr]    Compiling cookie-factory v0.3.2
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling arc-swap v1.8.0
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling fd-lock v4.0.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling typed-builder-macro v0.22.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling fred-macros v0.1.0
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling typed-builder v0.22.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling mongodb-internal-macros v3.4.1
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.16.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bson v2.15.0
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling bytes-utils v0.1.4
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling serde_with v3.16.1
[INFO] [stderr]    Compiling redis-protocol v5.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling moka v0.12.12
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling rsa v0.9.9
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-mysql v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling distributed-lock-core v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling hickory-proto v0.25.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling distributed-lock-file v0.2.0
[INFO] [stderr]    Compiling fred v9.4.0
[INFO] [stderr]    Compiling hickory-resolver v0.25.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling mongodb v3.4.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling distributed-lock-mysql v0.2.0
[INFO] [stderr]    Compiling distributed-lock-postgres v0.2.0
[INFO] [stderr]    Compiling distributed-lock-redis v0.2.0
[INFO] [stderr]    Compiling distributed-lock-mongo v0.2.0
[INFO] [stderr]    Compiling distributed-lock v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s
[INFO] running `Command { std: "docker" "inspect" "b512647e7acba70f7f1eaee57f8b86b5f8fa6611db80052e510a205dc8c894be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b512647e7acba70f7f1eaee57f8b86b5f8fa6611db80052e510a205dc8c894be", kill_on_drop: false }`
[INFO] [stdout] b512647e7acba70f7f1eaee57f8b86b5f8fa6611db80052e510a205dc8c894be
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99c620712687e0b9756d17baae9696837ba592462f73f9f4646d10e0cabba4bb
[INFO] running `Command { std: "docker" "start" "-a" "99c620712687e0b9756d17baae9696837ba592462f73f9f4646d10e0cabba4bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling distributed-lock v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s
[INFO] running `Command { std: "docker" "inspect" "99c620712687e0b9756d17baae9696837ba592462f73f9f4646d10e0cabba4bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99c620712687e0b9756d17baae9696837ba592462f73f9f4646d10e0cabba4bb", kill_on_drop: false }`
[INFO] [stdout] 99c620712687e0b9756d17baae9696837ba592462f73f9f4646d10e0cabba4bb
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7548dc0960eb62c191b7685f5b24cdce3d59e0e9deafd27702e60dd9c963908b
[INFO] running `Command { std: "docker" "start" "-a" "7548dc0960eb62c191b7685f5b24cdce3d59e0e9deafd27702e60dd9c963908b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/distributed_lock-69d7b29fe27b1c9d)
[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 distributed_lock
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 52) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 41) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 66) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 52) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:59:6
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 59 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 41) stdout ----
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 |     .build("/tmp/locks")?;
[INFO] [stdout]    |      ^^^^^ ------------ unexpected argument of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/distributed-lock-file-0.2.0/src/provider.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn build(self) -> LockResult<FileLockProvider> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 46 -     .build("/tmp/locks")?;
[INFO] [stdout] 46 +     .build()?;
[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/lib.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_41_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .build("/tmp/locks")?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 42 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_41_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 43 | use distributed_lock::FileLockProvider;
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .build("/tmp/locks")?;
[INFO] [stdout] 47 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/lib.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .build("/tmp/locks")?;
[INFO] [stdout]    |          ^^^^^ ------------ unexpected argument of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/distributed-lock-file-0.2.0/src/provider.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn build(self) -> LockResult<FileLockProvider> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 18 -         .build("/tmp/locks")?;
[INFO] [stdout] 18 +         .build()?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 66) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_66_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_server` found for struct `RedisLockProviderBuilder` in the current scope
[INFO] [stdout]   --> src/lib.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 70 |   let provider = RedisLockProvider::builder()
[INFO] [stdout]    |  ________________-
[INFO] [stdout] 71 | |     .add_server("redis://localhost:6379")
[INFO] [stdout]    | |     -^^^^^^^^^^ method not found in `RedisLockProviderBuilder`
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 41)
[INFO] [stdout]     src/lib.rs - (line 52)
[INFO] [stdout]     src/lib.rs - (line 66)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.80s; merged doctests compilation took 0.33s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7548dc0960eb62c191b7685f5b24cdce3d59e0e9deafd27702e60dd9c963908b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7548dc0960eb62c191b7685f5b24cdce3d59e0e9deafd27702e60dd9c963908b", kill_on_drop: false }`
[INFO] [stdout] 7548dc0960eb62c191b7685f5b24cdce3d59e0e9deafd27702e60dd9c963908b
