[INFO] fetching crate webcomponent 0.6.2... [INFO] checking webcomponent-0.6.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate webcomponent 0.6.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate webcomponent 0.6.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 webcomponent 0.6.2 [INFO] finished tweaking crates.io crate webcomponent 0.6.2 [INFO] tweaked toml for crates.io crate webcomponent 0.6.2 written to /workspace/builds/worker-7-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 10 packages to latest compatible versions [INFO] [stderr] Adding spin v0.7.1 (available: v0.9.8) [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] Downloading crates ... [INFO] [stderr] Downloaded externref_polyfill v0.1.0 [INFO] [stderr] Downloaded callback v0.5.4 [INFO] [stderr] Downloaded js v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ec935f0b002f53e9f97380c6c4e157ea6d07b3ffd5e871c2953363d22553e572 [INFO] running `Command { std: "docker" "start" "-a" "ec935f0b002f53e9f97380c6c4e157ea6d07b3ffd5e871c2953363d22553e572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec935f0b002f53e9f97380c6c4e157ea6d07b3ffd5e871c2953363d22553e572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec935f0b002f53e9f97380c6c4e157ea6d07b3ffd5e871c2953363d22553e572", kill_on_drop: false }` [INFO] [stdout] ec935f0b002f53e9f97380c6c4e157ea6d07b3ffd5e871c2953363d22553e572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cf7bc8c18121b4b90d41253d8d4d4c77b2f7457fcba50c441016a583ff3425e7 [INFO] running `Command { std: "docker" "start" "-a" "cf7bc8c18121b4b90d41253d8d4d4c77b2f7457fcba50c441016a583ff3425e7", kill_on_drop: false }` [INFO] [stderr] Checking externref_polyfill v0.1.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking js v0.5.7 [INFO] [stderr] Checking callback v0.5.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking webcomponent v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `create_callback_1` in this scope [INFO] [stdout] --> src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let construct = create_callback_1(|element| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_0` in this scope [INFO] [stdout] --> src/lib.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let connect = create_callback_0(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_3` in this scope [INFO] [stdout] --> src/lib.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let attribute_change = create_callback_3(move |name_obj, old_obj, new_obj| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_0` in this scope [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | let disconnect = create_callback_0(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | remove_callback(destruct_connect.lock().function.as_ref().unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | remove_callback(destruct_disconnect.lock().function.as_ref().unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | remove_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_1` in this scope [INFO] [stdout] --> src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let construct = create_callback_1(|element| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_0` in this scope [INFO] [stdout] --> src/lib.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let connect = create_callback_0(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_3` in this scope [INFO] [stdout] --> src/lib.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let attribute_change = create_callback_3(move |name_obj, old_obj, new_obj| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_callback_0` in this scope [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | let disconnect = create_callback_0(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::create_callback_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | remove_callback(destruct_connect.lock().function.as_ref().unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | remove_callback(destruct_disconnect.lock().function.as_ref().unwrap().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_callback` in this scope [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | remove_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use callback::remove_callback; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let name = cstr_to_string(name_obj as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | Some(cstr_to_string(old_obj as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | Some(cstr_to_string(new_obj as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke_4` found for struct `CustomElement::register::{closure#0}::FN` in the current scope [INFO] [stdout] --> src/lib.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 72 | / lazy_static::lazy_static! { [INFO] [stdout] 73 | | static ref FN: JSFunction= { [INFO] [stdout] 74 | | register_function( [INFO] [stdout] 75 | | r#"function(e,a,b,c){ [INFO] [stdout] ... | [INFO] [stdout] 78 | | ) [INFO] [stdout] 79 | | };}; [INFO] [stdout] | |_______________- method `invoke_4` not found for this struct [INFO] [stdout] 80 | FN.invoke_4(element, connect, disconnect, attribute_change); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `invoke` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/js-0.5.7/src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub fn invoke(&self, params: &[InvokeParam]) -> f64 [INFO] [stdout] 205 | | where { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let name = cstr_to_string(name_obj as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | Some(cstr_to_string(old_obj as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cstr_to_string` in this scope [INFO] [stdout] --> src/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | Some(cstr_to_string(new_obj as i32)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke_5` found for struct `CustomElement::register::FN` in the current scope [INFO] [stdout] --> src/lib.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static::lazy_static! { [INFO] [stdout] 84 | | static ref FN: JSFunction= { [INFO] [stdout] 85 | | register_function( [INFO] [stdout] 86 | | r#"function(construct,elementNamePtr, elementNameLen,attrNamesPtr,attrNamesLen){ [INFO] [stdout] ... | [INFO] [stdout] 122 | | ) [INFO] [stdout] 123 | | };}; [INFO] [stdout] | |___________- method `invoke_5` not found for this struct [INFO] [stdout] 124 | FN.invoke_5( [INFO] [stdout] | ---^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `invoke` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/js-0.5.7/src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub fn invoke(&self, params: &[InvokeParam]) -> f64 [INFO] [stdout] 205 | | where { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke_4` found for struct `CustomElement::register::{closure#0}::FN` in the current scope [INFO] [stdout] --> src/lib.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 72 | / lazy_static::lazy_static! { [INFO] [stdout] 73 | | static ref FN: JSFunction= { [INFO] [stdout] 74 | | register_function( [INFO] [stdout] 75 | | r#"function(e,a,b,c){ [INFO] [stdout] ... | [INFO] [stdout] 78 | | ) [INFO] [stdout] 79 | | };}; [INFO] [stdout] | |_______________- method `invoke_4` not found for this struct [INFO] [stdout] 80 | FN.invoke_4(element, connect, disconnect, attribute_change); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `invoke` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/js-0.5.7/src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub fn invoke(&self, params: &[InvokeParam]) -> f64 [INFO] [stdout] 205 | | where { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webcomponent` (lib test) due to 13 previous errors [INFO] [stdout] error[E0599]: no method named `invoke_5` found for struct `CustomElement::register::FN` in the current scope [INFO] [stdout] --> src/lib.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 83 | / lazy_static::lazy_static! { [INFO] [stdout] 84 | | static ref FN: JSFunction= { [INFO] [stdout] 85 | | register_function( [INFO] [stdout] 86 | | r#"function(construct,elementNamePtr, elementNameLen,attrNamesPtr,attrNamesLen){ [INFO] [stdout] ... | [INFO] [stdout] 122 | | ) [INFO] [stdout] 123 | | };}; [INFO] [stdout] | |___________- method `invoke_5` not found for this struct [INFO] [stdout] 124 | FN.invoke_5( [INFO] [stdout] | ---^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `invoke` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/js-0.5.7/src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / pub fn invoke(&self, params: &[InvokeParam]) -> f64 [INFO] [stdout] 205 | | where { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webcomponent` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "cf7bc8c18121b4b90d41253d8d4d4c77b2f7457fcba50c441016a583ff3425e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7bc8c18121b4b90d41253d8d4d4c77b2f7457fcba50c441016a583ff3425e7", kill_on_drop: false }` [INFO] [stdout] cf7bc8c18121b4b90d41253d8d4d4c77b2f7457fcba50c441016a583ff3425e7