[INFO] fetching crate teliox 0.1.0... [INFO] checking teliox-0.1.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate teliox 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate teliox 0.1.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate teliox 0.1.0 [INFO] finished tweaking crates.io crate teliox 0.1.0 [INFO] tweaked toml for crates.io crate teliox 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d17f5a79c695588032dedd52c2c7f27564c37075670a569e341a6f0c98daa621 [INFO] running `Command { std: "docker" "start" "-a" "d17f5a79c695588032dedd52c2c7f27564c37075670a569e341a6f0c98daa621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d17f5a79c695588032dedd52c2c7f27564c37075670a569e341a6f0c98daa621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17f5a79c695588032dedd52c2c7f27564c37075670a569e341a6f0c98daa621", kill_on_drop: false }` [INFO] [stdout] d17f5a79c695588032dedd52c2c7f27564c37075670a569e341a6f0c98daa621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb2ef5f6299466c2e863d309acb0edb9d40df8789a11816f76a24ed63cc3aa3a [INFO] running `Command { std: "docker" "start" "-a" "fb2ef5f6299466c2e863d309acb0edb9d40df8789a11816f76a24ed63cc3aa3a", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde-hex v0.1.0 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking sled-tables v0.2.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking fraction v0.9.0 [INFO] [stderr] Checking keri v0.8.2 [INFO] [stderr] Checking teliox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `prefix` does not live long enough [INFO] [stdout] --> src/processor/mod.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 87 | let prefix = IdentifierPrefix::SelfAddressing(vc_id.to_owned()); [INFO] [stdout] | ------ binding `prefix` declared here [INFO] [stdout] 88 | match self.db.get_events(&prefix) { [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] ... [INFO] [stdout] 92 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `prefix` 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 `std::option::Option>` [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] 88 ~ let x = match self.db.get_events(&prefix) { [INFO] [stdout] 89 | Some(events) => Ok(events.collect()), [INFO] [stdout] 90 | None => Ok(vec![]), [INFO] [stdout] 91 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `prefix` does not live long enough [INFO] [stdout] --> src/processor/mod.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 87 | let prefix = IdentifierPrefix::SelfAddressing(vc_id.to_owned()); [INFO] [stdout] | ------ binding `prefix` declared here [INFO] [stdout] 88 | match self.db.get_events(&prefix) { [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] ... [INFO] [stdout] 92 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `prefix` 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 `std::option::Option>` [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] 88 ~ let x = match self.db.get_events(&prefix) { [INFO] [stdout] 89 | Some(events) => Ok(events.collect()), [INFO] [stdout] 90 | None => Ok(vec![]), [INFO] [stdout] 91 ~ }; 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 `teliox` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `teliox` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "fb2ef5f6299466c2e863d309acb0edb9d40df8789a11816f76a24ed63cc3aa3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2ef5f6299466c2e863d309acb0edb9d40df8789a11816f76a24ed63cc3aa3a", kill_on_drop: false }` [INFO] [stdout] fb2ef5f6299466c2e863d309acb0edb9d40df8789a11816f76a24ed63cc3aa3a