[INFO] fetching crate ywasm 0.19.2... [INFO] testing ywasm-0.19.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ywasm 0.19.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ywasm 0.19.2 [INFO] finished tweaking crates.io crate ywasm 0.19.2 [INFO] tweaked toml for crates.io crate ywasm 0.19.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ywasm 0.19.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding yrs v0.19.2 (available: v0.24.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce2825eeab03a95f59ce7a3a5526ddb48e58b91c63efbe10250d23edfbb69adb [INFO] running `Command { std: "docker" "start" "-a" "ce2825eeab03a95f59ce7a3a5526ddb48e58b91c63efbe10250d23edfbb69adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce2825eeab03a95f59ce7a3a5526ddb48e58b91c63efbe10250d23edfbb69adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2825eeab03a95f59ce7a3a5526ddb48e58b91c63efbe10250d23edfbb69adb", kill_on_drop: false }` [INFO] [stdout] ce2825eeab03a95f59ce7a3a5526ddb48e58b91c63efbe10250d23edfbb69adb [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f458beb80402a8e16e5d21d87683368567c5913827f8d88169391360b89beb72 [INFO] running `Command { std: "docker" "start" "-a" "f458beb80402a8e16e5d21d87683368567c5913827f8d88169391360b89beb72", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling base64_light v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling smallstr v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling yrs v0.19.2 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling ywasm v0.19.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/array.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | #[wasm_bindgen(method, js_name = "delete")] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | TYPE_REFS_TEXT => Ok(Shared::Text(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YText>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, text::YText>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, text::YText>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:298:45 [INFO] [stdout] | [INFO] [stdout] 298 | TYPE_REFS_MAP => Ok(Shared::Map(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YMap>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, map::YMap>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, map::YMap>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:299:49 [INFO] [stdout] | [INFO] [stdout] 299 | TYPE_REFS_ARRAY => Ok(Shared::Array(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YArray>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, array::YArray>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, array::YArray>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:300:54 [INFO] [stdout] | [INFO] [stdout] 300 | TYPE_REFS_XML_TEXT => Ok(Shared::XmlText(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YXmlText>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, xml_text::YXmlText>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, xml_text::YXmlText>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:302:39 [INFO] [stdout] | [INFO] [stdout] 302 | Ok(Shared::XmlElement(convert::mut_from_js::(js)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YXmlElement>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, xml_elem::YXmlElement>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, xml_elem::YXmlElement>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | convert::mut_from_js::(js)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YXmlFragment>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, xml_frag::YXmlFragment>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, xml_frag::YXmlFragment>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:307:47 [INFO] [stdout] | [INFO] [stdout] 307 | TYPE_REFS_WEAK => Ok(Shared::Weak(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YWeakLink>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, weak::YWeakLink>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, weak::YWeakLink>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/js.rs:308:45 [INFO] [stdout] | [INFO] [stdout] 308 | TYPE_REFS_DOC => Ok(Shared::Doc(convert::mut_from_js::(js)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RefMut<'_, YDoc>`, found `RcRefMut` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `RcRefMut` to `wasm_bindgen::__rt::RefMut<'static, doc::YDoc>` [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'static, doc::YDoc>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/map.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | #[wasm_bindgen(method, js_name = delete)] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/text.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | #[wasm_bindgen(method, js_name = delete)] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(target) [INFO] [stdout] | -- ^^^^^^ expected `Ref<'_, YTransaction>`, found `RcRef` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::Ref<'_, YTransaction>` [INFO] [stdout] found struct `RcRef` [INFO] [stdout] help: the type constructed contains `RcRef` due to the type of the argument passed [INFO] [stdout] --> src/transaction.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(target) [INFO] [stdout] | ^^^------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:553:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(target) [INFO] [stdout] | -- ^^^^^^ expected `RefMut<'_, YTransaction>`, found `RcRefMut` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `wasm_bindgen::__rt::RefMut<'_, YTransaction>` [INFO] [stdout] found struct `RcRefMut` [INFO] [stdout] help: the type constructed contains `RcRefMut` due to the type of the argument passed [INFO] [stdout] --> src/transaction.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(target) [INFO] [stdout] | ^^^------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:553:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/xml_elem.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | #[wasm_bindgen(method, js_name = delete)] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/xml_frag.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | #[wasm_bindgen(method, js_name = delete)] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/xml_text.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | #[wasm_bindgen(method, js_name = delete)] [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ywasm` (lib) due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f458beb80402a8e16e5d21d87683368567c5913827f8d88169391360b89beb72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f458beb80402a8e16e5d21d87683368567c5913827f8d88169391360b89beb72", kill_on_drop: false }` [INFO] [stdout] f458beb80402a8e16e5d21d87683368567c5913827f8d88169391360b89beb72