[INFO] cloning repository https://github.com/thedracle/rustcppintrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thedracle/rustcppintrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedracle%2Frustcppintrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedracle%2Frustcppintrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e71e01d7fa6e46480f9389a01487f991657c025 [INFO] testing thedracle/rustcppintrop against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedracle%2Frustcppintrop" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thedracle/rustcppintrop on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thedracle/rustcppintrop [INFO] finished tweaking git repo https://github.com/thedracle/rustcppintrop [INFO] tweaked toml for git repo https://github.com/thedracle/rustcppintrop written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/thedracle/rustcppintrop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-flags v1.0.56 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.56 [INFO] [stderr] Downloaded cxx-build v1.0.56 [INFO] [stderr] Downloaded link-cplusplus v1.0.5 [INFO] [stderr] Downloaded cxx v1.0.56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf717b78a7fade6e9ab4261374dec4c822622ad99a1b29b73393b2a33516082 [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" "1bf717b78a7fade6e9ab4261374dec4c822622ad99a1b29b73393b2a33516082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf717b78a7fade6e9ab4261374dec4c822622ad99a1b29b73393b2a33516082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf717b78a7fade6e9ab4261374dec4c822622ad99a1b29b73393b2a33516082", kill_on_drop: false }` [INFO] [stdout] 1bf717b78a7fade6e9ab4261374dec4c822622ad99a1b29b73393b2a33516082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 430eaeebdfa644c384d7bf650ffaaf0d3fbbd8ecf00528119538305b7ed9403d [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" "430eaeebdfa644c384d7bf650ffaaf0d3fbbd8ecf00528119538305b7ed9403d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling scratch v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cxxbridge-flags v1.0.56 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling link-cplusplus v1.0.5 [INFO] [stderr] Compiling cxx v1.0.56 [INFO] [stderr] Compiling cxx-build v1.0.56 [INFO] [stderr] Compiling cxxbridge-macro v1.0.56 [INFO] [stderr] Compiling rustcppinterop v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/test.cc: In function 'std::unique_ptr new_test()': [INFO] [stderr] warning: src/test.cc:12:15: error: 'make_unique' is not a member of 'std' [INFO] [stderr] warning: 12 | return std::make_unique(); [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: src/test.cc:12:15: note: 'std::make_unique' is only available from C++14 onwards [INFO] [stderr] warning: src/test.cc:12:31: error: expected primary-expression before '>' token [INFO] [stderr] warning: 12 | return std::make_unique(); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/test.cc:12:33: error: expected primary-expression before ')' token [INFO] [stderr] warning: 12 | return std::make_unique(); [INFO] [stderr] warning: | ^ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `rustcppinterop v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rustcppinterop-e9f69c9d400d3969/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:CXXBRIDGE_PREFIX=rustcppinterop [INFO] [stderr] cargo:CXXBRIDGE_DIR0=/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/include [INFO] [stderr] cargo:CXXBRIDGE_DIR1=/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/crate [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] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = 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] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/sources/rustcppinterop/src/main.rs.o" "-c" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/sources/rustcppinterop/src/main.rs.cc" [INFO] [stderr] exit status: 0 [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/src/test.o" "-c" "src/test.cc" [INFO] [stderr] cargo:warning=src/test.cc: In function 'std::unique_ptr new_test()': [INFO] [stderr] cargo:warning=src/test.cc:12:15: error: 'make_unique' is not a member of 'std' [INFO] [stderr] cargo:warning= 12 | return std::make_unique(); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=src/test.cc:12:15: note: 'std::make_unique' is only available from C++14 onwards [INFO] [stderr] cargo:warning=src/test.cc:12:31: error: expected primary-expression before '>' token [INFO] [stderr] cargo:warning= 12 | return std::make_unique(); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/test.cc:12:33: error: expected primary-expression before ')' token [INFO] [stderr] cargo:warning= 12 | return std::make_unique(); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] CXX include path: [INFO] [stderr] /opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/include [INFO] [stderr] /opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/crate [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/rustcppinterop-c60de3e9876d6ff5/out/src/test.o" "-c" "src/test.cc" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "430eaeebdfa644c384d7bf650ffaaf0d3fbbd8ecf00528119538305b7ed9403d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430eaeebdfa644c384d7bf650ffaaf0d3fbbd8ecf00528119538305b7ed9403d", kill_on_drop: false }` [INFO] [stdout] 430eaeebdfa644c384d7bf650ffaaf0d3fbbd8ecf00528119538305b7ed9403d