[INFO] cloning repository https://github.com/pfzetto/bring-your-own-memory-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfzetto/bring-your-own-memory-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfzetto%2Fbring-your-own-memory-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfzetto%2Fbring-your-own-memory-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84c07213e6d312e08f1a10903b6285d7da9b2ac [INFO] checking pfzetto/bring-your-own-memory-demo against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfzetto%2Fbring-your-own-memory-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pfzetto/bring-your-own-memory-demo on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pfzetto/bring-your-own-memory-demo [INFO] finished tweaking git repo https://github.com/pfzetto/bring-your-own-memory-demo [INFO] tweaked toml for git repo https://github.com/pfzetto/bring-your-own-memory-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pfzetto/bring-your-own-memory-demo 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e829d8fa0a4c02f99150ebd633b4f52f627c93f2f462b69ceaadd388245d8e [INFO] running `Command { std: "docker" "start" "-a" "66e829d8fa0a4c02f99150ebd633b4f52f627c93f2f462b69ceaadd388245d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e829d8fa0a4c02f99150ebd633b4f52f627c93f2f462b69ceaadd388245d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e829d8fa0a4c02f99150ebd633b4f52f627c93f2f462b69ceaadd388245d8e", kill_on_drop: false }` [INFO] [stdout] 66e829d8fa0a4c02f99150ebd633b4f52f627c93f2f462b69ceaadd388245d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59005fe94a454c623968347c717000e56f1a73eb7769c4a9762f2f135f68bc89 [INFO] running `Command { std: "docker" "start" "-a" "59005fe94a454c623968347c717000e56f1a73eb7769c4a9762f2f135f68bc89", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking bring-your-own-memory-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let msg = can_receiver.recv().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | let msg = can_receiver.recv().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let msg = can_receiver.recv().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | let msg = can_receiver.recv().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn register<'candriver, 'receiver, const N: usize>( [INFO] [stdout] | ---------- lifetime `'candriver` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | ReceiverRef(receiver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'candriver` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `ReceiverRef<'_, '_, N>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `ReceiverRef<'receiver, 'candriver, N>` is invariant over the parameter `'candriver` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | fn spawn>(f: F) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn register<'candriver, 'receiver, const N: usize>( [INFO] [stdout] | ---------- lifetime `'candriver` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | ReceiverRef(receiver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'candriver` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `ReceiverRef<'_, '_, N>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `ReceiverRef<'receiver, 'candriver, N>` is invariant over the parameter `'candriver` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | fn spawn>(f: F) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bring-your-own-memory-demo` (bin "bring-your-own-memory-demo") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bring-your-own-memory-demo` (bin "bring-your-own-memory-demo" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "59005fe94a454c623968347c717000e56f1a73eb7769c4a9762f2f135f68bc89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59005fe94a454c623968347c717000e56f1a73eb7769c4a9762f2f135f68bc89", kill_on_drop: false }` [INFO] [stdout] 59005fe94a454c623968347c717000e56f1a73eb7769c4a9762f2f135f68bc89