[INFO] fetching crate wasmo_runtime 0.1.0... [INFO] checking wasmo_runtime-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate wasmo_runtime 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate wasmo_runtime 0.1.0 [INFO] finished tweaking crates.io crate wasmo_runtime 0.1.0 [INFO] tweaked toml for crates.io crate wasmo_runtime 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmo_runtime 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmo_runtime 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 595750d3bde640c04ac7a54dd8546162b77356043a92094d207d4216fdd2859b [INFO] running `Command { std: "docker" "start" "-a" "595750d3bde640c04ac7a54dd8546162b77356043a92094d207d4216fdd2859b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595750d3bde640c04ac7a54dd8546162b77356043a92094d207d4216fdd2859b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595750d3bde640c04ac7a54dd8546162b77356043a92094d207d4216fdd2859b", kill_on_drop: false }` [INFO] [stdout] 595750d3bde640c04ac7a54dd8546162b77356043a92094d207d4216fdd2859b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25deecc196a5e9fbbb8db16f2d396c93a669572e2230c99408fb5bb723574d85 [INFO] running `Command { std: "docker" "start" "-a" "25deecc196a5e9fbbb8db16f2d396c93a669572e2230c99408fb5bb723574d85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling bytecheck v0.6.7 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking wast v39.0.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking wasmparser v0.82.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking wat v1.0.41 [INFO] [stderr] Compiling llvm-sys v130.0.3 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.7 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking wasmo_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `table::*` [INFO] [stdout] --> lib/api/imports.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use table::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> lib/context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sizes::*` [INFO] [stdout] --> lib/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sizes::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> lib/intrinsics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table::*` [INFO] [stdout] --> lib/api/imports.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use table::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> lib/context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sizes::*` [INFO] [stdout] --> lib/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sizes::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> lib/intrinsics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `i64_type`, `i32_type`, `f64_type`, `f32_type`, and `function_type` are never used [INFO] [stdout] --> lib/compiler/llvm/context.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl LLContext { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn i64_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn i32_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn f64_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn f32_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn function_type( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLFunction` is never constructed [INFO] [stdout] --> lib/compiler/llvm/function.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct LLFunction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/compiler/llvm/function.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl LLFunction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn new(name: &str, module: &LLModule, signature: &LLFunctionType) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_function` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/module.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl LLModule { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn add_function( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn as_ptr(&self) -> LLVMModuleRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LLTypeKind` is never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum LLTypeKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLType` is never constructed [INFO] [stdout] --> lib/compiler/llvm/types.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct LLType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl LLType { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn new(context: &LLContext, kind: LLTypeKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn as_ptr(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLFunctionType` is never constructed [INFO] [stdout] --> lib/compiler/llvm/types.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct LLFunctionType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 67 | impl LLFunctionType { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn new(params: &[LLType], result: &LLType, is_varargs: bool) -> Pin> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn as_ptr(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseAddress` is never constructed [INFO] [stdout] --> lib/context/address.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BaseAddress { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/api/module.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn initialize(&self, _imports: &Imports) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn initialize(&self, _imports: &Imports) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `i64_type`, `i32_type`, `f64_type`, `f32_type`, and `function_type` are never used [INFO] [stdout] --> lib/compiler/llvm/context.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl LLContext { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn i64_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn i32_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn f64_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn f32_type(&self) -> LLType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn function_type( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLFunction` is never constructed [INFO] [stdout] --> lib/compiler/llvm/function.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct LLFunction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/compiler/llvm/function.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl LLFunction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn new(name: &str, module: &LLModule, signature: &LLFunctionType) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_function` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/module.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl LLModule { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn add_function( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn as_ptr(&self) -> LLVMModuleRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LLTypeKind` is never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum LLTypeKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLType` is never constructed [INFO] [stdout] --> lib/compiler/llvm/types.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct LLType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl LLType { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn new(context: &LLContext, kind: LLTypeKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn as_ptr(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LLFunctionType` is never constructed [INFO] [stdout] --> lib/compiler/llvm/types.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct LLFunctionType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_ptr` are never used [INFO] [stdout] --> lib/compiler/llvm/types.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 67 | impl LLFunctionType { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn new(params: &[LLType], result: &LLType, is_varargs: bool) -> Pin> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn as_ptr(&self) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseAddress` is never constructed [INFO] [stdout] --> lib/context/address.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BaseAddress { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/api/module.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn initialize(&self, _imports: &Imports) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn initialize(&self, _imports: &Imports) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../../tests/samples/fibonacci.wat`: No such file or directory (os error 2) [INFO] [stdout] --> examples/module.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | let wasm = wat::parse_str(include_str!("../../tests/samples/fibonacci.wat")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmo_runtime` (example "module") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "25deecc196a5e9fbbb8db16f2d396c93a669572e2230c99408fb5bb723574d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25deecc196a5e9fbbb8db16f2d396c93a669572e2230c99408fb5bb723574d85", kill_on_drop: false }` [INFO] [stdout] 25deecc196a5e9fbbb8db16f2d396c93a669572e2230c99408fb5bb723574d85