[INFO] crate zenroom_minimal 0.1.0 is already in cache [INFO] testing zenroom_minimal-0.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate zenroom_minimal 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate zenroom_minimal 0.1.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] crate crates.io crate zenroom_minimal 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c1391ab6e7c7983ae8b953c5de01a14c0f5e05be01689b380ff20f14b724cdb7 [INFO] running `"docker" "start" "-a" "c1391ab6e7c7983ae8b953c5de01a14c0f5e05be01689b380ff20f14b724cdb7"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rlua v0.16.3 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling rlua_serde v0.3.1 [INFO] [stderr] Compiling zenroom_minimal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'lua` due to conflicting requirements [INFO] [stderr] --> src/module/importer.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | Ok(Value::Function(ctx.create_function(Importer::import)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the lifetime `'lua` as defined on the method body at 36:21... [INFO] [stderr] --> src/module/importer.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | fn build_module<'lua>(self, ctx: Context<'lua>) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] note: ...so that the expression is assignable [INFO] [stderr] --> src/module/importer.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | Ok(Value::Function(ctx.create_function(Importer::import)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: expected `rlua::Value<'lua>` [INFO] [stderr] found `rlua::Value<'_>` [INFO] [stderr] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stderr] note: ...so that the type `fn(rlua::Context<'_>, rlua::Value<'_>) -> std::result::Result, rlua::Error> {module::importer::Importer::import}` will meet its required lifetime bounds [INFO] [stderr] --> src/module/importer.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | Ok(Value::Function(ctx.create_function(Importer::import)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0495`. [INFO] [stderr] error: could not compile `zenroom_minimal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c1391ab6e7c7983ae8b953c5de01a14c0f5e05be01689b380ff20f14b724cdb7"` [INFO] running `"docker" "rm" "-f" "c1391ab6e7c7983ae8b953c5de01a14c0f5e05be01689b380ff20f14b724cdb7"` [INFO] [stdout] c1391ab6e7c7983ae8b953c5de01a14c0f5e05be01689b380ff20f14b724cdb7