[INFO] fetching crate zenroom_minimal 0.1.0... [INFO] checking zenroom_minimal-0.1.0 against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776 [INFO] extracting crate zenroom_minimal 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate zenroom_minimal 0.1.0 [INFO] finished tweaking crates.io crate zenroom_minimal 0.1.0 [INFO] tweaked toml for crates.io crate zenroom_minimal 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zenroom_minimal 0.1.0 on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zenroom_minimal 0.1.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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa06040f8153a491b465b15effe800270f2ae0aa556b342979c264a7d4c0ecf5 [INFO] running `Command { std: "docker" "start" "-a" "aa06040f8153a491b465b15effe800270f2ae0aa556b342979c264a7d4c0ecf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa06040f8153a491b465b15effe800270f2ae0aa556b342979c264a7d4c0ecf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa06040f8153a491b465b15effe800270f2ae0aa556b342979c264a7d4c0ecf5", kill_on_drop: false }` [INFO] [stdout] aa06040f8153a491b465b15effe800270f2ae0aa556b342979c264a7d4c0ecf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12ee5e11af97ec2148095f2a1f735ef53320fc9cc4bd118e313899d74305144 [INFO] running `Command { std: "docker" "start" "-a" "f12ee5e11af97ec2148095f2a1f735ef53320fc9cc4bd118e313899d74305144", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking spin v0.5.1 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rlua v0.16.3 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking bstr v0.2.7 [INFO] [stderr] Checking rlua_serde v0.3.1 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking zenroom_minimal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/module/importer.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_module<'lua>(self, ctx: Context<'lua>) -> Result> { [INFO] [stdout] | ---- --- `ctx` is a reference that is only valid in the method body [INFO] [stdout] | | [INFO] [stdout] | lifetime `'lua` defined here [INFO] [stdout] 37 | Ok(Value::Function(ctx.create_function(Importer::import)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ctx` escapes the method body here [INFO] [stdout] | argument requires that `'lua` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `LuaContext<'_>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `LuaContext<'lua>` is invariant over the parameter `'lua` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenroom_minimal` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f12ee5e11af97ec2148095f2a1f735ef53320fc9cc4bd118e313899d74305144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12ee5e11af97ec2148095f2a1f735ef53320fc9cc4bd118e313899d74305144", kill_on_drop: false }` [INFO] [stdout] f12ee5e11af97ec2148095f2a1f735ef53320fc9cc4bd118e313899d74305144