[INFO] cloning repository https://github.com/Cogitri/zbus-lifetime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cogitri/zbus-lifetime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCogitri%2Fzbus-lifetime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCogitri%2Fzbus-lifetime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a73e4b5374463a59c6694225df7f972b7e010e6 [INFO] checking Cogitri/zbus-lifetime against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCogitri%2Fzbus-lifetime" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cogitri/zbus-lifetime on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cogitri/zbus-lifetime [INFO] finished tweaking git repo https://github.com/Cogitri/zbus-lifetime [INFO] tweaked toml for git repo https://github.com/Cogitri/zbus-lifetime written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/Cogitri/zbus-lifetime already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1563322cface113ef5d3953bf1f470babcc9b28c08fbcaa305d1fc2c8655814 [INFO] running `Command { std: "docker" "start" "-a" "c1563322cface113ef5d3953bf1f470babcc9b28c08fbcaa305d1fc2c8655814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1563322cface113ef5d3953bf1f470babcc9b28c08fbcaa305d1fc2c8655814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1563322cface113ef5d3953bf1f470babcc9b28c08fbcaa305d1fc2c8655814", kill_on_drop: false }` [INFO] [stdout] c1563322cface113ef5d3953bf1f470babcc9b28c08fbcaa305d1fc2c8655814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f655ef6ee8cfc44773d2ee528ae0c561c628d111441d4d0dd3ea48193e49254 [INFO] running `Command { std: "docker" "start" "-a" "4f655ef6ee8cfc44773d2ee528ae0c561c628d111441d4d0dd3ea48193e49254", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] serde v1.0.114 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fastrand v1.3.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling zvariant_derive v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking zvariant v2.0.1 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling apk-tools-sys v0.1.0 (/tmp/fixit/apk-tools-sys) [INFO] [stderr] Compiling zbus_macros v1.0.0 [INFO] [stderr] Checking zbus v1.0.0 [INFO] [stderr] Checking zbus-lifetime v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0515]: cannot return value referencing local variable `db` [INFO] [stdout] --> src/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 123 | match db.search_file_owner(path) { [INFO] [stdout] | -- `db` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 129 | Some(pkg) => Ok(pkg), [INFO] [stdout] | ^^^^^^^ returns a value referencing data owned by the current function [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 E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zbus-lifetime` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0515]: cannot return value referencing local variable `db` [INFO] [stdout] --> src/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 123 | match db.search_file_owner(path) { [INFO] [stdout] | -- `db` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 129 | Some(pkg) => Ok(pkg), [INFO] [stdout] | ^^^^^^^ returns a value referencing data owned by the current function [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 E0515`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4f655ef6ee8cfc44773d2ee528ae0c561c628d111441d4d0dd3ea48193e49254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f655ef6ee8cfc44773d2ee528ae0c561c628d111441d4d0dd3ea48193e49254", kill_on_drop: false }` [INFO] [stdout] 4f655ef6ee8cfc44773d2ee528ae0c561c628d111441d4d0dd3ea48193e49254