[INFO] fetching crate convert-js 1.0.0-alpha.15... [INFO] testing convert-js-1.0.0-alpha.15 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate convert-js 1.0.0-alpha.15 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate convert-js 1.0.0-alpha.15 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate convert-js 1.0.0-alpha.15 [INFO] finished tweaking crates.io crate convert-js 1.0.0-alpha.15 [INFO] tweaked toml for crates.io crate convert-js 1.0.0-alpha.15 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7133dc22f2700f097a7e3b26635bea5a030074f1ffea33fd1c202cda7e32f286 [INFO] running `Command { std: "docker" "start" "-a" "7133dc22f2700f097a7e3b26635bea5a030074f1ffea33fd1c202cda7e32f286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7133dc22f2700f097a7e3b26635bea5a030074f1ffea33fd1c202cda7e32f286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7133dc22f2700f097a7e3b26635bea5a030074f1ffea33fd1c202cda7e32f286", kill_on_drop: false }` [INFO] [stdout] 7133dc22f2700f097a7e3b26635bea5a030074f1ffea33fd1c202cda7e32f286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53cbf84829abc11a2b0a1f57843749cbec68715c315f14d66edba7eaa6dd331f [INFO] running `Command { std: "docker" "start" "-a" "53cbf84829abc11a2b0a1f57843749cbec68715c315f14d66edba7eaa6dd331f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling convert-js-macros v1.0.0-alpha.15 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling convert-js v1.0.0-alpha.15 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.99s [INFO] running `Command { std: "docker" "inspect" "53cbf84829abc11a2b0a1f57843749cbec68715c315f14d66edba7eaa6dd331f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53cbf84829abc11a2b0a1f57843749cbec68715c315f14d66edba7eaa6dd331f", kill_on_drop: false }` [INFO] [stdout] 53cbf84829abc11a2b0a1f57843749cbec68715c315f14d66edba7eaa6dd331f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30a06dcd7fe84fbb5e3931092a3377fb168f4927f289a8566c496f90220b642c [INFO] running `Command { std: "docker" "start" "-a" "30a06dcd7fe84fbb5e3931092a3377fb168f4927f289a8566c496f90220b642c", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.30 [INFO] [stderr] Compiling convert-js v1.0.0-alpha.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `js_test` [INFO] [stdout] --> tests/derive_with_generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use js_test::deep_equal; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [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 E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `convert-js` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_test` [INFO] [stdout] --> tests/macro_js.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(js_test::object::is_empty_object_with_object_proto(&obj)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_test` [INFO] [stdout] --> tests/macro_js.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(js_test::deep_equal( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_test` [INFO] [stdout] --> tests/macro_js.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(js_test::deep_equal( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/macro_js.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | "k": jsv!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | 1: 0.5, [INFO] [stdout] 48 | | v, [INFO] [stdout] 49 | | arr: jsv!([1, 2, "3"]), [INFO] [stdout] 50 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/macro_js.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | "k": jsv!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | 1: 0.5, [INFO] [stdout] 48 | | v, [INFO] [stdout] 49 | | arr: jsv!([1, 2, "3"]), [INFO] [stdout] 50 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for f32; [INFO] [stdout] - impl ToJs for f64; [INFO] [stdout] note: required by a bound in `JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `[{integer}; 2]` [INFO] [stdout] --> tests/macro_js.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 44 | let v = [1, 2]; [INFO] [stdout] | - consider giving `v` the explicit type `[{integer}; 2]`, where the type parameter `{integer}` is specified [INFO] [stdout] 45 | let obj = jsv!({ [INFO] [stdout] 46 | "k": jsv!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | 1: 0.5, [INFO] [stdout] 48 | | v, [INFO] [stdout] 49 | | arr: jsv!([1, 2, "3"]), [INFO] [stdout] 50 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `ToJs` for `[{integer}; 2]` [INFO] [stdout] note: required by a bound in `JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/macro_js.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | arr: jsv!([1, 2, "3"]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `js_test` [INFO] [stdout] --> tests/derive_to_js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_test::deep_equal; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `convert-js` due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_test` [INFO] [stdout] --> tests/derive_to_js.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(js_test::deep_equal(&js, &expect)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_test` [INFO] [stdout] --> tests/derive_to_js.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(js_test::deep_equal(&js, &expect)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `js_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | position: jsv!({ x: -3.2, y: 7.4 }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for f32; [INFO] [stdout] - impl ToJs for f64; [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | position: jsv!({ x: -3.2, y: 7.4 }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for f32; [INFO] [stdout] - impl ToJs for f64; [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | x: js_sys::Number::from(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `js_sys::Number: From<{integer}>` found in the `js_sys` crate: [INFO] [stdout] - impl From for js_sys::Number; [INFO] [stdout] - impl From for js_sys::Number; [INFO] [stdout] - impl From for js_sys::Number; [INFO] [stdout] - impl From for js_sys::Number; [INFO] [stdout] and 2 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let expected = jsv!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 125 | | x: 1, [INFO] [stdout] 126 | | date1: &js_sys::Date::new(&"2021-01-01T00:00:00+0800".into()), [INFO] [stdout] 127 | | date2: &js_sys::Date::new(&"2021-01-02T00:00:00+0800".into()), [INFO] [stdout] 128 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(deep_equal(&Array2(false, 1).to_js(), &jsv!([false, 1]))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | &jsv!([true, -4, jsv!(undefined), jsv!(null), jsv!(undefined)]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | &jsv!([0, 1, -1, f64::NAN, f64::NAN, f64::NAN]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let expected = jsv!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 199 | | value: "my_value", [INFO] [stdout] 200 | | myData: 1, [INFO] [stdout] 201 | | AnotherData: 0, [INFO] [stdout] 202 | | type: "obj", [INFO] [stdout] 203 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let expected = jsv!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 199 | | value: "my_value", [INFO] [stdout] 200 | | myData: 1, [INFO] [stdout] 201 | | AnotherData: 0, [INFO] [stdout] 202 | | type: "obj", [INFO] [stdout] 203 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:280:58 [INFO] [stdout] | [INFO] [stdout] 280 | assert!(deep_equal(&MyUnion::UnaryTuple(9).to_js(), &jsv!([9]))); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | &jsv!([-3.0, true]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for f32; [INFO] [stdout] - impl ToJs for f64; [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | jsv!({ a: 1, b: "" }).as_ref(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:327:58 [INFO] [stdout] | [INFO] [stdout] 327 | assert!(deep_equal(&MyUnion::UnaryTuple(9).to_js(), &jsv!([9]))); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | &jsv!([-3.0, true]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for f32; [INFO] [stdout] - impl ToJs for f64; [INFO] [stdout] = note: this error originates in the macro `jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | jsv!({ "my-a": 1, "my-b": "my_value" }).as_ref(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive_to_js.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | jsv!({ "myA": 1, "myB": "my value" }).as_ref(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToJs` found in the `convert_js` crate: [INFO] [stdout] - impl ToJs for i128; [INFO] [stdout] - impl ToJs for i16; [INFO] [stdout] - impl ToJs for i32; [INFO] [stdout] - impl ToJs for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] --> /opt/rustwide/workdir/src/./internal/js_object.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_prop(&self, key: &K, v: &V) -> &Self { [INFO] [stdout] | ^^^^ required by this bound in `convert_js::__internal::JsObject::set_prop` [INFO] [stdout] = note: this error originates in the macro `$crate::jsv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 49 | $obj.set_prop::( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `convert-js` due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "30a06dcd7fe84fbb5e3931092a3377fb168f4927f289a8566c496f90220b642c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a06dcd7fe84fbb5e3931092a3377fb168f4927f289a8566c496f90220b642c", kill_on_drop: false }` [INFO] [stdout] 30a06dcd7fe84fbb5e3931092a3377fb168f4927f289a8566c496f90220b642c