Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.88.0-nightly (6bc57c6bf 2025-04-22)
# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/cpp_new-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/cpp_new-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250422-1.88.0-nightly-6bc57c6bf\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] 03797e1c86b0fed0ce3de22ea47f38df994b906db1a224d43416308c8ed3df73 [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" "03797e1c86b0fed0ce3de22ea47f38df994b906db1a224d43416308c8ed3df73", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Compiling cpp_new v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: cpp_new@0.1.0: src/new.cpp:9:33: error: ISO C++17 does not allow dynamic exception specifications [INFO] [stderr] warning: cpp_new@0.1.0: 9 | void* operator new(size_t size) throw(std::bad_alloc) { [INFO] [stderr] warning: cpp_new@0.1.0: | ^~~~~ [INFO] [stderr] warning: cpp_new@0.1.0: src/new.cpp:13:35: error: ISO C++17 does not allow dynamic exception specifications [INFO] [stderr] warning: cpp_new@0.1.0: 13 | void* operator new[](size_t size) throw(std::bad_alloc) { [INFO] [stderr] warning: cpp_new@0.1.0: | ^~~~~ [INFO] [stderr] warning: cpp_new@0.1.0: src/new.cpp:17:6: warning: the program should also define 'void operator delete(void*, std::size_t)' [-Wsized-deallocation] [INFO] [stderr] warning: cpp_new@0.1.0: 17 | void operator delete(void* const payload) throw() { [INFO] [stderr] warning: cpp_new@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: cpp_new@0.1.0: src/new.cpp:21:6: warning: the program should also define 'void operator delete [](void*, std::size_t)' [-Wsized-deallocation] [INFO] [stderr] warning: cpp_new@0.1.0: 21 | void operator delete[](void* const payload) throw() { [INFO] [stderr] warning: cpp_new@0.1.0: | ^~~~~~~~ [INFO] [stderr] error: failed to run custom build command for `cpp_new v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/cpp_new-c3d72d895763264c/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/cpp_new-b9d59dacee12c0ad/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() [INFO] [stderr] cargo:warning=src/new.cpp:9:33: error: ISO C++17 does not allow dynamic exception specifications [INFO] [stderr] cargo:warning= 9 | void* operator new(size_t size) throw(std::bad_alloc) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=src/new.cpp:13:35: error: ISO C++17 does not allow dynamic exception specifications [INFO] [stderr] cargo:warning= 13 | void* operator new[](size_t size) throw(std::bad_alloc) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=src/new.cpp:17:6: warning: the program should also define 'void operator delete(void*, std::size_t)' [-Wsized-deallocation] [INFO] [stderr] cargo:warning= 17 | void operator delete(void* const payload) throw() { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=src/new.cpp:21:6: warning: the program should also define 'void operator delete [](void*, std::size_t)' [-Wsized-deallocation] [INFO] [stderr] cargo:warning= 21 | void operator delete[](void* const payload) throw() { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] --- stderr [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" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/cpp_new-b9d59dacee12c0ad/out/0602fb52cb66f316-new.o" "-c" "src/new.cpp" [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "03797e1c86b0fed0ce3de22ea47f38df994b906db1a224d43416308c8ed3df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03797e1c86b0fed0ce3de22ea47f38df994b906db1a224d43416308c8ed3df73", kill_on_drop: false }` [INFO] [stdout] 03797e1c86b0fed0ce3de22ea47f38df994b906db1a224d43416308c8ed3df73