[INFO] cloning repository https://github.com/THCLab/teliox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/THCLab/teliox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fteliox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fteliox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 047e1e8522eb3823f59181d0f276c5b6f1a675b7 [INFO] checking THCLab/teliox against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fteliox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/THCLab/teliox 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 git repo https://github.com/THCLab/teliox [INFO] finished tweaking git repo https://github.com/THCLab/teliox [INFO] tweaked toml for git repo https://github.com/THCLab/teliox written to /workspace/builds/worker-2-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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 64221abfd6b59e44200d1f2cecfcb0f02b4f114440c03d47c8c626ee7d233717 [INFO] running `Command { std: "docker" "start" "-a" "64221abfd6b59e44200d1f2cecfcb0f02b4f114440c03d47c8c626ee7d233717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64221abfd6b59e44200d1f2cecfcb0f02b4f114440c03d47c8c626ee7d233717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64221abfd6b59e44200d1f2cecfcb0f02b4f114440c03d47c8c626ee7d233717", kill_on_drop: false }` [INFO] [stdout] 64221abfd6b59e44200d1f2cecfcb0f02b4f114440c03d47c8c626ee7d233717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 23e16cefe27a77c9e05490438360ec0069d4584e84b7ac4814f44152fc5b21ed [INFO] running `Command { std: "docker" "start" "-a" "23e16cefe27a77c9e05490438360ec0069d4584e84b7ac4814f44152fc5b21ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Compiling blake3 v0.3.8 [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 elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking serde-hex v0.1.0 [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: 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[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 test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "23e16cefe27a77c9e05490438360ec0069d4584e84b7ac4814f44152fc5b21ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e16cefe27a77c9e05490438360ec0069d4584e84b7ac4814f44152fc5b21ed", kill_on_drop: false }` [INFO] [stdout] 23e16cefe27a77c9e05490438360ec0069d4584e84b7ac4814f44152fc5b21ed