[INFO] fetching crate percy-webapis 0.0.2... [INFO] checking percy-webapis-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate percy-webapis 0.0.2 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate percy-webapis 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e624522e0204820c4c14ae21cbea2948227537eacada97250f3b27a0def8075 [INFO] running `Command { std: "docker" "start" "-a" "0e624522e0204820c4c14ae21cbea2948227537eacada97250f3b27a0def8075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e624522e0204820c4c14ae21cbea2948227537eacada97250f3b27a0def8075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e624522e0204820c4c14ae21cbea2948227537eacada97250f3b27a0def8075", kill_on_drop: false }` [INFO] [stdout] 0e624522e0204820c4c14ae21cbea2948227537eacada97250f3b27a0def8075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e24d4743c781e87350d12ee3a89f199ab8d1e9ad5586ddaa7c71e49c005df543 [INFO] running `Command { std: "docker" "start" "-a" "e24d4743c781e87350d12ee3a89f199ab8d1e9ad5586ddaa7c71e49c005df543", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [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[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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 86 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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: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] 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] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` 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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [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] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 7 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn body(this: &HTMLDocument) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 86 | #[wasm_bindgen] [INFO] [stdout] | --------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn item(this: &NodeList, idx: usize) -> Element; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [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: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] 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 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` 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] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `percy-webapis` (lib test) due to 14 previous errors; 3 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e24d4743c781e87350d12ee3a89f199ab8d1e9ad5586ddaa7c71e49c005df543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24d4743c781e87350d12ee3a89f199ab8d1e9ad5586ddaa7c71e49c005df543", kill_on_drop: false }` [INFO] [stdout] e24d4743c781e87350d12ee3a89f199ab8d1e9ad5586ddaa7c71e49c005df543