[INFO] cloning repository https://github.com/coder543/rust-c-ffi-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coder543/rust-c-ffi-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoder543%2Frust-c-ffi-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoder543%2Frust-c-ffi-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39cf33dbf7ff2f62addd73a10d847bdc250863fe [INFO] checking coder543/rust-c-ffi-test against master#119d2a1a98fe87d4ae6cabf12134a0ef2fb95851 for pr-75180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoder543%2Frust-c-ffi-test" "/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/coder543/rust-c-ffi-test on toolchain 119d2a1a98fe87d4ae6cabf12134a0ef2fb95851 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coder543/rust-c-ffi-test [INFO] finished tweaking git repo https://github.com/coder543/rust-c-ffi-test [INFO] tweaked toml for git repo https://github.com/coder543/rust-c-ffi-test written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/coder543/rust-c-ffi-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d549a40b0d4e44017d950ec64d5b0ceaf10a3867aede86fec5eb6b90b5ceed59 [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" "d549a40b0d4e44017d950ec64d5b0ceaf10a3867aede86fec5eb6b90b5ceed59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d549a40b0d4e44017d950ec64d5b0ceaf10a3867aede86fec5eb6b90b5ceed59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d549a40b0d4e44017d950ec64d5b0ceaf10a3867aede86fec5eb6b90b5ceed59", kill_on_drop: false }` [INFO] [stdout] d549a40b0d4e44017d950ec64d5b0ceaf10a3867aede86fec5eb6b90b5ceed59 [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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8735ce72dae593a28995eb4dab8e61aed7248db12d067140c8cdc07ef02dee55 [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" "8735ce72dae593a28995eb4dab8e61aed7248db12d067140c8cdc07ef02dee55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling rust-c-ffi-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::compile_library("libtest.a", &["src/test.c"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: src/test.c: In function 'print_stuff': [INFO] [stderr] warning: src/test.c:6:24: warning: pointer targets in initialization of 'const char *' from 'const unsigned char * const' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: 6 | const char* next = array_of_strings[0]; [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/test.c:10:14: warning: pointer targets in assignment from 'const unsigned char * const' to 'const char *' differ in signedness [-Wpointer-sign] [INFO] [stderr] warning: 10 | next = array_of_strings[++i]; [INFO] [stderr] warning: | ^ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "8735ce72dae593a28995eb4dab8e61aed7248db12d067140c8cdc07ef02dee55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8735ce72dae593a28995eb4dab8e61aed7248db12d067140c8cdc07ef02dee55", kill_on_drop: false }` [INFO] [stdout] 8735ce72dae593a28995eb4dab8e61aed7248db12d067140c8cdc07ef02dee55