[INFO] fetching crate custom-elements 0.2.1...
[INFO] testing custom-elements-0.2.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate custom-elements 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate custom-elements 0.2.1
[INFO] finished tweaking crates.io crate custom-elements 0.2.1
[INFO] tweaked toml for crates.io crate custom-elements 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate custom-elements 0.2.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75a4dd7fd1901185d408fc66e2d788e7c74b4e2ccf3b865049754f6abebbf1f9
[INFO] running `Command { std: "docker" "start" "-a" "75a4dd7fd1901185d408fc66e2d788e7c74b4e2ccf3b865049754f6abebbf1f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75a4dd7fd1901185d408fc66e2d788e7c74b4e2ccf3b865049754f6abebbf1f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75a4dd7fd1901185d408fc66e2d788e7c74b4e2ccf3b865049754f6abebbf1f9", kill_on_drop: false }`
[INFO] [stdout] 75a4dd7fd1901185d408fc66e2d788e7c74b4e2ccf3b865049754f6abebbf1f9
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 36da601415f95d4a3738f4651754a2dd8bc0398c9d8f318d357fb66ffa385043
[INFO] running `Command { std: "docker" "start" "-a" "36da601415f95d4a3738f4651754a2dd8bc0398c9d8f318d357fb66ffa385043", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]    Compiling js-sys v0.3.85
[INFO] [stderr]    Compiling web-sys v0.3.85
[INFO] [stderr]    Compiling custom-elements v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated static `HtmlElementConstructor`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |         (None, &HtmlElementConstructor)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.95s
[INFO] running `Command { std: "docker" "inspect" "36da601415f95d4a3738f4651754a2dd8bc0398c9d8f318d357fb66ffa385043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36da601415f95d4a3738f4651754a2dd8bc0398c9d8f318d357fb66ffa385043", kill_on_drop: false }`
[INFO] [stdout] 36da601415f95d4a3738f4651754a2dd8bc0398c9d8f318d357fb66ffa385043
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0a41121368887435226e8949912192638d3b468ffae36f35bde2df7027a42dcc
[INFO] running `Command { std: "docker" "start" "-a" "0a41121368887435226e8949912192638d3b468ffae36f35bde2df7027a42dcc", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated static `HtmlElementConstructor`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |         (None, &HtmlElementConstructor)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling custom-elements v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated static `HtmlElementConstructor`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |         (None, &HtmlElementConstructor)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stdout]    --> src/lib.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "0a41121368887435226e8949912192638d3b468ffae36f35bde2df7027a42dcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a41121368887435226e8949912192638d3b468ffae36f35bde2df7027a42dcc", kill_on_drop: false }`
[INFO] [stdout] 0a41121368887435226e8949912192638d3b468ffae36f35bde2df7027a42dcc
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a1b7cb7dea470725daed6403d465a93361bfb46c124eacecfe4ceee914109954
[INFO] running `Command { std: "docker" "start" "-a" "a1b7cb7dea470725daed6403d465a93361bfb46c124eacecfe4ceee914109954", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stderr]    --> src/lib.rs:308:16
[INFO] [stderr]     |
[INFO] [stderr] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated static `HtmlElementConstructor`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stderr]    --> src/lib.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |         (None, &HtmlElementConstructor)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead
[INFO] [stderr]    --> src/lib.rs:308:16
[INFO] [stderr]     |
[INFO] [stderr] 308 |     pub static HtmlElementConstructor: js_sys::Function;
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `custom-elements` (lib) generated 4 warnings
[INFO] [stderr] warning: `custom-elements` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/custom-elements/9009b7647d69a3fe/deps/custom_elements-9009b7647d69a3fe)
[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] [stderr]    Doc-tests custom_elements
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - CustomElement::define (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - CustomElement::superclass (line 113) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 134 | 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] 135 | #[wasm_bindgen]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 133 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]    --> src/lib.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl CustomElement for MyCustomElement { /* ... */  */}
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 133 + use custom_elements::CustomElement;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyCustomElement` in this scope
[INFO] [stdout]    --> src/lib.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 | 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] 137 |     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, E0425, 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 - 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] 114 | #[wasm_bindgen]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 113 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]    --> src/lib.rs:116:7
[INFO] [stdout]     |
[INFO] [stdout] 116 |     #[wasm_bindgen(js_name = HTMLParagraphElement, js_namespace = window)]
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 113 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]    --> src/lib.rs:119:6
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl CustomElement for MyComponent {
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 113 + use custom_elements::CustomElement;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyComponent` in this scope
[INFO] [stdout]    --> src/lib.rs:119:24
[INFO] [stdout]     |
[INFO] [stdout] 119 | 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, E0425.
[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:44:3
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `wasm_bindgen` is an attribute that can be used by the derive macro `BindgenedStruct`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  5 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CustomElement` in this scope
[INFO] [stdout]  --> src/lib.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl CustomElement for MyWebComponent {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 5 + use custom_elements::CustomElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyWebComponent` in this scope
[INFO] [stdout]  --> src/lib.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl CustomElement for MyWebComponent {
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]  --> src/lib.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |   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] 5 + 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:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |       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]  5 + use custom_elements::inject_style;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |       _this: &HtmlElement,
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |   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]  5 + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |       log("connected");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  5 + use js_sys::Math::log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 |   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]  5 + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |       log("disconnected");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  5 + use js_sys::Math::log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HtmlElement` in this scope
[INFO] [stdout]   --> src/lib.rs:39:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |   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]  5 + use web_sys::HtmlElement;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]   --> src/lib.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |       log("adopted");
[INFO] [stdout]    |       ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  5 + 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:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     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, 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.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a1b7cb7dea470725daed6403d465a93361bfb46c124eacecfe4ceee914109954", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1b7cb7dea470725daed6403d465a93361bfb46c124eacecfe4ceee914109954", kill_on_drop: false }`
[INFO] [stdout] a1b7cb7dea470725daed6403d465a93361bfb46c124eacecfe4ceee914109954
