[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/0a73e4b5374463a59c6694225df7f972b7e010e6 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCogitri%2Fzbus-lifetime" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cogitri/zbus-lifetime on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zbus_macros v1.0.0 [INFO] [stderr] Downloaded zvariant_derive v2.0.0 [INFO] [stderr] Downloaded zbus v1.0.0 [INFO] [stderr] Downloaded zvariant v2.0.1 [INFO] [stderr] Downloaded syn v1.0.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626100ae8768828a7fb3e52092686f5eadfec3dcdbc0c0b5d752220e804532f5 [INFO] running `Command { std: "docker" "start" "-a" "626100ae8768828a7fb3e52092686f5eadfec3dcdbc0c0b5d752220e804532f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626100ae8768828a7fb3e52092686f5eadfec3dcdbc0c0b5d752220e804532f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626100ae8768828a7fb3e52092686f5eadfec3dcdbc0c0b5d752220e804532f5", kill_on_drop: false }` [INFO] [stdout] 626100ae8768828a7fb3e52092686f5eadfec3dcdbc0c0b5d752220e804532f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc37367790bee68733ad1f30f0fcd37e3a7d7ec81ed5867ace7da3c9044bf442 [INFO] running `Command { std: "docker" "start" "-a" "bc37367790bee68733ad1f30f0fcd37e3a7d7ec81ed5867ace7da3c9044bf442", kill_on_drop: false }` [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 version-compare v0.0.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Checking fastrand v1.3.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking nix v0.17.0 [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 zvariant_derive v2.0.0 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking zvariant v2.0.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling zbus_macros v1.0.0 [INFO] [stderr] Compiling apk-tools-sys v0.1.0 (/opt/rustwide/workdir/apk-tools-sys) [INFO] [stderr] Checking zbus v1.0.0 [INFO] [stderr] Checking zbus-lifetime v0.1.0 (/opt/rustwide/workdir) [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[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] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zbus-lifetime` (bin "zbus-lifetime") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zbus-lifetime` (bin "zbus-lifetime" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "bc37367790bee68733ad1f30f0fcd37e3a7d7ec81ed5867ace7da3c9044bf442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc37367790bee68733ad1f30f0fcd37e3a7d7ec81ed5867ace7da3c9044bf442", kill_on_drop: false }` [INFO] [stdout] bc37367790bee68733ad1f30f0fcd37e3a7d7ec81ed5867ace7da3c9044bf442