[INFO] fetching crate js-helpers 0.1.7... [INFO] testing js-helpers-0.1.7 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate js-helpers 0.1.7 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate js-helpers 0.1.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate js-helpers 0.1.7 [INFO] tweaked toml for crates.io crate js-helpers 0.1.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate js-helpers 0.1.7 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 112aa6d47cdbe82b7e6a989e69792fa3e0b4f21c09eb06396be40cce739f7e90 [INFO] running `Command { std: "docker" "start" "-a" "112aa6d47cdbe82b7e6a989e69792fa3e0b4f21c09eb06396be40cce739f7e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "112aa6d47cdbe82b7e6a989e69792fa3e0b4f21c09eb06396be40cce739f7e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112aa6d47cdbe82b7e6a989e69792fa3e0b4f21c09eb06396be40cce739f7e90", kill_on_drop: false }` [INFO] [stdout] 112aa6d47cdbe82b7e6a989e69792fa3e0b4f21c09eb06396be40cce739f7e90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c95146c51a79616f82b4230dbecb4f629c8bbdd0f6cb385677149339450101 [INFO] running `Command { std: "docker" "start" "-a" "86c95146c51a79616f82b4230dbecb4f629c8bbdd0f6cb385677149339450101", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.117 [INFO] [stderr] Compiling js-sys v0.3.94 [INFO] [stderr] Compiling web-sys v0.3.94 [INFO] [stderr] Compiling js-helpers v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.57s [INFO] running `Command { std: "docker" "inspect" "86c95146c51a79616f82b4230dbecb4f629c8bbdd0f6cb385677149339450101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c95146c51a79616f82b4230dbecb4f629c8bbdd0f6cb385677149339450101", kill_on_drop: false }` [INFO] [stdout] 86c95146c51a79616f82b4230dbecb4f629c8bbdd0f6cb385677149339450101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 165660be612353a38aa9297592a6876911d0384ef5cf870b711970aae0f211da [INFO] running `Command { std: "docker" "start" "-a" "165660be612353a38aa9297592a6876911d0384ef5cf870b711970aae0f211da", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling wasm-bindgen-test-shared v0.2.117 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.67 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling js-sys v0.3.94 [INFO] [stderr] Compiling web-sys v0.3.94 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.67 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.67 [INFO] [stderr] Compiling js-helpers v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | let add = ::web_sys::js_sys::Function::new_with_args("a, b", "return a + b;"); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | sub: ::web_sys::js_sys::Function::new_with_args("a, b", "return a - b;"), [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | stuff: ::web_sys::js_sys::Function::new_with_args("a, b", "return { x: a, y: { z: b } };"), [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | deeper: ::web_sys::js_sys::Function::new_with_args("a, b", "return (c) => () => a * b + c;") [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | let f1 = ::js_helpers::js!((a, b) => a + b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | let f2 = ::js_helpers::js!((x) => x * 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | let f3 = ::js_helpers::js!(z => z - 5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | let f4 = ::js_helpers::js!(z => { return z + 1; }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | let f5 = ::js_helpers::js!((f2 => (z, w) => z * w * f2(w))(f2)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let f6 = ::js_helpers::js!(function (a, b) { return a * b + 1; }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let f = ::js_helpers::js!((a, b) => a + " " + b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_args` found for struct `Function<_>` in the current scope [INFO] [stdout] --> tests/js.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let g = ::js_helpers::js!((x, y) => x[y]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Function<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Function<_>`, consider using `Function::::from_closure` which returns `Function<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.94/src/lib.rs:4765:5 [INFO] [stdout] | [INFO] [stdout] 4765 | / pub fn from_closure(closure: ScopedClosure<'static, C>) -> Self [INFO] [stdout] 4766 | | where [INFO] [stdout] 4767 | | F: FunctionIntoClosure, [INFO] [stdout] 4768 | | C: WasmClosure + ?Sized, [INFO] [stdout] 4769 | | ::ClosureTypeMut: UpcastFrom<::AsMut>, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] = note: this error originates in the macro `$crate::js` which comes from the expansion of the macro `::js_helpers::js` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `js-helpers` (test "js") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "165660be612353a38aa9297592a6876911d0384ef5cf870b711970aae0f211da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165660be612353a38aa9297592a6876911d0384ef5cf870b711970aae0f211da", kill_on_drop: false }` [INFO] [stdout] 165660be612353a38aa9297592a6876911d0384ef5cf870b711970aae0f211da