clear_on_drop 0.2.5

Helpers for clearing sensitive data on the stack and heap
Documentation
Build #1555617 2024-11-18T10:38:04.681455+00:00
# rustc version
rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/clear_on_drop-0.2.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/clear_on_drop-0.2.5/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241117-1.84.0-nightly-5ec7d6eee\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] b163b79fe5fc4562d2efcda7f7119ad7ff3ef4cced1a9d063175b020d2180fa6
[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" "b163b79fe5fc4562d2efcda7f7119ad7ff3ef4cced1a9d063175b020d2180fa6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling clear_on_drop v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr] warning: clear_on_drop@0.2.5: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: clear_on_drop@0.2.5: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] error: failed to run custom build command for `clear_on_drop v0.2.5 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/clear_on_drop-73b9b1f0b11c3155/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/clear_on_drop-575ede2aa3b6de55/out)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = 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(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/clear_on_drop-575ede2aa3b6de55/out/2e40c9e35e9506f4-hide.o" "-c" "src/hide.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "b163b79fe5fc4562d2efcda7f7119ad7ff3ef4cced1a9d063175b020d2180fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b163b79fe5fc4562d2efcda7f7119ad7ff3ef4cced1a9d063175b020d2180fa6", kill_on_drop: false }`
[INFO] [stdout] b163b79fe5fc4562d2efcda7f7119ad7ff3ef4cced1a9d063175b020d2180fa6