[INFO] cloning repository https://github.com/jgallagher/rustc-varargs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgallagher/rustc-varargs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallagher%2Frustc-varargs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallagher%2Frustc-varargs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1c8312bc63613ff86b6f1c7517c68d9163b095b0 [INFO] testing jgallagher/rustc-varargs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallagher%2Frustc-varargs" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgallagher/rustc-varargs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jgallagher/rustc-varargs [INFO] finished tweaking git repo https://github.com/jgallagher/rustc-varargs [INFO] tweaked toml for git repo https://github.com/jgallagher/rustc-varargs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/jgallagher/rustc-varargs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3b566be80c206926dc9e385be7c34fdc64af31ca34602a55679a7e2da4ae1cf [INFO] running `"docker" "start" "-a" "a3b566be80c206926dc9e385be7c34fdc64af31ca34602a55679a7e2da4ae1cf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling varargs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: src/foobar.c: In function 'foobar': [INFO] [stderr] warning: src/foobar.c:12:5: warning: second parameter of 'va_start' not last named argument [-Wvarargs] [INFO] [stderr] warning: 12 | va_start(ap, 2); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] error[E0617]: can't pass `extern "C" fn() {main::callback}` to variadic function [INFO] [stderr] --> src/main.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | unsafe { foobar(1, callback, 3u64); } [INFO] [stderr] | ^^^^^^^^ help: cast the value to `extern "C" fn()`: `callback as extern "C" fn()` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0617`. [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/foobar.c: In function 'foobar': [INFO] [stderr] warning: src/foobar.c:12:5: warning: second parameter of 'va_start' not last named argument [-Wvarargs] [INFO] [stderr] warning: 12 | va_start(ap, 2); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `varargs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a3b566be80c206926dc9e385be7c34fdc64af31ca34602a55679a7e2da4ae1cf"` [INFO] running `"docker" "rm" "-f" "a3b566be80c206926dc9e385be7c34fdc64af31ca34602a55679a7e2da4ae1cf"` [INFO] [stdout] a3b566be80c206926dc9e385be7c34fdc64af31ca34602a55679a7e2da4ae1cf