[INFO] fetching crate mongodb-helper 0.1.6... [INFO] checking mongodb-helper-0.1.6 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate mongodb-helper 0.1.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate mongodb-helper 0.1.6 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mongodb-helper 0.1.6 [INFO] finished tweaking crates.io crate mongodb-helper 0.1.6 [INFO] tweaked toml for crates.io crate mongodb-helper 0.1.6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls v0.16.0 [INFO] [stderr] Downloaded typed-builder v0.3.0 [INFO] [stderr] Downloaded mongodb v0.9.2 [INFO] [stderr] Downloaded derivative v1.0.4 [INFO] [stderr] Downloaded r2d2-mongodb v0.2.2 [INFO] [stderr] Downloaded os_info v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8f56cf49030a133e43c9265408b1d1a8bcb447c8b6488506b25c0afca44e257 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8f56cf49030a133e43c9265408b1d1a8bcb447c8b6488506b25c0afca44e257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8f56cf49030a133e43c9265408b1d1a8bcb447c8b6488506b25c0afca44e257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f56cf49030a133e43c9265408b1d1a8bcb447c8b6488506b25c0afca44e257", kill_on_drop: false }` [INFO] [stdout] d8f56cf49030a133e43c9265408b1d1a8bcb447c8b6488506b25c0afca44e257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6886bb14b1300a4e10a282e04d21e626958c8c303ef5aadb62823a7c33621f7 [INFO] running `Command { std: "docker" "start" "-a" "d6886bb14b1300a4e10a282e04d21e626958c8c303ef5aadb62823a7c33621f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Checking md5 v0.3.8 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking separator v0.3.1 [INFO] [stderr] Checking version_check v0.9.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking semver v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scan_fmt v0.1.3 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking md-5 v0.7.0 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking textnonce v0.6.5 [INFO] [stderr] Checking serde_with v1.8.0 [INFO] [stdout] error[E0597]: `version_regex` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/os_info-1.3.3/src/linux/file_release.rs:36:13 [INFO] [stdout] | [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] error: aborting due to previous error [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d6886bb14b1300a4e10a282e04d21e626958c8c303ef5aadb62823a7c33621f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6886bb14b1300a4e10a282e04d21e626958c8c303ef5aadb62823a7c33621f7", kill_on_drop: false }` [INFO] [stdout] d6886bb14b1300a4e10a282e04d21e626958c8c303ef5aadb62823a7c33621f7