[INFO] cloning repository https://github.com/jeanga/foo_cxx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeanga/foo_cxx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanga%2Ffoo_cxx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanga%2Ffoo_cxx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c7632754f06b96e63eb7f7142de0111475fe5dc [INFO] checking jeanga/foo_cxx against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanga%2Ffoo_cxx" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeanga/foo_cxx [INFO] finished tweaking git repo https://github.com/jeanga/foo_cxx [INFO] tweaked toml for git repo https://github.com/jeanga/foo_cxx written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeanga/foo_cxx on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeanga/foo_cxx 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded link-cplusplus v1.0.12 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.188 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.188 [INFO] [stderr] Downloaded clap v4.5.52 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded scratch v1.0.9 [INFO] [stderr] Downloaded codespan-reporting v0.13.1 [INFO] [stderr] Downloaded clap_builder v4.5.52 [INFO] [stderr] Downloaded cxx v1.0.188 [INFO] [stderr] Downloaded cxxbridge-cmd v1.0.188 [INFO] [stderr] Downloaded cxx-build v1.0.188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d004e4c835cbef2788420ad187f027379ec79f8c8a4e032ce7a875dcebf5e612 [INFO] running `Command { std: "docker" "start" "-a" "d004e4c835cbef2788420ad187f027379ec79f8c8a4e032ce7a875dcebf5e612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d004e4c835cbef2788420ad187f027379ec79f8c8a4e032ce7a875dcebf5e612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d004e4c835cbef2788420ad187f027379ec79f8c8a4e032ce7a875dcebf5e612", kill_on_drop: false }` [INFO] [stdout] d004e4c835cbef2788420ad187f027379ec79f8c8a4e032ce7a875dcebf5e612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c01f71349cbaafb725bf6221c099f1e4c604b455723a1733a673665f8178904 [INFO] running `Command { std: "docker" "start" "-a" "4c01f71349cbaafb725bf6221c099f1e4c604b455723a1733a673665f8178904", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling scratch v1.0.9 [INFO] [stderr] Compiling cxxbridge-flags v1.0.188 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling codespan-reporting v0.13.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling link-cplusplus v1.0.12 [INFO] [stderr] Compiling cxx v1.0.188 [INFO] [stderr] Compiling cxx-build v1.0.188 [INFO] [stderr] Compiling cxxbridge-macro v1.0.188 [INFO] [stderr] Compiling foo_cxx v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: foo_cxx@0.1.0: In file included from /opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/sources/foo_cxx/src/lib.rs.cc:1: [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:64:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] warning: foo_cxx@0.1.0: 64 | std::expected divide_formatted_impl(double a, double b) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:64:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] warning: foo_cxx@0.1.0: 64 | std::expected divide_formatted_impl(double a, double b) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:65:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] warning: foo_cxx@0.1.0: 65 | std::expected, FooErrorCode> create_range_impl(int32_t start, int32_t end, int32_t max_size) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:65:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] warning: foo_cxx@0.1.0: 65 | std::expected, FooErrorCode> create_range_impl(int32_t start, int32_t end, int32_t max_size) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:66:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] warning: foo_cxx@0.1.0: 66 | std::expected process_json_like_impl(const std::string& input) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:66:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] warning: foo_cxx@0.1.0: 66 | std::expected process_json_like_impl(const std::string& input) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:67:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] warning: foo_cxx@0.1.0: 67 | std::expected parse_number_impl(const std::string& input) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: foo_cxx@0.1.0: /opt/rustwide/workdir/include/foo.h:67:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] warning: foo_cxx@0.1.0: 67 | std::expected parse_number_impl(const std::string& input) const; [INFO] [stderr] warning: foo_cxx@0.1.0: | ^~~ [INFO] [stderr] error: failed to run custom build command for `foo_cxx 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/foo_cxx-e73ed0a65bfd40ab/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/lib.rs [INFO] [stderr] cargo:CXXBRIDGE_PREFIX=foo_cxx [INFO] [stderr] cargo:CXXBRIDGE_DIR0=/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/include [INFO] [stderr] cargo:CXXBRIDGE_DIR1=/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/crate [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [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=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = 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] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = 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] OUT_DIR = Some(/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out) [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = 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:warning=In file included from /opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/sources/foo_cxx/src/lib.rs.cc:1: [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:64:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] cargo:warning= 64 | std::expected divide_formatted_impl(double a, double b) const; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:64:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] cargo:warning= 64 | std::expected divide_formatted_impl(double a, double b) const; [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:65:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] cargo:warning= 65 | std::expected, FooErrorCode> create_range_impl(int32_t start, int32_t end, int32_t max_size) const; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:65:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] cargo:warning= 65 | std::expected, FooErrorCode> create_range_impl(int32_t start, int32_t end, int32_t max_size) const; [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:66:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] cargo:warning= 66 | std::expected process_json_like_impl(const std::string& input) const; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:66:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] cargo:warning= 66 | std::expected process_json_like_impl(const std::string& input) const; [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:67:10: error: 'expected' in namespace 'std' does not name a template type [INFO] [stderr] cargo:warning= 67 | std::expected parse_number_impl(const std::string& input) const; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/workdir/include/foo.h:67:5: note: 'std::expected' is only available from C++23 onwards [INFO] [stderr] cargo:warning= 67 | std::expected parse_number_impl(const std::string& input) const; [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] CXX include path: [INFO] [stderr] /opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/include [INFO] [stderr] /opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/crate [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/crate" "-I" "/opt/rustwide/workdir/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/2d8856d43b92dc4e-lib.rs.o" "-c" "/opt/rustwide/target/debug/build/foo_cxx-bc9f4439d4527fb4/out/cxxbridge/sources/foo_cxx/src/lib.rs.cc" [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4c01f71349cbaafb725bf6221c099f1e4c604b455723a1733a673665f8178904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c01f71349cbaafb725bf6221c099f1e4c604b455723a1733a673665f8178904", kill_on_drop: false }` [INFO] [stdout] 4c01f71349cbaafb725bf6221c099f1e4c604b455723a1733a673665f8178904