[INFO] cloning repository https://github.com/yadinii/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yadinii/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyadinii%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyadinii%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7497acb8c19bdce72d4327271a07aa8144553b1d [INFO] checking yadinii/rust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyadinii%2Frust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yadinii/rust on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yadinii/rust [INFO] removed path dependency bencher from git repo https://github.com/yadinii/rust [INFO] finished tweaking git repo https://github.com/yadinii/rust [INFO] tweaked toml for git repo https://github.com/yadinii/rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/yadinii/rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/images.rs [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/pixels.rs [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/ppm_libc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: dependency (bencher) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/images.rs [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/pixels.rs [INFO] [stderr] * /workspace/builds/worker-12/source/src/bin/ppm_libc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: dependency (bencher) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8484614a752a7742fd3db30ec0cad9737c4d73e02d8cb0a98c49febeecff2c4 [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" "d8484614a752a7742fd3db30ec0cad9737c4d73e02d8cb0a98c49febeecff2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8484614a752a7742fd3db30ec0cad9737c4d73e02d8cb0a98c49febeecff2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8484614a752a7742fd3db30ec0cad9737c4d73e02d8cb0a98c49febeecff2c4", kill_on_drop: false }` [INFO] [stdout] d8484614a752a7742fd3db30ec0cad9737c4d73e02d8cb0a98c49febeecff2c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cab99748fd1343dd2c7d9424703a31ed62b444abb611b28142f11dcb7cc879b4 [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" "cab99748fd1343dd2c7d9424703a31ed62b444abb611b28142f11dcb7cc879b4", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/images.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/pixels.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/ppm_libc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: dependency (bencher) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling ppm v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/lib_c/ppma_io.c:328:6: error: conflicting types for 'ppma_read' [INFO] [stderr] warning: 328 | void ppma_read ( const char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] warning: | ^~~~~~~~~ [INFO] [stderr] warning: In file included from src/lib_c/ppma_io.c:6: [INFO] [stderr] warning: src/lib_c/ppma_io.h:11:6: note: previous declaration of 'ppma_read' was here [INFO] [stderr] warning: 11 | void ppma_read ( char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] warning: | ^~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `ppm v0.0.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ppm-5549b366b08844b8/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/ppm-6f926a08c840f8b7/out/src/lib_c/ppma_io.o" "-c" "src/lib_c/ppma_io.c" [INFO] [stderr] cargo:warning=src/lib_c/ppma_io.c:328:6: error: conflicting types for 'ppma_read' [INFO] [stderr] cargo:warning= 328 | void ppma_read ( const char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] cargo:warning= | ^~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from src/lib_c/ppma_io.c:6: [INFO] [stderr] cargo:warning=src/lib_c/ppma_io.h:11:6: note: previous declaration of 'ppma_read' was here [INFO] [stderr] cargo:warning= 11 | void ppma_read ( char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] cargo:warning= | ^~~~~~~~~ [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/ppm-6f926a08c840f8b7/out/src/lib_c/ppma_io.o" "-c" "src/lib_c/ppma_io.c" with args "cc" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "cab99748fd1343dd2c7d9424703a31ed62b444abb611b28142f11dcb7cc879b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab99748fd1343dd2c7d9424703a31ed62b444abb611b28142f11dcb7cc879b4", kill_on_drop: false }` [INFO] [stdout] cab99748fd1343dd2c7d9424703a31ed62b444abb611b28142f11dcb7cc879b4