[INFO] fetching crate mongo-lock-async 0.4.0... [INFO] testing mongo-lock-async-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mongo-lock-async 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mongo-lock-async 0.4.0 [INFO] finished tweaking crates.io crate mongo-lock-async 0.4.0 [INFO] tweaked toml for crates.io crate mongo-lock-async 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongo-lock-async 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 237 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5acfd2424e8512b1a98baaca5d7cbaa823671bc1bbac14636753fcf761c3d034 [INFO] running `Command { std: "docker" "start" "-a" "5acfd2424e8512b1a98baaca5d7cbaa823671bc1bbac14636753fcf761c3d034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5acfd2424e8512b1a98baaca5d7cbaa823671bc1bbac14636753fcf761c3d034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5acfd2424e8512b1a98baaca5d7cbaa823671bc1bbac14636753fcf761c3d034", kill_on_drop: false }` [INFO] [stdout] 5acfd2424e8512b1a98baaca5d7cbaa823671bc1bbac14636753fcf761c3d034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a8b1cce0d1a2cc9af70b3af2a03733a939e3549b2407c4ebeb0ce43c08c346a [INFO] running `Command { std: "docker" "start" "-a" "4a8b1cce0d1a2cc9af70b3af2a03733a939e3549b2407c4ebeb0ce43c08c346a", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.5 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling mongodb v3.2.5 [INFO] [stderr] Compiling mongo-lock-async v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.17s [INFO] running `Command { std: "docker" "inspect" "4a8b1cce0d1a2cc9af70b3af2a03733a939e3549b2407c4ebeb0ce43c08c346a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8b1cce0d1a2cc9af70b3af2a03733a939e3549b2407c4ebeb0ce43c08c346a", kill_on_drop: false }` [INFO] [stdout] 4a8b1cce0d1a2cc9af70b3af2a03733a939e3549b2407c4ebeb0ce43c08c346a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e867cf0561836da0598ee70cae478507c376e66729899738edc4f9079c136c [INFO] running `Command { std: "docker" "start" "-a" "c6e867cf0561836da0598ee70cae478507c376e66729899738edc4f9079c136c", kill_on_drop: false }` [INFO] [stderr] Compiling mongo-lock-async v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/lib.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | use rand::{distributions::Alphanumeric, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | thread_rng() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/lib.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | use rand::{distributions::Alphanumeric, thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mongo-lock-async` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c6e867cf0561836da0598ee70cae478507c376e66729899738edc4f9079c136c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e867cf0561836da0598ee70cae478507c376e66729899738edc4f9079c136c", kill_on_drop: false }` [INFO] [stdout] c6e867cf0561836da0598ee70cae478507c376e66729899738edc4f9079c136c