[INFO] fetching crate mongodb-base-service 0.5.1... [INFO] testing mongodb-base-service-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mongodb-base-service 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mongodb-base-service 0.5.1 [INFO] finished tweaking crates.io crate mongodb-base-service 0.5.1 [INFO] tweaked toml for crates.io crate mongodb-base-service 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongodb-base-service 0.5.1 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 225 packages to latest compatible versions [INFO] [stderr] Adding bson v0.14.1 (available: v3.0.0) [INFO] [stderr] Adding juniper v0.14.2 (available: v0.16.2) [INFO] [stderr] Adding mongodb v0.9.2 (available: v3.2.5) [INFO] [stderr] Adding mongodb-cursor-pagination v0.2.9 (available: v0.3.2) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodb-cursor-pagination v0.2.9 [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] 7866892d8883b6ee2074c202952748b951b1fcb5442a6228657449ee736bda8f [INFO] running `Command { std: "docker" "start" "-a" "7866892d8883b6ee2074c202952748b951b1fcb5442a6228657449ee736bda8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7866892d8883b6ee2074c202952748b951b1fcb5442a6228657449ee736bda8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7866892d8883b6ee2074c202952748b951b1fcb5442a6228657449ee736bda8f", kill_on_drop: false }` [INFO] [stdout] 7866892d8883b6ee2074c202952748b951b1fcb5442a6228657449ee736bda8f [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] 36e539f438322999f9285d1665b8e2a2d23d007b235c5a53979934cc3a0654f0 [INFO] running `Command { std: "docker" "start" "-a" "36e539f438322999f9285d1665b8e2a2d23d007b235c5a53979934cc3a0654f0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling stfu8 v0.2.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling voca_rs v1.15.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 chrono v0.4.41 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stdout] error[E0597]: `version_regex` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/os_info-1.3.3/src/linux/file_release.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 34 | let version_regex = Regex::new(release_info.version_regex).unwrap(); [INFO] [stdout] | ------------- binding `version_regex` declared here [INFO] [stdout] 35 | [INFO] [stdout] 36 | version_regex [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 37 | | .captures_iter(&file_content) [INFO] [stdout] | |_____________________________________________- a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 41 | } else { [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `version_regex` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 36 ~ let x = version_regex [INFO] [stdout] 37 | .captures_iter(&file_content) [INFO] [stdout] 38 | .next() [INFO] [stdout] 39 | .and_then(|c| c.get(1)) [INFO] [stdout] 40 ~ .map(|v| v.as_str().trim_end().to_owned()); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `os_info` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36e539f438322999f9285d1665b8e2a2d23d007b235c5a53979934cc3a0654f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e539f438322999f9285d1665b8e2a2d23d007b235c5a53979934cc3a0654f0", kill_on_drop: false }` [INFO] [stdout] 36e539f438322999f9285d1665b8e2a2d23d007b235c5a53979934cc3a0654f0