[INFO] cloning repository https://github.com/thelonehegelian/compile_link_c_plus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thelonehegelian/compile_link_c_plus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelonehegelian%2Fcompile_link_c_plus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelonehegelian%2Fcompile_link_c_plus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92a85598dcb10d9f5f13d50d3d8b4daefe7fb8fb [INFO] testing thelonehegelian/compile_link_c_plus against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelonehegelian%2Fcompile_link_c_plus" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thelonehegelian/compile_link_c_plus [INFO] finished tweaking git repo https://github.com/thelonehegelian/compile_link_c_plus [INFO] tweaked toml for git repo https://github.com/thelonehegelian/compile_link_c_plus written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thelonehegelian/compile_link_c_plus on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thelonehegelian/compile_link_c_plus 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38a81fc84afb2acc77af02e462bb45052e0db63c7ce67a65abbb9ed919b479fc [INFO] running `Command { std: "docker" "start" "-a" "38a81fc84afb2acc77af02e462bb45052e0db63c7ce67a65abbb9ed919b479fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a81fc84afb2acc77af02e462bb45052e0db63c7ce67a65abbb9ed919b479fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a81fc84afb2acc77af02e462bb45052e0db63c7ce67a65abbb9ed919b479fc", kill_on_drop: false }` [INFO] [stdout] 38a81fc84afb2acc77af02e462bb45052e0db63c7ce67a65abbb9ed919b479fc [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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511817eeaf5c9ba94442e2b4c23310e77340505116d6c5d38f3ce9c3d833380b [INFO] running `Command { std: "docker" "start" "-a" "511817eeaf5c9ba94442e2b4c23310e77340505116d6c5d38f3ce9c3d833380b", kill_on_drop: false }` [INFO] [stderr] Compiling compile_link_c_plus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp: In function 'int multiply(int, int)': [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp:2:31: warning: no return statement in function returning non-void [-Wreturn-type] [INFO] [stderr] warning: compile_link_c_plus@0.1.0: 2 | int multiply(int a, int b) {} [INFO] [stderr] warning: compile_link_c_plus@0.1.0: | ^ [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp:2:20: warning: unused parameter 'a' [-Wunused-parameter] [INFO] [stderr] warning: compile_link_c_plus@0.1.0: 2 | int multiply(int a, int b) {} [INFO] [stderr] warning: compile_link_c_plus@0.1.0: | ~~~~^ [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp:2:27: warning: unused parameter 'b' [-Wunused-parameter] [INFO] [stderr] warning: compile_link_c_plus@0.1.0: 2 | int multiply(int a, int b) {} [INFO] [stderr] warning: compile_link_c_plus@0.1.0: | ~~~~^ [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp: At global scope: [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp:5:5: error: redefinition of 'int multiply(int, int)' [INFO] [stderr] warning: compile_link_c_plus@0.1.0: 5 | int multiply(int a, int b) { [INFO] [stderr] warning: compile_link_c_plus@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: compile_link_c_plus@0.1.0: src/math.cpp:2:7: note: 'int multiply(int, int)' previously defined here [INFO] [stderr] warning: compile_link_c_plus@0.1.0: 2 | int multiply(int a, int b) {} [INFO] [stderr] warning: compile_link_c_plus@0.1.0: | ^~~~~~~~ [INFO] [stderr] error: failed to run custom build command for `compile_link_c_plus v0.1.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/compile_link_c_plus-dd9c1a2ad2444753/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] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXX [INFO] [stderr] HOST_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/compile_link_c_plus-45ccca37492244e5/out/src/math.o" "-c" "src/math.cpp" [INFO] [stderr] cargo:warning=src/math.cpp: In function 'int multiply(int, int)': [INFO] [stderr] cargo:warning=src/math.cpp:2:31: warning: no return statement in function returning non-void [-Wreturn-type] [INFO] [stderr] cargo:warning= 2 | int multiply(int a, int b) {} [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/math.cpp:2:20: warning: unused parameter 'a' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 2 | int multiply(int a, int b) {} [INFO] [stderr] cargo:warning= | ~~~~^ [INFO] [stderr] cargo:warning=src/math.cpp:2:27: warning: unused parameter 'b' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 2 | int multiply(int a, int b) {} [INFO] [stderr] cargo:warning= | ~~~~^ [INFO] [stderr] cargo:warning=src/math.cpp: At global scope: [INFO] [stderr] cargo:warning=src/math.cpp:5:5: error: redefinition of 'int multiply(int, int)' [INFO] [stderr] cargo:warning= 5 | int multiply(int a, int b) { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=src/math.cpp:2:7: note: 'int multiply(int, int)' previously defined here [INFO] [stderr] cargo:warning= 2 | int multiply(int a, int b) {} [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/compile_link_c_plus-45ccca37492244e5/out/src/math.o" "-c" "src/math.cpp" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "511817eeaf5c9ba94442e2b4c23310e77340505116d6c5d38f3ce9c3d833380b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511817eeaf5c9ba94442e2b4c23310e77340505116d6c5d38f3ce9c3d833380b", kill_on_drop: false }` [INFO] [stdout] 511817eeaf5c9ba94442e2b4c23310e77340505116d6c5d38f3ce9c3d833380b