Skip to content

go run fails #1303

Closed
Closed
@joshlf

Description

@joshlf

Crate name: mundane
Build failure link: https://docs.rs/crate/mundane/0.4.4/builds/357678

Additional details: Based on the following log output, I believe what's happening is that, since the GOCACHE environment variable is not set, go run is defaulting to $HOME/.cache, and I'm guessing that $HOME is set to /. This means that go run tries creating /.cache, which it doesn't have permission to do. See here for more details on Go's build cache.

[INFO] [stderr]   cd /opt/rustwide/workdir/boringssl/boringssl/crypto/err && /usr/bin/go run err_data_generate.go > /opt/rustwide/target/debug/build/mundane-6275d256bd1e392c/out/boringssl/build_1/crypto/err_data.c
[INFO] [stderr]   failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildsArea: Building the documentation for a crateC-build-failureCategory: This is a crate that failed to build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions