[INFO] fetching crate custom-elements 0.2.0... [INFO] testing custom-elements-0.2.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate custom-elements 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate custom-elements 0.2.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 797de4855f3901662b401eb18cc8bbff9e444e02ce88c9332ea547dc2f4f29b9 [INFO] running `Command { std: "docker" "start" "-a" "797de4855f3901662b401eb18cc8bbff9e444e02ce88c9332ea547dc2f4f29b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "797de4855f3901662b401eb18cc8bbff9e444e02ce88c9332ea547dc2f4f29b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797de4855f3901662b401eb18cc8bbff9e444e02ce88c9332ea547dc2f4f29b9", kill_on_drop: false }` [INFO] [stdout] 797de4855f3901662b401eb18cc8bbff9e444e02ce88c9332ea547dc2f4f29b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c6a6caffd11222714ab0504a7d47a75f9d8fd059e77ff9967c5922a38644e1 [INFO] running `Command { std: "docker" "start" "-a" "72c6a6caffd11222714ab0504a7d47a75f9d8fd059e77ff9967c5922a38644e1", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.77 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.77 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.77 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.77 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.77 [INFO] [stderr] Compiling js-sys v0.3.54 [INFO] [stderr] Compiling web-sys v0.3.54 [INFO] [stderr] Compiling custom-elements v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.21s [INFO] running `Command { std: "docker" "inspect" "72c6a6caffd11222714ab0504a7d47a75f9d8fd059e77ff9967c5922a38644e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c6a6caffd11222714ab0504a7d47a75f9d8fd059e77ff9967c5922a38644e1", kill_on_drop: false }` [INFO] [stdout] 72c6a6caffd11222714ab0504a7d47a75f9d8fd059e77ff9967c5922a38644e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90a7f9a5be8997a69b905b9d1e5609a281d3c63a961d1d211926bfd90ef65e7f [INFO] running `Command { std: "docker" "start" "-a" "90a7f9a5be8997a69b905b9d1e5609a281d3c63a961d1d211926bfd90ef65e7f", kill_on_drop: false }` [INFO] [stderr] Compiling custom-elements v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "90a7f9a5be8997a69b905b9d1e5609a281d3c63a961d1d211926bfd90ef65e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a7f9a5be8997a69b905b9d1e5609a281d3c63a961d1d211926bfd90ef65e7f", kill_on_drop: false }` [INFO] [stdout] 90a7f9a5be8997a69b905b9d1e5609a281d3c63a961d1d211926bfd90ef65e7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2f81cd5f2ebca91198970892f5df458e613423d58803ef0d93727cb83f34f18 [INFO] running `Command { std: "docker" "start" "-a" "a2f81cd5f2ebca91198970892f5df458e613423d58803ef0d93727cb83f34f18", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/custom_elements-56e7f1c74900b8b9) [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::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] 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] 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] 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[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: 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] 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[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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | 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] 3 | use js_sys::Math::log; [INFO] [stdout] | [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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a2f81cd5f2ebca91198970892f5df458e613423d58803ef0d93727cb83f34f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f81cd5f2ebca91198970892f5df458e613423d58803ef0d93727cb83f34f18", kill_on_drop: false }` [INFO] [stdout] a2f81cd5f2ebca91198970892f5df458e613423d58803ef0d93727cb83f34f18