[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCogitri%2Fzbus-lifetime" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cogitri/zbus-lifetime on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.6 [INFO] [stderr] Downloaded zvariant_derive v2.0.0 [INFO] [stderr] Downloaded zvariant v2.0.1 [INFO] [stderr] Downloaded enumflags2_derive v0.6.4 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded zbus_macros v1.0.0 [INFO] [stderr] Downloaded enumflags2 v0.6.4 [INFO] [stderr] Downloaded zbus v1.0.0 [INFO] [stderr] Downloaded syn v1.0.37 [INFO] [stderr] Downloaded fastrand v1.3.3 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d73b2370a5989299c506e42e293b4e4064da58fd8b13f500516267d84b6f49 [INFO] running `Command { std: "docker" "start" "-a" "c4d73b2370a5989299c506e42e293b4e4064da58fd8b13f500516267d84b6f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d73b2370a5989299c506e42e293b4e4064da58fd8b13f500516267d84b6f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d73b2370a5989299c506e42e293b4e4064da58fd8b13f500516267d84b6f49", kill_on_drop: false }` [INFO] [stdout] c4d73b2370a5989299c506e42e293b4e4064da58fd8b13f500516267d84b6f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fe97b58c4d1b14a2d32e147d8bd55124e481e72ede54d6d3d97d741072509c [INFO] running `Command { std: "docker" "start" "-a" "d4fe97b58c4d1b14a2d32e147d8bd55124e481e72ede54d6d3d97d741072509c", 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 byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling heck v0.3.1 [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 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 zvariant_derive v2.0.0 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling serde_repr v0.1.6 [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] error: aborting due to 1 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` (bin "zbus-lifetime" test) due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d4fe97b58c4d1b14a2d32e147d8bd55124e481e72ede54d6d3d97d741072509c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fe97b58c4d1b14a2d32e147d8bd55124e481e72ede54d6d3d97d741072509c", kill_on_drop: false }` [INFO] [stdout] d4fe97b58c4d1b14a2d32e147d8bd55124e481e72ede54d6d3d97d741072509c