[INFO] fetching crate kanata-keyberon 0.1103.0... [INFO] checking kanata-keyberon-0.1103.0 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate kanata-keyberon 0.1103.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kanata-keyberon 0.1103.0 [INFO] finished tweaking crates.io crate kanata-keyberon 0.1103.0 [INFO] tweaked toml for crates.io crate kanata-keyberon 0.1103.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kanata-keyberon 0.1103.0 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kanata-keyberon 0.1103.0 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6088daa2ce56e34c43d551dc09060b8ae8d86d6dc56220e2af70815a6a25ede [INFO] running `Command { std: "docker" "start" "-a" "f6088daa2ce56e34c43d551dc09060b8ae8d86d6dc56220e2af70815a6a25ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6088daa2ce56e34c43d551dc09060b8ae8d86d6dc56220e2af70815a6a25ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6088daa2ce56e34c43d551dc09060b8ae8d86d6dc56220e2af70815a6a25ede", kill_on_drop: false }` [INFO] [stdout] f6088daa2ce56e34c43d551dc09060b8ae8d86d6dc56220e2af70815a6a25ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ef63d533b00a19f03e5b6cb00a8624741427c489e38caba6cd2bcd7c15e4b67 [INFO] running `Command { std: "docker" "start" "-a" "5ef63d533b00a19f03e5b6cb00a8624741427c489e38caba6cd2bcd7c15e4b67", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling kanata-keyberon-macros v0.2.0 [INFO] [stderr] Checking kanata-keyberon v0.1103.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/layout.rs:2496:32 [INFO] [stdout] | [INFO] [stdout] 2495 | static LAYERS: Layers<2, 1> = &[ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 2496 | | [[MultipleActions(&[l(1), k(LShift)].as_slice()), k(F)]], [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 2497 | | [[Trans, k(E)]], [INFO] [stdout] 2498 | | ]; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/layout.rs:4066:34 [INFO] [stdout] | [INFO] [stdout] 4061 | static LAYERS: Layers<5, 1> = &[ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 4062 | | [[ [INFO] [stdout] 4063 | | k(A), [INFO] [stdout] 4064 | | MultipleKeyCodes(&[LShift, B].as_slice()), [INFO] [stdout] 4065 | | Repeat, [INFO] [stdout] 4066 | | MultipleActions(&[k(C), k(D)].as_slice()), [INFO] [stdout] | | ^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... | [INFO] [stdout] 4075 | | ]], [INFO] [stdout] 4076 | | ]; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/layout.rs:4073:34 [INFO] [stdout] | [INFO] [stdout] 4061 | static LAYERS: Layers<5, 1> = &[ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 4062 | | [[ [INFO] [stdout] 4063 | | k(A), [INFO] [stdout] 4064 | | MultipleKeyCodes(&[LShift, B].as_slice()), [INFO] [stdout] ... | [INFO] [stdout] 4073 | | MultipleActions(&[k(G), k(H)].as_slice()), [INFO] [stdout] | | ^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 4074 | | Layer(1), [INFO] [stdout] 4075 | | ]], [INFO] [stdout] 4076 | | ]; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/layout.rs:4397:44 [INFO] [stdout] | [INFO] [stdout] 4394 | static LAYERS: Layers<3, 1> = &[ [INFO] [stdout] | _______________________________________- [INFO] [stdout] 4395 | | [[Layer(1), NoOp, k(A)]], [INFO] [stdout] 4396 | | [[NoOp, Layer(2), k(B)]], [INFO] [stdout] 4397 | | [[NoOp, NoOp, MultipleActions(&[Trans, k(X)].as_slice())]], [INFO] [stdout] | | ^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 4398 | | ]; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/layout.rs:4594:38 [INFO] [stdout] | [INFO] [stdout] 4590 | static LAYERS: Layers<3, 1> = &[ [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 4591 | | [[ [INFO] [stdout] 4592 | | Layer(1), [INFO] [stdout] 4593 | | DefaultLayer(1), [INFO] [stdout] 4594 | | MultipleActions(&[Trans, k(Y)].as_slice()), [INFO] [stdout] | | ^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... | [INFO] [stdout] 4597 | | [[NoOp, NoOp, Trans]], [INFO] [stdout] 4598 | | ]; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kanata-keyberon` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5ef63d533b00a19f03e5b6cb00a8624741427c489e38caba6cd2bcd7c15e4b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef63d533b00a19f03e5b6cb00a8624741427c489e38caba6cd2bcd7c15e4b67", kill_on_drop: false }` [INFO] [stdout] 5ef63d533b00a19f03e5b6cb00a8624741427c489e38caba6cd2bcd7c15e4b67