[INFO] fetching crate potatonet-service-logger 0.4.1...
[INFO] checking potatonet-service-logger-0.4.1 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate potatonet-service-logger 0.4.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate potatonet-service-logger 0.4.1 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate potatonet-service-logger 0.4.1
[INFO] finished tweaking crates.io crate potatonet-service-logger 0.4.1
[INFO] tweaked toml for crates.io crate potatonet-service-logger 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 271 packages to latest compatible versions
[INFO] [stderr]       Adding bson v0.14.1 (available: v2.13.0)
[INFO] [stderr]       Adding mongodb v0.9.2 (available: v3.1.0)
[INFO] [stderr]       Adding rmpv v0.4.7 (available: v1.3.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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94fa35c6f765fd4dd7b2b72103cf56d03f6cfa7641c54a1e3d4a59264d34449f
[INFO] running `Command { std: "docker" "start" "-a" "94fa35c6f765fd4dd7b2b72103cf56d03f6cfa7641c54a1e3d4a59264d34449f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94fa35c6f765fd4dd7b2b72103cf56d03f6cfa7641c54a1e3d4a59264d34449f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94fa35c6f765fd4dd7b2b72103cf56d03f6cfa7641c54a1e3d4a59264d34449f", kill_on_drop: false }`
[INFO] [stdout] 94fa35c6f765fd4dd7b2b72103cf56d03f6cfa7641c54a1e3d4a59264d34449f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b392cdeaa79609e34c0084448b428b0bff9a1b272b9cebe4c4f014341ce0d5c9
[INFO] running `Command { std: "docker" "start" "-a" "b392cdeaa79609e34c0084448b428b0bff9a1b272b9cebe4c4f014341ce0d5c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling os_info v1.3.3
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking md5 v0.6.1
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking version_check v0.9.5
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking serde v1.0.215
[INFO] [stderr]     Checking pbkdf2 v0.3.0
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking rustls v0.16.0
[INFO] [stderr]     Checking webpki-roots v0.18.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking polling v3.7.4
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking async-io v2.4.0
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling potatonet-codegen v0.4.3
[INFO] [stderr]     Checking async-signal v0.2.10
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking async-process v2.3.0
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]     Checking async-std v1.13.0
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking rmp-serde v0.14.4
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking rmpv v0.4.7
[INFO] [stdout] error[E0597]: `version_regex` does not live long enough
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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" "b392cdeaa79609e34c0084448b428b0bff9a1b272b9cebe4c4f014341ce0d5c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b392cdeaa79609e34c0084448b428b0bff9a1b272b9cebe4c4f014341ce0d5c9", kill_on_drop: false }`
[INFO] [stdout] b392cdeaa79609e34c0084448b428b0bff9a1b272b9cebe4c4f014341ce0d5c9
