[INFO] fetching crate wasmer-runtime-near 0.17.1... [INFO] checking wasmer-runtime-near-0.17.1 against master#fc81ad22c453776de16acf9938976930cf8c9401 for pr-77325 [INFO] extracting crate wasmer-runtime-near 0.17.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate wasmer-runtime-near 0.17.1 on toolchain fc81ad22c453776de16acf9938976930cf8c9401 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-runtime-near 0.17.1 [INFO] finished tweaking crates.io crate wasmer-runtime-near 0.17.1 [INFO] tweaked toml for crates.io crate wasmer-runtime-near 0.17.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate wasmer-runtime-near 0.17.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c56a7e187cf7c9a6c7e79cf5e631c3832ee5c6e124f5ea5b692f73f89e4044a [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" "9c56a7e187cf7c9a6c7e79cf5e631c3832ee5c6e124f5ea5b692f73f89e4044a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c56a7e187cf7c9a6c7e79cf5e631c3832ee5c6e124f5ea5b692f73f89e4044a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c56a7e187cf7c9a6c7e79cf5e631c3832ee5c6e124f5ea5b692f73f89e4044a", kill_on_drop: false }` [INFO] [stdout] 9c56a7e187cf7c9a6c7e79cf5e631c3832ee5c6e124f5ea5b692f73f89e4044a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fad54a49160b032c300df86b13784b0fbab974f07ccfafd726e5386761367130 [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" "fad54a49160b032c300df86b13784b0fbab974f07ccfafd726e5386761367130", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking wasmparser v0.51.4 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wabt-sys v0.6.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling wasmer-runtime-core-near v0.17.1 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling dynasm v1.0.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking wabt v0.9.1 [INFO] [stderr] Checking dynasmrt v1.0.0 [INFO] [stderr] Checking wasmer-singlepass-backend-near v0.17.1 [INFO] [stderr] Checking wasmer-runtime-near v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read benches/../../../examples/nginx/nginx.wasm: No such file or directory (os error 2) [INFO] [stdout] --> benches/nginx.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | static NGINX_WASM: &'static [u8] = include_bytes!("../../../examples/nginx/nginx.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] --> benches/nginx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime` [INFO] [stdout] --> benches/nginx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WasmHash` in this scope [INFO] [stdout] --> benches/nginx.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn load_module(hash: WasmHash, cache: &impl Cache) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cache` in this scope [INFO] [stdout] --> benches/nginx.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | fn load_module(hash: WasmHash, cache: &impl Cache) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::Cache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmHash` [INFO] [stdout] --> benches/nginx.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | c.bench_function("nginx HASH", |b| b.iter(|| WasmHash::generate(NGINX_WASM))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSystemCache` [INFO] [stdout] --> benches/nginx.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | FileSystemCache::new(tempdir.path()).expect("unable to create file system cache") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::FileSystemCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmHash` [INFO] [stdout] --> benches/nginx.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let wasm_hash = WasmHash::generate(NGINX_WASM); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-runtime-near` [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: couldn't read /opt/rustwide/workdir/../../examples/no_abi_simple_plugin.wasm: No such file or directory (os error 2) [INFO] [stdout] --> benches/many_instances.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | static SIMPLE_WASM: &[u8] = include_bytes!(concat!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 16 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stdout] 17 | | "/../../examples/no_abi_simple_plugin.wasm" [INFO] [stdout] 18 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] --> benches/many_instances.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] --> examples/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_runtime::{compile, error, error::RuntimeError, imports, Ctx, Func, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime` [INFO] [stdout] --> examples/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_runtime::{compile, error, error::RuntimeError, imports, Ctx, Func, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> examples/call.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | let instance = module.instantiate(&imports! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeError` [INFO] [stdout] --> examples/call.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let RuntimeError::User(ue) = e { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmer_runtime` [INFO] [stdout] --> benches/many_instances.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasmer_runtime::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> benches/many_instances.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let imports = imports!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> benches/many_instances.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let imports = imports!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `imports` [INFO] [stdout] --> benches/many_instances.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let imports = imports!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmHash` [INFO] [stdout] --> benches/many_instances.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | c.bench_function("HASH", |b| b.iter(|| WasmHash::generate(SIMPLE_WASM))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSystemCache` [INFO] [stdout] --> benches/many_instances.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | FileSystemCache::new(tempdir.path()).expect("unable to create file system cache") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::FileSystemCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WasmHash` [INFO] [stdout] --> benches/many_instances.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let hash = WasmHash::generate(SIMPLE_WASM); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_core_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] 3 | use wasmer_runtime_near::cache::WasmHash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fad54a49160b032c300df86b13784b0fbab974f07ccfafd726e5386761367130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad54a49160b032c300df86b13784b0fbab974f07ccfafd726e5386761367130", kill_on_drop: false }` [INFO] [stdout] fad54a49160b032c300df86b13784b0fbab974f07ccfafd726e5386761367130