[INFO] cloning repository https://github.com/adrianromero/rustexamples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianromero/rustexamples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianromero%2Frustexamples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianromero%2Frustexamples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edb36a7d9d3d92a52b4e042c5202f6044a86cb22 [INFO] checking adrianromero/rustexamples/edb36a7d9d3d92a52b4e042c5202f6044a86cb22 against try#52ae2445414b2a196b318d85c2819995c6e5f1aa for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianromero%2Frustexamples" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrianromero/rustexamples on toolchain 52ae2445414b2a196b318d85c2819995c6e5f1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrianromero/rustexamples [INFO] finished tweaking git repo https://github.com/adrianromero/rustexamples [INFO] tweaked toml for git repo https://github.com/adrianromero/rustexamples written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adrianromero/rustexamples 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" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 488ddf67da7520079eed19338678d69a95d8f89cabb9df14921cb4a1554a24a1 [INFO] running `Command { std: "docker" "start" "-a" "488ddf67da7520079eed19338678d69a95d8f89cabb9df14921cb4a1554a24a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "488ddf67da7520079eed19338678d69a95d8f89cabb9df14921cb4a1554a24a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488ddf67da7520079eed19338678d69a95d8f89cabb9df14921cb4a1554a24a1", kill_on_drop: false }` [INFO] [stdout] 488ddf67da7520079eed19338678d69a95d8f89cabb9df14921cb4a1554a24a1 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 858dadc667a9e86d1ff16128ab04111a935c6acf7b1acb6800231ae7e69b956d [INFO] running `Command { std: "docker" "start" "-a" "858dadc667a9e86d1ff16128ab04111a935c6acf7b1acb6800231ae7e69b956d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking postgres-protocol v0.6.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ryu-js v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking postgres-types v0.2.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regress v0.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking boa_unicode v0.11.0 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tokio-stream v0.1.1 [INFO] [stderr] Checking tokio-util v0.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling gc_derive v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Checking gc v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-postgres v0.7.0 [INFO] [stderr] Checking postgres v0.19.0 [INFO] [stderr] Checking Boa v0.13.0 [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures) -> Result` must implement `FnOnce<(&'1 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures) -> Result` must implement `FnOnce<(&value::JsValue, &'1 [value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures) -> Result` must implement `FnOnce<(&value::JsValue, &[value::JsValue], &'1 mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures) -> Result` must implement `Fn<(&'1 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures) -> Result` must implement `Fn<(&value::JsValue, &'1 [value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1138:27 [INFO] [stdout] | [INFO] [stdout] 1138 | function: Box::new(move |this, args, context, _| function(this, args, context)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures) -> Result` must implement `Fn<(&value::JsValue, &[value::JsValue], &'1 mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1168:42 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ------- move occurs because `context` has type `&mut context::Context`, which does not implement the `Copy` trait [INFO] [stdout] 1167 | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] | ------- value moved here [INFO] [stdout] 1168 | function(this, args, context, data) [INFO] [stdout] | ^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `try_downcast_mut` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/builtins/function/mod.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_downcast_mut(&mut self, context: &mut Context) -> JsResult<&mut T> [INFO] [stdout] | ---------------- in this method ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures) -> Result` must implement `FnOnce<(&'1 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures) -> Result` must implement `FnOnce<(&value::JsValue, &'1 [value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures) -> Result` must implement `FnOnce<(&value::JsValue, &[value::JsValue], &'1 mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures) -> Result` must implement `Fn<(&'1 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&'2 value::JsValue, &[value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures) -> Result` must implement `Fn<(&value::JsValue, &'1 [value::JsValue], &mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&value::JsValue, &'2 [value::JsValue], &mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.13.0/src/object/mod.rs:1166:27 [INFO] [stdout] | [INFO] [stdout] 1166 | function: Box::new(move |this, args, context, mut captures: Captures| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1167 | | let data = captures.try_downcast_mut::(context)?; [INFO] [stdout] 1168 | | function(this, args, context, data) [INFO] [stdout] 1169 | | }), [INFO] [stdout] | |__________________^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures) -> Result` must implement `Fn<(&value::JsValue, &[value::JsValue], &'1 mut context::Context, Captures)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&value::JsValue, &[value::JsValue], &'2 mut context::Context, Captures)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Boa` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "858dadc667a9e86d1ff16128ab04111a935c6acf7b1acb6800231ae7e69b956d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858dadc667a9e86d1ff16128ab04111a935c6acf7b1acb6800231ae7e69b956d", kill_on_drop: false }` [INFO] [stdout] 858dadc667a9e86d1ff16128ab04111a935c6acf7b1acb6800231ae7e69b956d