[INFO] fetching crate wasmer-engine-dummy 1.0.0-alpha01.0... [INFO] checking wasmer-engine-dummy-1.0.0-alpha01.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate wasmer-engine-dummy 1.0.0-alpha01.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate wasmer-engine-dummy 1.0.0-alpha01.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-engine-dummy 1.0.0-alpha01.0 [INFO] finished tweaking crates.io crate wasmer-engine-dummy 1.0.0-alpha01.0 [INFO] tweaked toml for crates.io crate wasmer-engine-dummy 1.0.0-alpha01.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b6549ee97245b4fc8f9238fc5aa402b8da9998078aa6e9b2eb4d505c4c0decb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b6549ee97245b4fc8f9238fc5aa402b8da9998078aa6e9b2eb4d505c4c0decb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b6549ee97245b4fc8f9238fc5aa402b8da9998078aa6e9b2eb4d505c4c0decb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6549ee97245b4fc8f9238fc5aa402b8da9998078aa6e9b2eb4d505c4c0decb", kill_on_drop: false }` [INFO] [stdout] 5b6549ee97245b4fc8f9238fc5aa402b8da9998078aa6e9b2eb4d505c4c0decb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2e8bdecf96323806814f81215e25dd0eb4f675d3fac81a934e2e015ab7f6c0e9 [INFO] running `Command { std: "docker" "start" "-a" "2e8bdecf96323806814f81215e25dd0eb4f675d3fac81a934e2e015ab7f6c0e9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking enumset v1.0.6 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking cranelift-entity v0.68.0 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking wasmer-types v1.0.2 [INFO] [stderr] Checking wasmer-vm v1.0.2 [INFO] [stderr] Checking wasmer-compiler v1.0.2 [INFO] [stderr] Checking wasmer-engine v1.0.2 [INFO] [stderr] Checking wasmer-engine-dummy v1.0.0-alpha01.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `wasmer_compiler::wasmparser::OperatorValidatorConfig`, `wasmer_compiler::wasmparser::ValidatingParserConfig` [INFO] [stdout] --> src/engine.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | validate, OperatorValidatorConfig, ValidatingParserConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ no `ValidatingParserConfig` in `wasmparser` [INFO] [stdout] | | [INFO] [stdout] | no `OperatorValidatorConfig` in `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `function_call_trampoline` is not a member of trait `Engine` [INFO] [stdout] --> src/engine.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / fn function_call_trampoline(&self, _sig: VMSharedSignatureIndex) -> Option { [INFO] [stdout] 63 | | Some(dummy_trampoline) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ not a member of trait `Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wasmer_compiler::wasmparser::OperatorValidatorConfig`, `wasmer_compiler::wasmparser::ValidatingParserConfig` [INFO] [stdout] --> src/engine.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | validate, OperatorValidatorConfig, ValidatingParserConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ no `ValidatingParserConfig` in `wasmparser` [INFO] [stdout] | | [INFO] [stdout] | no `OperatorValidatorConfig` in `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `function_call_trampoline` is not a member of trait `Engine` [INFO] [stdout] --> src/engine.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / fn function_call_trampoline(&self, _sig: VMSharedSignatureIndex) -> Option { [INFO] [stdout] 63 | | Some(dummy_trampoline) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ not a member of trait `Engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `finished_function_call_trampolines` [INFO] [stdout] --> src/artifact.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl Artifact for DummyArtifact { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `finished_function_call_trampolines` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn finished_function_call_trampolines(&self) -> &BoxedSlice { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `finished_function_call_trampolines` [INFO] [stdout] --> src/artifact.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl Artifact for DummyArtifact { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `finished_function_call_trampolines` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn finished_function_call_trampolines(&self) -> &BoxedSlice { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/artifact.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | FunctionBodyPtr(func_pointer) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `VMFunctionBody`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const VMFunctionBody` [INFO] [stdout] found raw pointer `*mut [VMFunctionBody]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/artifact.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | / std::mem::transmute::<_, *mut [VMFunctionBody]>(( [INFO] [stdout] 150 | | dummy_function as *const (), [INFO] [stdout] 151 | | 0, [INFO] [stdout] 152 | | )) [INFO] [stdout] | |______________________^ expected struct `VMFunctionBody`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const VMFunctionBody` [INFO] [stdout] found raw pointer `*mut [VMFunctionBody]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/engine.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | validate(binary, Some(config)).map_err(|e| CompileError::Validate(format!("{}", e))) [INFO] [stdout] | ^^^^^^^^ ------ ------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasmparser-0.65.0/src/validator.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn validate(bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0308, E0407, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-engine-dummy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/artifact.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | FunctionBodyPtr(func_pointer) [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `VMFunctionBody`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const VMFunctionBody` [INFO] [stdout] found raw pointer `*mut [VMFunctionBody]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/artifact.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | / std::mem::transmute::<_, *mut [VMFunctionBody]>(( [INFO] [stdout] 150 | | dummy_function as *const (), [INFO] [stdout] 151 | | 0, [INFO] [stdout] 152 | | )) [INFO] [stdout] | |______________________^ expected struct `VMFunctionBody`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const VMFunctionBody` [INFO] [stdout] found raw pointer `*mut [VMFunctionBody]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/engine.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | validate(binary, Some(config)).map_err(|e| CompileError::Validate(format!("{}", e))) [INFO] [stdout] | ^^^^^^^^ ------ ------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasmparser-0.65.0/src/validator.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn validate(bytes: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0308, E0407, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2e8bdecf96323806814f81215e25dd0eb4f675d3fac81a934e2e015ab7f6c0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8bdecf96323806814f81215e25dd0eb4f675d3fac81a934e2e015ab7f6c0e9", kill_on_drop: false }` [INFO] [stdout] 2e8bdecf96323806814f81215e25dd0eb4f675d3fac81a934e2e015ab7f6c0e9