[INFO] cloning repository https://github.com/DeadNumbers/rust-cffi-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeadNumbers/rust-cffi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadNumbers%2Frust-cffi-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadNumbers%2Frust-cffi-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87f9a891e2749e39cddd2eb552d4da845e94be69 [INFO] checking DeadNumbers/rust-cffi-example against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadNumbers%2Frust-cffi-example" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DeadNumbers/rust-cffi-example on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DeadNumbers/rust-cffi-example [INFO] finished tweaking git repo https://github.com/DeadNumbers/rust-cffi-example [INFO] tweaked toml for git repo https://github.com/DeadNumbers/rust-cffi-example written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/DeadNumbers/rust-cffi-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e44a4bad0969d9f2dd3ee24ae5900317734c27f90d59ab98286747d3263e093 [INFO] running `Command { std: "docker" "start" "-a" "6e44a4bad0969d9f2dd3ee24ae5900317734c27f90d59ab98286747d3263e093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e44a4bad0969d9f2dd3ee24ae5900317734c27f90d59ab98286747d3263e093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e44a4bad0969d9f2dd3ee24ae5900317734c27f90d59ab98286747d3263e093", kill_on_drop: false }` [INFO] [stdout] 6e44a4bad0969d9f2dd3ee24ae5900317734c27f90d59ab98286747d3263e093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85db51c7f3fd23d4bc4541c28c06c7884cd96df7717225f6095a1050ab262897 [INFO] running `Command { std: "docker" "start" "-a" "85db51c7f3fd23d4bc4541c28c06c7884cd96df7717225f6095a1050ab262897", kill_on_drop: false }` [INFO] [stderr] Compiling rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking libc v0.2.34 [INFO] [stdout] warning: `extern` block uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn hello(args: &str) -> i32; [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn hello(args: &str) -> i32; [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [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 1.83s [INFO] running `Command { std: "docker" "inspect" "85db51c7f3fd23d4bc4541c28c06c7884cd96df7717225f6095a1050ab262897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85db51c7f3fd23d4bc4541c28c06c7884cd96df7717225f6095a1050ab262897", kill_on_drop: false }` [INFO] [stdout] 85db51c7f3fd23d4bc4541c28c06c7884cd96df7717225f6095a1050ab262897