[INFO] fetching crate wasm_plugin_host 0.1.7... [INFO] testing wasm_plugin_host-0.1.7 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate wasm_plugin_host 0.1.7 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate wasm_plugin_host 0.1.7 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm_plugin_host 0.1.7 [INFO] finished tweaking crates.io crate wasm_plugin_host 0.1.7 [INFO] tweaked toml for crates.io crate wasm_plugin_host 0.1.7 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccaca6fef00d6fc4d71234537858c5add47c473023d100c2c221e1c554a6ac35 [INFO] running `Command { std: "docker" "start" "-a" "ccaca6fef00d6fc4d71234537858c5add47c473023d100c2c221e1c554a6ac35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccaca6fef00d6fc4d71234537858c5add47c473023d100c2c221e1c554a6ac35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaca6fef00d6fc4d71234537858c5add47c473023d100c2c221e1c554a6ac35", kill_on_drop: false }` [INFO] [stdout] ccaca6fef00d6fc4d71234537858c5add47c473023d100c2c221e1c554a6ac35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1048cfa3d1c2634edb204dbaf38eaf78458ec3d3230c62f72eecba9dddd8264a [INFO] running `Command { std: "docker" "start" "-a" "1048cfa3d1c2634edb204dbaf38eaf78458ec3d3230c62f72eecba9dddd8264a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling wasmer-derive v1.0.2 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling enumset v1.0.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wasmer-types v1.0.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Compiling cranelift-bforest v0.68.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling wasmer-vm v1.0.2 [INFO] [stderr] Compiling wasmer-compiler v1.0.2 [INFO] [stderr] Compiling wasmer-engine v1.0.2 [INFO] [stderr] Compiling wasmer-object v1.0.2 [INFO] [stderr] Compiling wasmer-engine-jit v1.0.2 [INFO] [stderr] Compiling wasmer-engine-native v1.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Compiling cranelift-frontend v0.68.0 [INFO] [stderr] Compiling wasmer v1.0.2 [INFO] [stderr] Compiling wasm_plugin_host v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "1048cfa3d1c2634edb204dbaf38eaf78458ec3d3230c62f72eecba9dddd8264a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1048cfa3d1c2634edb204dbaf38eaf78458ec3d3230c62f72eecba9dddd8264a", kill_on_drop: false }` [INFO] [stdout] 1048cfa3d1c2634edb204dbaf38eaf78458ec3d3230c62f72eecba9dddd8264a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72dbe5a4d79c8d9fd8f50ac261d3a77cbda34cbb8f4e546d66d53e465206384e [INFO] running `Command { std: "docker" "start" "-a" "72dbe5a4d79c8d9fd8f50ac261d3a77cbda34cbb8f4e546d66d53e465206384e", kill_on_drop: false }` [INFO] [stderr] Compiling wasm_plugin_host v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "72dbe5a4d79c8d9fd8f50ac261d3a77cbda34cbb8f4e546d66d53e465206384e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72dbe5a4d79c8d9fd8f50ac261d3a77cbda34cbb8f4e546d66d53e465206384e", kill_on_drop: false }` [INFO] [stdout] 72dbe5a4d79c8d9fd8f50ac261d3a77cbda34cbb8f4e546d66d53e465206384e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d39fdef22d3e7ad593c1c87b15b6b9b5b4944561bc780182942067a6494580c [INFO] running `Command { std: "docker" "start" "-a" "8d39fdef22d3e7ad593c1c87b15b6b9b5b4944561bc780182942067a6494580c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wasm_plugin_host-55a1ca88525d3605) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests wasm_plugin_host [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmPluginBuilder` [INFO] [stdout] --> src/lib.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 5 | let mut plugin = WasmPluginBuilder::from_file("path/to/plugin.wasm")?.finish()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_plugin_host::WasmPluginBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmPluginBuilder` [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 9 | let mut plugin = WasmPluginBuilder::from_file("path/to/plugin.wasm")?.finish()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_plugin_host::WasmPluginBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmPluginBuilder` [INFO] [stdout] --> src/lib.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut plugin = WasmPluginBuilder::from_file("path/to/plugin.wasm")?.finish()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_plugin_host::WasmPluginBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8d39fdef22d3e7ad593c1c87b15b6b9b5b4944561bc780182942067a6494580c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d39fdef22d3e7ad593c1c87b15b6b9b5b4944561bc780182942067a6494580c", kill_on_drop: false }` [INFO] [stdout] 8d39fdef22d3e7ad593c1c87b15b6b9b5b4944561bc780182942067a6494580c