[INFO] fetching crate custom-elements 0.2.0...
[INFO] testing custom-elements-0.2.0 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate custom-elements 0.2.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate custom-elements 0.2.0 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate custom-elements 0.2.0
[INFO] finished tweaking crates.io crate custom-elements 0.2.0
[INFO] tweaked toml for crates.io crate custom-elements 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 207b2c41efaec9bab1a229b1c6ecce9a5a08454e58966e9365951c1cce70b50d
[INFO] running `Command { std: "docker" "start" "-a" "207b2c41efaec9bab1a229b1c6ecce9a5a08454e58966e9365951c1cce70b50d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "207b2c41efaec9bab1a229b1c6ecce9a5a08454e58966e9365951c1cce70b50d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "207b2c41efaec9bab1a229b1c6ecce9a5a08454e58966e9365951c1cce70b50d", kill_on_drop: false }`
[INFO] [stdout] 207b2c41efaec9bab1a229b1c6ecce9a5a08454e58966e9365951c1cce70b50d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3affa71f980fcc585d56194161655000e56cbd55fcc47702f3bdcd751b23ccfe
[INFO] running `Command { std: "docker" "start" "-a" "3affa71f980fcc585d56194161655000e56cbd55fcc47702f3bdcd751b23ccfe", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.84
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bumpalo v3.12.1
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.84
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.84
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.84
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.84
[INFO] [stderr]    Compiling js-sys v0.3.61
[INFO] [stderr]    Compiling web-sys v0.3.61
[INFO] [stderr]    Compiling custom-elements v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static variable `HtmlElementConstructor` should have an upper case name
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HTML_ELEMENT_CONSTRUCTOR`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.77s
[INFO] running `Command { std: "docker" "inspect" "3affa71f980fcc585d56194161655000e56cbd55fcc47702f3bdcd751b23ccfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3affa71f980fcc585d56194161655000e56cbd55fcc47702f3bdcd751b23ccfe", kill_on_drop: false }`
[INFO] [stdout] 3affa71f980fcc585d56194161655000e56cbd55fcc47702f3bdcd751b23ccfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95d6a05bbb33299b53cfea7fd43ba828df729d7dc2e92bcdcbc6f157015cef07
[INFO] running `Command { std: "docker" "start" "-a" "95d6a05bbb33299b53cfea7fd43ba828df729d7dc2e92bcdcbc6f157015cef07", kill_on_drop: false }`
[INFO] [stderr]    Compiling custom-elements v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static variable `HtmlElementConstructor` should have an upper case name
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HTML_ELEMENT_CONSTRUCTOR`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `HtmlElementConstructor` should have an upper case name
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HTML_ELEMENT_CONSTRUCTOR`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "95d6a05bbb33299b53cfea7fd43ba828df729d7dc2e92bcdcbc6f157015cef07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95d6a05bbb33299b53cfea7fd43ba828df729d7dc2e92bcdcbc6f157015cef07", kill_on_drop: false }`
[INFO] [stdout] 95d6a05bbb33299b53cfea7fd43ba828df729d7dc2e92bcdcbc6f157015cef07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 01e71976cd0aca065138703f3a127ea8e23b05237c0f0c02b294dcfd10eb8105
[INFO] running `Command { std: "docker" "start" "-a" "01e71976cd0aca065138703f3a127ea8e23b05237c0f0c02b294dcfd10eb8105", kill_on_drop: false }`
[INFO] [stderr] warning: static variable `HtmlElementConstructor` should have an upper case name
[INFO] [stderr]    --> src/lib.rs:308:16
[INFO] [stderr]     |
[INFO] [stderr] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HTML_ELEMENT_CONSTRUCTOR`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `custom-elements` (lib) generated 1 warning
[INFO] [stderr] warning: `custom-elements` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/custom_elements-76edc011a7dd7c07)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests custom-elements
[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 3 tests
[INFO] [stdout] test src/lib.rs - CustomElement::superclass (line 113) ... FAILED
[INFO] [stdout] test src/lib.rs - CustomElement::define (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - CustomElement::superclass (line 113) stdout ----
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]  --> src/lib.rs:114:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[wasm_bindgen]
[INFO] [stdout]   |   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this attribute macro:
[INFO] [stdout]           wasm_bindgen::prelude::wasm_bindgen
[INFO] [stdout]   = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]  --> src/lib.rs:116:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[wasm_bindgen(js_name = HTMLParagraphElement, js_namespace = window)]
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this attribute macro:
[INFO] [stdout]           wasm_bindgen::prelude::wasm_bindgen
[INFO] [stdout]   = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]  --> src/lib.rs:119:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl CustomElement for MyComponent {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use custom_elements::CustomElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyComponent` in this scope
[INFO] [stdout]  --> src/lib.rs:119:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl CustomElement for MyComponent {
[INFO] [stdout]   |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - CustomElement::define (line 133) stdout ----
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]  --> src/lib.rs:134:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl CustomElement for MyCustomElement { /* ... */  */}
[INFO] [stdout]   |                                        -            ^ - item list ends here
[INFO] [stdout]   |                                        |            |
[INFO] [stdout]   |                                        |            non-item starts here
[INFO] [stdout]   |                                        item list starts here
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]  --> src/lib.rs:135:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[wasm_bindgen]
[INFO] [stdout]   |   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this attribute macro:
[INFO] [stdout]           wasm_bindgen::prelude::wasm_bindgen
[INFO] [stdout]   = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]  --> src/lib.rs:134:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl CustomElement for MyCustomElement { /* ... */  */}
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use custom_elements::CustomElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyCustomElement` in this scope
[INFO] [stdout]  --> src/lib.rs:134:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl CustomElement for MyCustomElement { /* ... */  */}
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyCustomElement`
[INFO] [stdout]  --> src/lib.rs:137:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     MyCustomElement::define("my-component");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared type `MyCustomElement`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 6) stdout ----
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> src/lib.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this attribute macro:
[INFO] [stdout]            wasm_bindgen::prelude::wasm_bindgen
[INFO] [stdout]    = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]  --> src/lib.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl CustomElement for MyWebComponent {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use custom_elements::CustomElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyWebComponent` in this scope
[INFO] [stdout]  --> src/lib.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl CustomElement for MyWebComponent {
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]  --> src/lib.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn inject_children(&mut self, this: &HtmlElement) {
[INFO] [stdout]   |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use web_sys::HtmlElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `inject_style` in this scope
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 6 |       inject_style(&this, "p { color: green; }");
[INFO] [stdout]   |       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use custom_elements::inject_style;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |       _this: &HtmlElement,
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 27 |   fn connected_callback(&mut self, _this: &HtmlElement) {
[INFO] [stdout]    |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |       log("connected");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use js_sys::Math::log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn disconnected_callback(&mut self, _this: &HtmlElement) {
[INFO] [stdout]    |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |       log("disconnected");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use js_sys::Math::log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:38:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |   fn adopted_callback(&mut self, _this: &HtmlElement) {
[INFO] [stdout]    |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |       log("adopted");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use js_sys::Math::log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyWebComponent`
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     MyWebComponent::define("my-component");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared type `MyWebComponent`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 6)
[INFO] [stdout]     src/lib.rs - CustomElement::define (line 133)
[INFO] [stdout]     src/lib.rs - CustomElement::superclass (line 113)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "01e71976cd0aca065138703f3a127ea8e23b05237c0f0c02b294dcfd10eb8105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01e71976cd0aca065138703f3a127ea8e23b05237c0f0c02b294dcfd10eb8105", kill_on_drop: false }`
[INFO] [stdout] 01e71976cd0aca065138703f3a127ea8e23b05237c0f0c02b294dcfd10eb8105
