[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39cf33dbf7ff2f62addd73a10d847bdc250863fe [INFO] checking coder543/rust-c-ffi-test against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoder543%2Frust-c-ffi-test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coder543/rust-c-ffi-test on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "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-6/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" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 791c8243a083085e346e04f6cdb82461af5922d5aa0a223d8bc2af55fea50389 [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" "791c8243a083085e346e04f6cdb82461af5922d5aa0a223d8bc2af55fea50389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "791c8243a083085e346e04f6cdb82461af5922d5aa0a223d8bc2af55fea50389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791c8243a083085e346e04f6cdb82461af5922d5aa0a223d8bc2af55fea50389", kill_on_drop: false }` [INFO] [stdout] 791c8243a083085e346e04f6cdb82461af5922d5aa0a223d8bc2af55fea50389 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a98811ea5c333cbcbdb750f6863584c635555fe3a61a5d436a701af991b057 [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" "15a98811ea5c333cbcbdb750f6863584c635555fe3a61a5d436a701af991b057", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling rust-c-ffi-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 5.13s [INFO] running `Command { std: "docker" "inspect" "15a98811ea5c333cbcbdb750f6863584c635555fe3a61a5d436a701af991b057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a98811ea5c333cbcbdb750f6863584c635555fe3a61a5d436a701af991b057", kill_on_drop: false }` [INFO] [stdout] 15a98811ea5c333cbcbdb750f6863584c635555fe3a61a5d436a701af991b057