[INFO] fetching crate js-helpers 0.1.7... [INFO] testing js-helpers-0.1.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate js-helpers 0.1.7 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate js-helpers 0.1.7 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22edcf6d0ce1e90ff971043f93165cab8d0a48429d1f7698707e803bc8ec02fd [INFO] running `Command { std: "docker" "start" "-a" "22edcf6d0ce1e90ff971043f93165cab8d0a48429d1f7698707e803bc8ec02fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22edcf6d0ce1e90ff971043f93165cab8d0a48429d1f7698707e803bc8ec02fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22edcf6d0ce1e90ff971043f93165cab8d0a48429d1f7698707e803bc8ec02fd", kill_on_drop: false }` [INFO] [stdout] 22edcf6d0ce1e90ff971043f93165cab8d0a48429d1f7698707e803bc8ec02fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b210004efc7937df93681a237bc3df3c6dae3a8c20898d47e66e308c23dfd1 [INFO] running `Command { std: "docker" "start" "-a" "a6b210004efc7937df93681a237bc3df3c6dae3a8c20898d47e66e308c23dfd1", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling js-sys v0.3.82 [INFO] [stderr] Compiling web-sys v0.3.82 [INFO] [stderr] Compiling js-helpers v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.53s [INFO] running `Command { std: "docker" "inspect" "a6b210004efc7937df93681a237bc3df3c6dae3a8c20898d47e66e308c23dfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b210004efc7937df93681a237bc3df3c6dae3a8c20898d47e66e308c23dfd1", kill_on_drop: false }` [INFO] [stdout] a6b210004efc7937df93681a237bc3df3c6dae3a8c20898d47e66e308c23dfd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a16e2432df29dd1ed9a7a4471583a0dd3a4f4c63a08e4632cbe315869151a0 [INFO] running `Command { std: "docker" "start" "-a" "24a16e2432df29dd1ed9a7a4471583a0dd3a4f4c63a08e4632cbe315869151a0", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.55 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.55 [INFO] [stderr] Compiling js-helpers v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "24a16e2432df29dd1ed9a7a4471583a0dd3a4f4c63a08e4632cbe315869151a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a16e2432df29dd1ed9a7a4471583a0dd3a4f4c63a08e4632cbe315869151a0", kill_on_drop: false }` [INFO] [stdout] 24a16e2432df29dd1ed9a7a4471583a0dd3a4f4c63a08e4632cbe315869151a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63bffcb798ab5c902c1e1d056581c2eb11f9eed4b71301b838f5ef2a6d3757bc [INFO] running `Command { std: "docker" "start" "-a" "63bffcb798ab5c902c1e1d056581c2eb11f9eed4b71301b838f5ef2a6d3757bc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_helpers-37046647d9ad3dd8) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/js.rs (/opt/rustwide/target/debug/deps/js-0df6e7c117a38114) [INFO] [stdout] [INFO] [stderr] Doc-tests js_helpers [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - (line 94) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 113) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 82) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let f = js!((x, y) => x + y).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 82 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let g = js!(somethingAsync().then(res => res.body)).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 82 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let h = js!(function (x, y, z) { return x + y * z; }).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 82 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 94) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let my_obj = js!({ hello: true, world: 56 }).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 94 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let f = js!((my_obj => (x, y) => x + y + my_obj.world)(my_obj)).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 94 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 62) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | let val = js!(my_obj?.foo?.bar?.baz).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 62 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 113) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | js!(window.username = window.sessions[window.sessionId].getState().username).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 113 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | js!(window.console.log("status", {"active": "on", "inactive": "off"}[window.status])).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 113 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | let my_num = js!(45).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 35 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let my_str = js!("hello world").unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 35 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let my_arr = js!([ 1, true, null, undefined, "test" ]).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 35 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | let my_obj = js!({ name: "john", "with space": true, my_arr }).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 35 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | &JsValue::from(web_sys::window().unwrap()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | &JsValue::from("foo"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | &JsValue::from("bar") [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reflect` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | Reflect::set( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Reflect` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | let my_obj = js!({ name: "john", "with space": true, my_arr: [1, 2, 3] }).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 52 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | js!(my_obj.name = "kevin").unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 52 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | js!(my_obj["with space"] = 17).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 52 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | js!(my_obj.my_arr[1] = { hello: true, world: false }).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 52 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | js!(window.foo = "bar").unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 21 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let my_obj = ...; // pretend we have an object with functions [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 71 - let my_obj = ...; // pretend we have an object with functions [INFO] [stdout] 71 + let my_obj = ..; // pretend we have an object with functions [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 71 - let my_obj = ...; // pretend we have an object with functions [INFO] [stdout] 71 + let my_obj = ..=; // pretend we have an object with functions [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let my_obj = ...; // pretend we have an object with functions [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 71 - let my_obj = ...; // pretend we have an object with functions [INFO] [stdout] 71 + let my_obj = ..; // pretend we have an object with functions [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | js!(my_obj.foo(1, 2, 3)).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 70 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `js` in this scope [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | js!(window.open("http://google.com", "_blank")).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 70 + use js_helpers::js; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - (line 113) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] src/lib.rs - (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63bffcb798ab5c902c1e1d056581c2eb11f9eed4b71301b838f5ef2a6d3757bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bffcb798ab5c902c1e1d056581c2eb11f9eed4b71301b838f5ef2a6d3757bc", kill_on_drop: false }` [INFO] [stdout] 63bffcb798ab5c902c1e1d056581c2eb11f9eed4b71301b838f5ef2a6d3757bc