[INFO] cloning repository https://github.com/jgallagher/rustc-varargs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallagher%2Frustc-varargs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c8312bc63613ff86b6f1c7517c68d9163b095b0 [INFO] checking jgallagher/rustc-varargs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgallagher%2Frustc-varargs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgallagher/rustc-varargs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/jgallagher/rustc-varargs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be45acc7ce466463f992c36dae1ab8422eff0c38d513e655ac8d2d4a23a8b553 [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" "be45acc7ce466463f992c36dae1ab8422eff0c38d513e655ac8d2d4a23a8b553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be45acc7ce466463f992c36dae1ab8422eff0c38d513e655ac8d2d4a23a8b553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be45acc7ce466463f992c36dae1ab8422eff0c38d513e655ac8d2d4a23a8b553", kill_on_drop: false }` [INFO] [stdout] be45acc7ce466463f992c36dae1ab8422eff0c38d513e655ac8d2d4a23a8b553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68d66967eee17a41b66b8b785f38a1ce7a860b39eb7c8f8c5b75269e9ab23c27 [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" "68d66967eee17a41b66b8b785f38a1ce7a860b39eb7c8f8c5b75269e9ab23c27", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling varargs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0617]: can't pass `extern "C" fn() {callback}` to variadic function [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { foobar(1, callback, 3u64); } [INFO] [stdout] | ^^^^^^^^ help: cast the value to `extern "C" fn()`: `callback as extern "C" fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0617`. [INFO] [stdout] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0617]: can't pass `extern "C" fn() {callback}` to variadic function [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe { foobar(1, callback, 3u64); } [INFO] [stdout] | ^^^^^^^^ help: cast the value to `extern "C" fn()`: `callback as extern "C" fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0617`. [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "68d66967eee17a41b66b8b785f38a1ce7a860b39eb7c8f8c5b75269e9ab23c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d66967eee17a41b66b8b785f38a1ce7a860b39eb7c8f8c5b75269e9ab23c27", kill_on_drop: false }` [INFO] [stdout] 68d66967eee17a41b66b8b785f38a1ce7a860b39eb7c8f8c5b75269e9ab23c27