[INFO] fetching crate risc0-zkvm-sys 0.11.1... [INFO] testing risc0-zkvm-sys-0.11.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate risc0-zkvm-sys 0.11.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate risc0-zkvm-sys 0.11.1 [INFO] finished tweaking crates.io crate risc0-zkvm-sys 0.11.1 [INFO] tweaked toml for crates.io crate risc0-zkvm-sys 0.11.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate risc0-zkvm-sys 0.11.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded risc0-zkvm-circuit-gen v0.11.1 [INFO] [stderr] Downloaded risc0-zkvm-platform-sys v0.11.1 [INFO] [stderr] Downloaded risc0-core-sys v0.11.1 [INFO] [stderr] Downloaded risc0-zkp-sys v0.11.1 [INFO] [stderr] Downloaded risc0-zkvm-circuit-sys v0.11.1 [INFO] [stderr] Downloaded tbb-sys v1.1.0+2021.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c162d236d0e2cbef30659414a4924c79db9ed228aff7f0deb16ec7d637d42bf1 [INFO] running `Command { std: "docker" "start" "-a" "c162d236d0e2cbef30659414a4924c79db9ed228aff7f0deb16ec7d637d42bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c162d236d0e2cbef30659414a4924c79db9ed228aff7f0deb16ec7d637d42bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c162d236d0e2cbef30659414a4924c79db9ed228aff7f0deb16ec7d637d42bf1", kill_on_drop: false }` [INFO] [stdout] c162d236d0e2cbef30659414a4924c79db9ed228aff7f0deb16ec7d637d42bf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] befee09fbc477a6b123fd4bb0a0ed0d9cd17cd8ac79a73e82542ce29f3787bd8 [INFO] running `Command { std: "docker" "start" "-a" "befee09fbc477a6b123fd4bb0a0ed0d9cd17cd8ac79a73e82542ce29f3787bd8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling scratch v1.0.9 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cxxbridge-flags v1.0.173 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling link-cplusplus v1.0.10 [INFO] [stderr] Compiling cxx v1.0.173 [INFO] [stderr] Compiling tbb-sys v1.1.0+2021.5.0 [INFO] [stderr] Compiling cxx-build v1.0.173 [INFO] [stderr] Compiling cxxbridge-macro v1.0.173 [INFO] [stderr] Compiling risc0-core-sys v0.11.1 [INFO] [stderr] Compiling risc0-zkp-sys v0.11.1 [INFO] [stderr] Compiling risc0-zkvm-platform-sys v0.11.1 [INFO] [stderr] Compiling risc0-zkvm-circuit-sys v0.11.1 [INFO] [stderr] Compiling risc0-zkvm-sys v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: risc0-core-sys@0.11.1: In file included from util.cpp:1: [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:13: error: 'uint8_t' was not declared in this scope [INFO] [stderr] warning: risc0-core-sys@0.11.1: 87 | std::vector loadFile(const std::string& path); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:23:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: risc0-core-sys@0.11.1: 22 | #include [INFO] [stderr] warning: risc0-core-sys@0.11.1: +++ |+#include [INFO] [stderr] warning: risc0-core-sys@0.11.1: 23 | [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:20: error: template argument 1 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: 87 | std::vector loadFile(const std::string& path); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:20: error: template argument 2 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: In file included from log.cpp:15: [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:17: error: 'uint32_t' was not declared in this scope [INFO] [stderr] warning: risc0-core-sys@0.11.1: 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:32:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: risc0-core-sys@0.11.1: 31 | #include [INFO] [stderr] warning: risc0-core-sys@0.11.1: +++ |+#include [INFO] [stderr] warning: risc0-core-sys@0.11.1: 32 | [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:33: error: expected primary-expression before 'int' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:13: error: redefinition of 'std::string risc0::hex' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 54 | std::string hex(uint32_t value); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: 'std::string risc0::hex' previously declared here [INFO] [stderr] warning: risc0-core-sys@0.11.1: 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:17: error: 'uint32_t' was not declared in this scope [INFO] [stderr] warning: risc0-core-sys@0.11.1: 54 | std::string hex(uint32_t value); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:10:13: error: 'uint8_t' was not declared in this scope [INFO] [stderr] warning: risc0-core-sys@0.11.1: 10 | std::vector loadFile(const std::string& path) { [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:6:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: risc0-core-sys@0.11.1: 5 | #include [INFO] [stderr] warning: risc0-core-sys@0.11.1: +++ |+#include [INFO] [stderr] warning: risc0-core-sys@0.11.1: 6 | #include [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:10:20: error: template argument 1 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: 10 | std::vector loadFile(const std::string& path) { [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:10:20: error: template argument 2 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp: In function 'int risc0::loadFile(const std::string&)': [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:16:15: error: 'uint8_t' was not declared in this scope [INFO] [stderr] warning: risc0-core-sys@0.11.1: 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:16:15: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:16:22: error: template argument 1 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:16:22: error: template argument 2 is invalid [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:16:45: error: expression list treated as compound expression in initializer [-fpermissive] [INFO] [stderr] warning: risc0-core-sys@0.11.1: 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: util.cpp:17:47: error: request for member 'data' in 'elfContents', which is of non-class type 'int' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 17 | is.read(reinterpret_cast(elfContents.data()), nbytes); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: log.cpp:54:43: error: 'std::string risc0::hex(uint32_t, int)' redeclared as different kind of entity [INFO] [stderr] warning: risc0-core-sys@0.11.1: 54 | std::string hex(uint32_t value, int digits) { [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: previous declaration 'std::string risc0::hex' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: log.cpp:60:31: error: 'std::string risc0::hex(uint32_t)' redeclared as different kind of entity [INFO] [stderr] warning: risc0-core-sys@0.11.1: 60 | std::string hex(uint32_t value) { [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^ [INFO] [stderr] warning: risc0-core-sys@0.11.1: /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: previous declaration 'std::string risc0::hex' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ^~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: log.cpp: In function 'std::string risc0::hex(uint32_t)': [INFO] [stderr] warning: risc0-core-sys@0.11.1: log.cpp:61:13: error: no match for call to '(std::string {aka std::__cxx11::basic_string}) (uint32_t&, int)' [INFO] [stderr] warning: risc0-core-sys@0.11.1: 61 | return hex(value, 8); [INFO] [stderr] warning: risc0-core-sys@0.11.1: | ~~~^~~~~~~~~~ [INFO] [stderr] warning: risc0-core-sys@0.11.1: ToolExecError: 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/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate" "-std=c++17" "-o" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/97cc2182c72ccc3b-util.o" "-c" "util.cpp" [INFO] [stderr] warning: risc0-core-sys@0.11.1: ToolExecError: 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/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate" "-std=c++17" "-o" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/97cc2182c72ccc3b-log.o" "-c" "log.cpp" [INFO] [stderr] error: failed to run custom build command for `risc0-core-sys v0.11.1` [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/risc0-core-sys-2e97031d2d2fd0d2/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=lib.rs [INFO] [stderr] cargo:CXXBRIDGE_PREFIX=risc0/core [INFO] [stderr] cargo:CXXBRIDGE_LINKS=risc0-core-sys [INFO] [stderr] cargo:CXXBRIDGE_DIR0=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include [INFO] [stderr] cargo:CXXBRIDGE_DIR1=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [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] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/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] OUT_DIR = Some(/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/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 util.cpp:1: [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:13: error: 'uint8_t' was not declared in this scope [INFO] [stderr] cargo:warning= 87 | std::vector loadFile(const std::string& path); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:23:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning= 22 | #include [INFO] [stderr] cargo:warning= +++ |+#include [INFO] [stderr] cargo:warning= 23 | [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:20: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 87 | std::vector loadFile(const std::string& path); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/util.h:87:20: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=In file included from log.cpp:15: [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:17: error: 'uint32_t' was not declared in this scope [INFO] [stderr] cargo:warning= 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:32:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning= 31 | #include [INFO] [stderr] cargo:warning= +++ |+#include [INFO] [stderr] cargo:warning= 32 | [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:33: error: expected primary-expression before 'int' [INFO] [stderr] cargo:warning= 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:13: error: redefinition of 'std::string risc0::hex' [INFO] [stderr] cargo:warning= 54 | std::string hex(uint32_t value); [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: 'std::string risc0::hex' previously declared here [INFO] [stderr] cargo:warning= 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:17: error: 'uint32_t' was not declared in this scope [INFO] [stderr] cargo:warning= 54 | std::string hex(uint32_t value); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:54:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning=util.cpp:10:13: error: 'uint8_t' was not declared in this scope [INFO] [stderr] cargo:warning= 10 | std::vector loadFile(const std::string& path) { [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=util.cpp:6:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning= 5 | #include [INFO] [stderr] cargo:warning= +++ |+#include [INFO] [stderr] cargo:warning= 6 | #include [INFO] [stderr] cargo:warning=util.cpp:10:20: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 10 | std::vector loadFile(const std::string& path) { [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=util.cpp:10:20: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=util.cpp: In function 'int risc0::loadFile(const std::string&)': [INFO] [stderr] cargo:warning=util.cpp:16:15: error: 'uint8_t' was not declared in this scope [INFO] [stderr] cargo:warning= 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=util.cpp:16:15: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning=util.cpp:16:22: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=util.cpp:16:22: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=util.cpp:16:45: error: expression list treated as compound expression in initializer [-fpermissive] [INFO] [stderr] cargo:warning= 16 | std::vector elfContents(nbytes, 0); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=util.cpp:17:47: error: request for member 'data' in 'elfContents', which is of non-class type 'int' [INFO] [stderr] cargo:warning= 17 | is.read(reinterpret_cast(elfContents.data()), nbytes); [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=log.cpp:54:43: error: 'std::string risc0::hex(uint32_t, int)' redeclared as different kind of entity [INFO] [stderr] cargo:warning= 54 | std::string hex(uint32_t value, int digits) { [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: previous declaration 'std::string risc0::hex' [INFO] [stderr] cargo:warning= 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=log.cpp:60:31: error: 'std::string risc0::hex(uint32_t)' redeclared as different kind of entity [INFO] [stderr] cargo:warning= 60 | std::string hex(uint32_t value) { [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate/risc0/core/log.h:53:13: note: previous declaration 'std::string risc0::hex' [INFO] [stderr] cargo:warning= 53 | std::string hex(uint32_t value, int digits); [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=log.cpp: In function 'std::string risc0::hex(uint32_t)': [INFO] [stderr] cargo:warning=log.cpp:61:13: error: no match for call to '(std::string {aka std::__cxx11::basic_string}) (uint32_t&, int)' [INFO] [stderr] cargo:warning= 61 | return hex(value, 8); [INFO] [stderr] cargo:warning= | ~~~^~~~~~~~~~ [INFO] [stderr] exit status: 0 [INFO] [stderr] exit status: 0 [INFO] [stderr] exit status: 0 [INFO] [stderr] exit status: 1 [INFO] [stderr] cargo:warning=ToolExecError: 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/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate" "-std=c++17" "-o" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/97cc2182c72ccc3b-util.o" "-c" "util.cpp" [INFO] [stderr] exit status: 1 [INFO] [stderr] cargo:warning=ToolExecError: 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/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate" "-std=c++17" "-o" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/97cc2182c72ccc3b-log.o" "-c" "log.cpp" [INFO] [stderr] exit status: 0 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] CXX include path: [INFO] [stderr] /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include [INFO] [stderr] /opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/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/risc0-core-sys-a72230513770fcbe/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/cxxbridge/crate" "-std=c++17" "-o" "/opt/rustwide/target/debug/build/risc0-core-sys-a72230513770fcbe/out/97cc2182c72ccc3b-log.o" "-c" "log.cpp" [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "befee09fbc477a6b123fd4bb0a0ed0d9cd17cd8ac79a73e82542ce29f3787bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befee09fbc477a6b123fd4bb0a0ed0d9cd17cd8ac79a73e82542ce29f3787bd8", kill_on_drop: false }` [INFO] [stdout] befee09fbc477a6b123fd4bb0a0ed0d9cd17cd8ac79a73e82542ce29f3787bd8