[INFO] cloning repository https://github.com/Redrield/wasm-plugin-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Redrield/wasm-plugin-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fwasm-plugin-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fwasm-plugin-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42e08a529b69d2d603bb56f90b728e9d8a8bc8b7 [INFO] checking Redrield/wasm-plugin-system against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fwasm-plugin-system" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Redrield/wasm-plugin-system on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Redrield/wasm-plugin-system [INFO] finished tweaking git repo https://github.com/Redrield/wasm-plugin-system [INFO] tweaked toml for git repo https://github.com/Redrield/wasm-plugin-system written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Redrield/wasm-plugin-system already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f4c5df1de97c49896746625edbc1419443f96725f72af11e307fd296c53722 [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" "c2f4c5df1de97c49896746625edbc1419443f96725f72af11e307fd296c53722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f4c5df1de97c49896746625edbc1419443f96725f72af11e307fd296c53722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f4c5df1de97c49896746625edbc1419443f96725f72af11e307fd296c53722", kill_on_drop: false }` [INFO] [stdout] c2f4c5df1de97c49896746625edbc1419443f96725f72af11e307fd296c53722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0730e480074cebd80d8bd70d33827398421074000d6de2b692702eb8aeae11af [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" "0730e480074cebd80d8bd70d33827398421074000d6de2b692702eb8aeae11af", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.59.0 [INFO] [stderr] Compiling cranelift-entity v0.59.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking wasmparser v0.51.4 [INFO] [stderr] Compiling inventory v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking plugin-macros v0.1.0 (/opt/rustwide/workdir/plugin-macros) [INFO] [stderr] Compiling blake3 v0.1.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking cranelift-bforest v0.59.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.59.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking errno v0.2.5 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling wasmer-runtime-core v0.16.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling ghost v0.1.1 [INFO] [stderr] Compiling inventory-impl v0.1.6 [INFO] [stderr] Compiling ctor v0.1.14 [INFO] [stderr] Compiling typetag-impl v0.1.4 [INFO] [stderr] Compiling cranelift-codegen v0.59.0 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking serde_bytes v0.11.3 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Checking erased-serde v0.3.11 [INFO] [stderr] Checking generational-arena v0.2.7 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Checking gimli v0.20.0 [INFO] [stdout] warning: unused import: `crate::SomeEvent` [INFO] [stdout] --> api/src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SomeEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::SomeEvent` [INFO] [stdout] --> api/src/wasm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::SomeEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking typetag v0.1.4 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking plugin v0.1.0 (/opt/rustwide/workdir/plugin) [INFO] [stdout] warning: unused import: `api::SomeEvent` [INFO] [stdout] --> plugin/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::SomeEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> plugin/src/main.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn event_handler(ev_bytes: &[u8]) { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api::SomeEvent` [INFO] [stdout] --> plugin/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::SomeEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> plugin/src/main.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn event_handler(ev_bytes: &[u8]) { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasmer-wasi v0.16.2 [INFO] [stderr] Checking wasmer-clif-fork-frontend v0.59.0 [INFO] [stderr] Checking cranelift-native v0.59.0 [INFO] [stderr] Checking wasmer-clif-fork-wasm v0.59.0 [INFO] [stderr] Checking wasmer-clif-backend v0.16.2 [INFO] [stderr] Checking wasmer-runtime v0.16.2 [INFO] [stderr] Checking host v0.1.0 (/opt/rustwide/workdir/host) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> host/src/plugin.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut wasm_buf = ptr.deref_mut(mem, 0, buf.len() as u32).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> host/src/plugin.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut wasm_buf = ptr.deref_mut(mem, 0, buf.len() as u32).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "0730e480074cebd80d8bd70d33827398421074000d6de2b692702eb8aeae11af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0730e480074cebd80d8bd70d33827398421074000d6de2b692702eb8aeae11af", kill_on_drop: false }` [INFO] [stdout] 0730e480074cebd80d8bd70d33827398421074000d6de2b692702eb8aeae11af