[INFO] fetching crate rquickjs-core 0.1.7... [INFO] checking rquickjs-core-0.1.7 against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] extracting crate rquickjs-core 0.1.7 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rquickjs-core 0.1.7 on toolchain 0ec6e73c26e84416f7a6c0dacee999279e12896e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rquickjs-core 0.1.7 [INFO] finished tweaking crates.io crate rquickjs-core 0.1.7 [INFO] tweaked toml for crates.io crate rquickjs-core 0.1.7 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea7c1dc135a415399e47015ba17584c0da4f489271426e0d59a2f9b5e13f4ba [INFO] running `Command { std: "docker" "start" "-a" "6ea7c1dc135a415399e47015ba17584c0da4f489271426e0d59a2f9b5e13f4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea7c1dc135a415399e47015ba17584c0da4f489271426e0d59a2f9b5e13f4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea7c1dc135a415399e47015ba17584c0da4f489271426e0d59a2f9b5e13f4ba", kill_on_drop: false }` [INFO] [stdout] 6ea7c1dc135a415399e47015ba17584c0da4f489271426e0d59a2f9b5e13f4ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58d7f5c475a86b21db81d8e3bcd2381bc64fca2eae9db82e97e288907bb246f9 [INFO] running `Command { std: "docker" "start" "-a" "58d7f5c475a86b21db81d8e3bcd2381bc64fca2eae9db82e97e288907bb246f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.71 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling rquickjs-sys v0.1.7 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking rquickjs-core v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/value/function.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'js> Function<'js> { [INFO] [stdout] | --- lifetime `'js` defined here [INFO] [stdout] 26 | pub fn new(ctx: Ctx<'js>, func: F) -> Result [INFO] [stdout] | --- `ctx` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 30 | let func = JsFunction::new(move |input: &Input<'js>| func.call(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ctx` escapes the associated function body here [INFO] [stdout] | argument requires that `'js` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `Input<'_>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `Input<'js>` is invariant over the parameter `'js` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/value/function.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'js> Function<'js> { [INFO] [stdout] | --- lifetime `'js` defined here [INFO] [stdout] 26 | pub fn new(ctx: Ctx<'js>, func: F) -> Result [INFO] [stdout] | --- `ctx` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 30 | let func = JsFunction::new(move |input: &Input<'js>| func.call(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ctx` escapes the associated function body here [INFO] [stdout] | argument requires that `'js` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `Input<'_>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `Input<'js>` is invariant over the parameter `'js` [INFO] [stdout] = help: see for more information about variance [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 E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rquickjs-core` 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 E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rquickjs-core` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "58d7f5c475a86b21db81d8e3bcd2381bc64fca2eae9db82e97e288907bb246f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d7f5c475a86b21db81d8e3bcd2381bc64fca2eae9db82e97e288907bb246f9", kill_on_drop: false }` [INFO] [stdout] 58d7f5c475a86b21db81d8e3bcd2381bc64fca2eae9db82e97e288907bb246f9