[INFO] cloning repository https://github.com/bilelmoussaoui/zbus-lifetime-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bilelmoussaoui/zbus-lifetime-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbilelmoussaoui%2Fzbus-lifetime-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbilelmoussaoui%2Fzbus-lifetime-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cff6b34b5157dc13d622cf29682ea65b16c82d76 [INFO] checking bilelmoussaoui/zbus-lifetime-issue against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbilelmoussaoui%2Fzbus-lifetime-issue" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bilelmoussaoui/zbus-lifetime-issue on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bilelmoussaoui/zbus-lifetime-issue [INFO] finished tweaking git repo https://github.com/bilelmoussaoui/zbus-lifetime-issue [INFO] tweaked toml for git repo https://github.com/bilelmoussaoui/zbus-lifetime-issue written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/bilelmoussaoui/zbus-lifetime-issue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2fe32a306171e16ccbe798cd955135d69ba138e225ffb14b2e924de95beeb9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f2fe32a306171e16ccbe798cd955135d69ba138e225ffb14b2e924de95beeb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2fe32a306171e16ccbe798cd955135d69ba138e225ffb14b2e924de95beeb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2fe32a306171e16ccbe798cd955135d69ba138e225ffb14b2e924de95beeb9c", kill_on_drop: false }` [INFO] [stdout] f2fe32a306171e16ccbe798cd955135d69ba138e225ffb14b2e924de95beeb9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a9260219d5f2a0c40175ca0e6e03d4220ffb9fc71c798848f51d5a9aac853e34 [INFO] running `Command { std: "docker" "start" "-a" "a9260219d5f2a0c40175ca0e6e03d4220ffb9fc71c798848f51d5a9aac853e34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking easy-parallel v3.1.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking async-broadcast v0.3.2 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling slotmap v1.0.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking nix v0.21.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling zvariant_derive v2.7.0 (https://gitlab.freedesktop.org/dbus/zbus?branch=main#b2cf3b0c) [INFO] [stderr] Compiling zbus_macros v2.0.0-beta.5 (https://gitlab.freedesktop.org/dbus/zbus?branch=main#b2cf3b0c) [INFO] [stderr] Checking zvariant v2.7.0 (https://gitlab.freedesktop.org/dbus/zbus?branch=main#b2cf3b0c) [INFO] [stderr] Checking zbus v2.0.0-beta.5 (https://gitlab.freedesktop.org/dbus/zbus?branch=main#b2cf3b0c) [INFO] [stderr] Checking zbus-lifetime-issue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `proxy` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | let session = proxy.create_session(HashMap::new()).await?; [INFO] [stdout] | ----- `proxy` is borrowed here [INFO] [stdout] 16 | Ok(session) [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 `proxy` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | let session = proxy.create_session(HashMap::new()).await?; [INFO] [stdout] | ----- `proxy` is borrowed here [INFO] [stdout] 16 | Ok(session) [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-issue` 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 E0515`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9260219d5f2a0c40175ca0e6e03d4220ffb9fc71c798848f51d5a9aac853e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9260219d5f2a0c40175ca0e6e03d4220ffb9fc71c798848f51d5a9aac853e34", kill_on_drop: false }` [INFO] [stdout] a9260219d5f2a0c40175ca0e6e03d4220ffb9fc71c798848f51d5a9aac853e34