[INFO] fetching crate percy-webapis 0.0.2... [INFO] checking percy-webapis-0.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate percy-webapis 0.0.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate percy-webapis 0.0.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate percy-webapis 0.0.2 [INFO] finished tweaking crates.io crate percy-webapis 0.0.2 [INFO] tweaked toml for crates.io crate percy-webapis 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 835a2a92ae7fdaeda02efb6453734cac4c2e254dc8fd362bc7c153cf4524bc76 [INFO] running `Command { std: "docker" "start" "-a" "835a2a92ae7fdaeda02efb6453734cac4c2e254dc8fd362bc7c153cf4524bc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "835a2a92ae7fdaeda02efb6453734cac4c2e254dc8fd362bc7c153cf4524bc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835a2a92ae7fdaeda02efb6453734cac4c2e254dc8fd362bc7c153cf4524bc76", kill_on_drop: false }` [INFO] [stdout] 835a2a92ae7fdaeda02efb6453734cac4c2e254dc8fd362bc7c153cf4524bc76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c38ba68becd2e736966b5ae9840a32c538823a7f49e39c8daa34b297959c7623 [INFO] running `Command { std: "docker" "start" "-a" "c38ba68becd2e736966b5ae9840a32c538823a7f49e39c8daa34b297959c7623", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking percy-webapis v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_event_listener(this: &Element, event: &str, cb: &Closure); [INFO] [stdout] | ^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:57:75 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_event_listener(this: &Element, event: &str, cb: &Closure); [INFO] [stdout] | ^ unresolved import [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HTMLCanvasElement` in this scope [INFO] [stdout] --> src/lib.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HTMLCanvasElement` in this scope [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | impl Clone for Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone(&self) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Element` in this scope [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_element(this: &HTMLDocument, tag: &str) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_element_by_id(this: &HTMLDocument, id: &str) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HTMLCanvasElement` in this scope [INFO] [stdout] --> src/lib.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HTMLCanvasElement` in this scope [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn create_canvas_element(this: &HTMLDocument, tag: &str) -> HTMLCanvasElement; [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | impl Clone for Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone(&self) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Element` in this scope [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/lib.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `percy-webapis` (lib test) due to 15 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `percy-webapis` (lib) due to 15 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c38ba68becd2e736966b5ae9840a32c538823a7f49e39c8daa34b297959c7623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38ba68becd2e736966b5ae9840a32c538823a7f49e39c8daa34b297959c7623", kill_on_drop: false }` [INFO] [stdout] c38ba68becd2e736966b5ae9840a32c538823a7f49e39c8daa34b297959c7623