[INFO] cloning repository https://github.com/danielpclark/bench_ruby_ffi_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielpclark/bench_ruby_ffi_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f8fae8311f8d69695d428e538201c98ba2c67c2 [INFO] checking danielpclark/bench_ruby_ffi_example against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielpclark/bench_ruby_ffi_example on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielpclark/bench_ruby_ffi_example [INFO] finished tweaking git repo https://github.com/danielpclark/bench_ruby_ffi_example [INFO] tweaked toml for git repo https://github.com/danielpclark/bench_ruby_ffi_example written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/danielpclark/bench_ruby_ffi_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3b93b0ed68abb3a4f54447caa85d6ab4f8a874f8dfdf9e5d4f5c6da633035ae [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" "f3b93b0ed68abb3a4f54447caa85d6ab4f8a874f8dfdf9e5d4f5c6da633035ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3b93b0ed68abb3a4f54447caa85d6ab4f8a874f8dfdf9e5d4f5c6da633035ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b93b0ed68abb3a4f54447caa85d6ab4f8a874f8dfdf9e5d4f5c6da633035ae", kill_on_drop: false }` [INFO] [stdout] f3b93b0ed68abb3a4f54447caa85d6ab4f8a874f8dfdf9e5d4f5c6da633035ae [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e601e913af7f8c9582f0d7cbec4157dd55ef31bb56df7f0cf5c61c358086ae20 [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" "e601e913af7f8c9582f0d7cbec4157dd55ef31bb56df7f0cf5c61c358086ae20", kill_on_drop: false }` [INFO] [stderr] Compiling ruby-sys v0.2.20 [INFO] [stderr] Checking array_tool v0.4.1 [INFO] [stderr] Checking ruru v0.9.3 [INFO] [stderr] Checking ffi_example v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::array_tool::string::Squeeze` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use self::array_tool::string::Squeeze; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::array_tool::string::Squeeze` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use self::array_tool::string::Squeeze; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `RuruExample`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | RuruExample, [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | class!(RuruExample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `RuruExample`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | RuruExample, [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | class!(RuruExample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] Finished dev [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "e601e913af7f8c9582f0d7cbec4157dd55ef31bb56df7f0cf5c61c358086ae20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e601e913af7f8c9582f0d7cbec4157dd55ef31bb56df7f0cf5c61c358086ae20", kill_on_drop: false }` [INFO] [stdout] e601e913af7f8c9582f0d7cbec4157dd55ef31bb56df7f0cf5c61c358086ae20