[INFO] cloning repository https://github.com/Ldixuan/rust-projet-ppm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ldixuan/rust-projet-ppm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLdixuan%2Frust-projet-ppm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLdixuan%2Frust-projet-ppm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cae2815de3e403da8460fa701b4f417921380273 [INFO] checking Ldixuan/rust-projet-ppm/cae2815de3e403da8460fa701b4f417921380273 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLdixuan%2Frust-projet-ppm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ldixuan/rust-projet-ppm on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ldixuan/rust-projet-ppm [INFO] finished tweaking git repo https://github.com/Ldixuan/rust-projet-ppm [INFO] tweaked toml for git repo https://github.com/Ldixuan/rust-projet-ppm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ldixuan/rust-projet-ppm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--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] * src/bin/pixels.rs [INFO] [stderr] * src/bin/images.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdbe0ce97a8eb7e93bfcc86045753ab445ac45ce3e7ba1503f13c62f64687bb4 [INFO] running `Command { std: "docker" "start" "-a" "bdbe0ce97a8eb7e93bfcc86045753ab445ac45ce3e7ba1503f13c62f64687bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdbe0ce97a8eb7e93bfcc86045753ab445ac45ce3e7ba1503f13c62f64687bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbe0ce97a8eb7e93bfcc86045753ab445ac45ce3e7ba1503f13c62f64687bb4", kill_on_drop: false }` [INFO] [stdout] bdbe0ce97a8eb7e93bfcc86045753ab445ac45ce3e7ba1503f13c62f64687bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c506b2d9b452e19e357d5193c42dad1c163d284f57e5ee0138e327199c47d9 [INFO] running `Command { std: "docker" "start" "-a" "b9c506b2d9b452e19e357d5193c42dad1c163d284f57e5ee0138e327199c47d9", 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] * src/bin/pixels.rs [INFO] [stderr] * src/bin/images.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking bencher v0.1.5 (/opt/rustwide/workdir/bencher) [INFO] [stderr] Compiling ppm v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: ppm@0.0.0: src/lib_c/ppma_io.c:328:6: error: conflicting types for 'ppma_read'; have 'void(const char *, int *, int *, int *, int **, int **, int **)' [INFO] [stderr] warning: ppm@0.0.0: 328 | void ppma_read ( const char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] warning: ppm@0.0.0: | ^~~~~~~~~ [INFO] [stderr] warning: ppm@0.0.0: In file included from src/lib_c/ppma_io.c:6: [INFO] [stderr] warning: ppm@0.0.0: src/lib_c/ppma_io.h:11:6: note: previous declaration of 'ppma_read' with type 'void(char *, int *, int *, int *, int **, int **, int **)' [INFO] [stderr] warning: ppm@0.0.0: 11 | void ppma_read ( char *input_name, int *xsize, int *ysize, int *rgb_max, [INFO] [stderr] warning: ppm@0.0.0: | ^~~~~~~~~ [INFO] [stderr] error: failed to run custom build command for `ppm v0.0.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ppm-116ddb1a9ff72218/build-script-build` (exit status: 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-d9dc97d50ad38272/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'; have 'void(const char *, int *, int *, int *, int **, int **, int **)' [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' with type 'void(char *, int *, int *, int *, int **, int **, int **)' [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 status: 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-d9dc97d50ad38272/out/src/lib_c/ppma_io.o" "-c" "src/lib_c/ppma_io.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "b9c506b2d9b452e19e357d5193c42dad1c163d284f57e5ee0138e327199c47d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c506b2d9b452e19e357d5193c42dad1c163d284f57e5ee0138e327199c47d9", kill_on_drop: false }` [INFO] [stdout] b9c506b2d9b452e19e357d5193c42dad1c163d284f57e5ee0138e327199c47d9