[INFO] fetching crate assert_snapshot 0.1.3...
[INFO] checking assert_snapshot-0.1.3 against master#fd2c811d25ad5773fbd2463e058bf4edf4d44eb2 for pr-130443
[INFO] extracting crate assert_snapshot 0.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate assert_snapshot 0.1.3 on toolchain fd2c811d25ad5773fbd2463e058bf4edf4d44eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd2c811d25ad5773fbd2463e058bf4edf4d44eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate assert_snapshot 0.1.3
[INFO] finished tweaking crates.io crate assert_snapshot 0.1.3
[INFO] tweaked toml for crates.io crate assert_snapshot 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd2c811d25ad5773fbd2463e058bf4edf4d44eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 40 packages to latest compatible versions
[INFO] [stderr]       Adding itertools v0.7.11 (available: v0.13.0)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.77)
[INFO] [stderr]       Adding synstructure v0.12.6 (available: v0.13.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd2c811d25ad5773fbd2463e058bf4edf4d44eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded sorted-json v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+fd2c811d25ad5773fbd2463e058bf4edf4d44eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26ed5714c5b9a29ad7c42e0cad75e91358da30662b50a2850e23d3034808bc2c
[INFO] running `Command { std: "docker" "start" "-a" "26ed5714c5b9a29ad7c42e0cad75e91358da30662b50a2850e23d3034808bc2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26ed5714c5b9a29ad7c42e0cad75e91358da30662b50a2850e23d3034808bc2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26ed5714c5b9a29ad7c42e0cad75e91358da30662b50a2850e23d3034808bc2c", kill_on_drop: false }`
[INFO] [stdout] 26ed5714c5b9a29ad7c42e0cad75e91358da30662b50a2850e23d3034808bc2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+fd2c811d25ad5773fbd2463e058bf4edf4d44eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf3c67265caeecda7de2a9c7474d87e71cd6be82d9b82401cdab98b3ff421a8a
[INFO] running `Command { std: "docker" "start" "-a" "cf3c67265caeecda7de2a9c7474d87e71cd6be82d9b82401cdab98b3ff421a8a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking gimli v0.31.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking object v0.36.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking sorted-json v0.1.0
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking addr2line v0.24.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking assert_snapshot v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` 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] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` 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] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assert_snapshot` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 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 `assert_snapshot` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "cf3c67265caeecda7de2a9c7474d87e71cd6be82d9b82401cdab98b3ff421a8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf3c67265caeecda7de2a9c7474d87e71cd6be82d9b82401cdab98b3ff421a8a", kill_on_drop: false }`
[INFO] [stdout] cf3c67265caeecda7de2a9c7474d87e71cd6be82d9b82401cdab98b3ff421a8a
