[INFO] fetching crate custom-elements 0.2.0... [INFO] testing custom-elements-0.2.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate custom-elements 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate custom-elements 0.2.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f3bca86b227a51018dac224a80fc92111b23b407c9105e6af096cbd14a235b [INFO] running `Command { std: "docker" "start" "-a" "13f3bca86b227a51018dac224a80fc92111b23b407c9105e6af096cbd14a235b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f3bca86b227a51018dac224a80fc92111b23b407c9105e6af096cbd14a235b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f3bca86b227a51018dac224a80fc92111b23b407c9105e6af096cbd14a235b", kill_on_drop: false }` [INFO] [stdout] 13f3bca86b227a51018dac224a80fc92111b23b407c9105e6af096cbd14a235b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31bdd4fe003c9e734328159a9316dab93c851c51a239813fa53167fd969329fa [INFO] running `Command { std: "docker" "start" "-a" "31bdd4fe003c9e734328159a9316dab93c851c51a239813fa53167fd969329fa", 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.29s [INFO] running `Command { std: "docker" "inspect" "31bdd4fe003c9e734328159a9316dab93c851c51a239813fa53167fd969329fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bdd4fe003c9e734328159a9316dab93c851c51a239813fa53167fd969329fa", kill_on_drop: false }` [INFO] [stdout] 31bdd4fe003c9e734328159a9316dab93c851c51a239813fa53167fd969329fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9384b84a6163ca23c5aeb5eb383553f9d7b6994c565dde53e52dabc51a610546 [INFO] running `Command { std: "docker" "start" "-a" "9384b84a6163ca23c5aeb5eb383553f9d7b6994c565dde53e52dabc51a610546", 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.72s [INFO] running `Command { std: "docker" "inspect" "9384b84a6163ca23c5aeb5eb383553f9d7b6994c565dde53e52dabc51a610546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9384b84a6163ca23c5aeb5eb383553f9d7b6994c565dde53e52dabc51a610546", kill_on_drop: false }` [INFO] [stdout] 9384b84a6163ca23c5aeb5eb383553f9d7b6994c565dde53e52dabc51a610546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebd718ed729f8cc13d286f0f3d645457103dbec0ae96bd7bb6ed97c9b4b2ba48 [INFO] running `Command { std: "docker" "start" "-a" "ebd718ed729f8cc13d286f0f3d645457103dbec0ae96bd7bb6ed97c9b4b2ba48", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/custom_elements-d47b4ba4f8c35fe4) [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] 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] = note: 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[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 - 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] = note: 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] = note: 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 - (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] = note: 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[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.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ebd718ed729f8cc13d286f0f3d645457103dbec0ae96bd7bb6ed97c9b4b2ba48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd718ed729f8cc13d286f0f3d645457103dbec0ae96bd7bb6ed97c9b4b2ba48", kill_on_drop: false }` [INFO] [stdout] ebd718ed729f8cc13d286f0f3d645457103dbec0ae96bd7bb6ed97c9b4b2ba48