[INFO] fetching crate lincoln_wasm 0.1.1... [INFO] checking lincoln_wasm-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate lincoln_wasm 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate lincoln_wasm 0.1.1 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 lincoln_wasm 0.1.1 [INFO] finished tweaking crates.io crate lincoln_wasm 0.1.1 [INFO] tweaked toml for crates.io crate lincoln_wasm 0.1.1 written to /workspace/builds/worker-0-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 53 packages to latest compatible versions [INFO] [stderr] Adding console_log v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [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 lincoln_common v0.1.0 [INFO] [stderr] Downloaded lincoln_compiled v0.1.0 [INFO] [stderr] Downloaded lincoln_ir v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4dc7086f1e28c38cbb01973ed389485e393d71aeb86a171ef1413a07cd548f3f [INFO] running `Command { std: "docker" "start" "-a" "4dc7086f1e28c38cbb01973ed389485e393d71aeb86a171ef1413a07cd548f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc7086f1e28c38cbb01973ed389485e393d71aeb86a171ef1413a07cd548f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc7086f1e28c38cbb01973ed389485e393d71aeb86a171ef1413a07cd548f3f", kill_on_drop: false }` [INFO] [stdout] 4dc7086f1e28c38cbb01973ed389485e393d71aeb86a171ef1413a07cd548f3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b6c0ba2e6c84b2629588c5dcee10dd9d28a3b20921283c4976cc85a3148a218b [INFO] running `Command { std: "docker" "start" "-a" "b6c0ba2e6c84b2629588c5dcee10dd9d28a3b20921283c4976cc85a3148a218b", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking lincoln_common v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking lincoln_compiled v0.1.0 [INFO] [stderr] Checking lincoln_ir v0.1.0 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking console_log v0.1.2 [INFO] [stderr] Checking lincoln_wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0573]: expected type, found module `Reflect` [INFO] [stdout] --> src/lincoln_int.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | let r: Reflect = v.clone().into(); [INFO] [stdout] | ^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `Reflect` [INFO] [stdout] --> src/lincoln_int.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | let r: Reflect = v.clone().into(); [INFO] [stdout] | ^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `Reflect` [INFO] [stdout] --> src/lincoln_jsvalue.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let r:Reflect = self.0.clone().into(); [INFO] [stdout] | ^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `Reflect` [INFO] [stdout] --> src/lincoln_jsvalue.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let r:Reflect = self.0.clone().into(); [INFO] [stdout] | ^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lincoln_jsvalue.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unwrap_jsvalue(value: Box) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unwrap_jsvalue(value: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lincoln_jsvalue.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unwrap_jsvalue(value: Box) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unwrap_jsvalue(value: Box) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/lincoln_int.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let prog:PreCompileProgram = prog.into_serde() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/lincoln_int.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let prog:PreCompileProgram = prog.into_serde() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/lincoln_int.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | JsValue::from_serde(&self.program) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/lincoln_int.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | JsValue::from_serde(&self.program) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0573`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0573`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lincoln_wasm` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lincoln_wasm` (lib) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6c0ba2e6c84b2629588c5dcee10dd9d28a3b20921283c4976cc85a3148a218b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c0ba2e6c84b2629588c5dcee10dd9d28a3b20921283c4976cc85a3148a218b", kill_on_drop: false }` [INFO] [stdout] b6c0ba2e6c84b2629588c5dcee10dd9d28a3b20921283c4976cc85a3148a218b