[INFO] fetching crate webcomponent 0.6.2... [INFO] testing webcomponent-0.6.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate webcomponent 0.6.2 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate webcomponent 0.6.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding spin v0.7.1 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f1d2aed2a3a7fef87bc028ef9076bfce268e7f2f0feafbe7890745ccbbcda94 [INFO] running `Command { std: "docker" "start" "-a" "5f1d2aed2a3a7fef87bc028ef9076bfce268e7f2f0feafbe7890745ccbbcda94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f1d2aed2a3a7fef87bc028ef9076bfce268e7f2f0feafbe7890745ccbbcda94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1d2aed2a3a7fef87bc028ef9076bfce268e7f2f0feafbe7890745ccbbcda94", kill_on_drop: false }` [INFO] [stdout] 5f1d2aed2a3a7fef87bc028ef9076bfce268e7f2f0feafbe7890745ccbbcda94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad5bd63033ed51bf04e926a35a162b6f8ea074546d44713bbfee0d4f02522c4 [INFO] running `Command { std: "docker" "start" "-a" "bad5bd63033ed51bf04e926a35a162b6f8ea074546d44713bbfee0d4f02522c4", kill_on_drop: false }` [INFO] [stderr] Compiling externref_polyfill v0.1.0 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling callback v0.5.4 [INFO] [stderr] Compiling js v0.5.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling 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 `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] 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-1949cf8c6b5b557f/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[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] 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-1949cf8c6b5b557f/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] 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 12 previous errors [INFO] running `Command { std: "docker" "inspect" "bad5bd63033ed51bf04e926a35a162b6f8ea074546d44713bbfee0d4f02522c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad5bd63033ed51bf04e926a35a162b6f8ea074546d44713bbfee0d4f02522c4", kill_on_drop: false }` [INFO] [stdout] bad5bd63033ed51bf04e926a35a162b6f8ea074546d44713bbfee0d4f02522c4