Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixdoc: init at 1.0.1 #49358

Merged
merged 1 commit into from Oct 28, 2018
Merged

nixdoc: init at 1.0.1 #49358

merged 1 commit into from Oct 28, 2018

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Oct 28, 2018

Adds nixdoc, a tool to generate documentation for Nix functions in the
standard library.

See #49275 for some background information.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: nixdoc

Partial log (click to expand)

error: aborting due to previous error

builder for '/nix/store/1s0kswy9caa8fllj6gpbdb2pgsr4da39-rust_serde_derive-1.0.18.drv' failed with exit code 1
cannot build derivation '/nix/store/y9bx530ci0xzs7744xazah5v0a4h01kl-rust_crates-io-0.11.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/255bl7fhn0i1dgw50c3grv16nv21yx17-rust_docopt-0.8.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/r7bq8w0hfsw9z8bp5h9wiiqpzs0ncly8-rust_cargo-0.22.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/by2d4v9rzz0isiipf6qblc5v0175dmyn-rust_cargo-vendor-0.1.13.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/452hqa6zn1wd0affy88bzzr6xhc3qs8h-nixdoc-1.0.1-vendor.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lwajv14mr7sxid6sp83nnsdmvzyc8wz0-nixdoc-1.0.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lwajv14mr7sxid6sp83nnsdmvzyc8wz0-nixdoc-1.0.1.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)


installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1
shrinking /nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1/bin/nixdoc
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1/bin
patching script interpreter paths in /nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1
checking for references to /build in /nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1...
/nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)


trying https://github.com/tazjin/nixdoc/archive/v1.0.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121    0   121    0     0    325      0 --:--:-- --:--:-- --:--:--   324
100 28801    0 28801    0     0  35295      0 --:--:-- --:--:-- --:--:-- 35295
unpacking source archive /build/v1.0.1.tar.gz
cannot build derivation '/nix/store/4vnb84b12kzz21yikx6mlhyc3jfnskv1-nixdoc-1.0.1-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv' failed

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

The macOS build failure is in cargo-vendor. @LnL7 have you tested cargo-vendor since the last rust upgrade?

@LnL7
Copy link
Member

LnL7 commented Oct 28, 2018

I didn't, only a few things like cargo, ripgrep and firefox.

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

ripgrep should have built cargo-vendor too.

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

Let's see: #49373

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

@GrahamcOfBorg build cargo-vendor

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cargo-vendor

Partial log (click to expand)

/nix/store/82c71cxwn28krilvmimp9h586ssm9s1l-rust_cargo-vendor-0.1.13

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cargo-vendor

Partial log (click to expand)

          

error: aborting due to previous error

builder for '/nix/store/1s0kswy9caa8fllj6gpbdb2pgsr4da39-rust_serde_derive-1.0.18.drv' failed with exit code 1
cannot build derivation '/nix/store/y9bx530ci0xzs7744xazah5v0a4h01kl-rust_crates-io-0.11.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/255bl7fhn0i1dgw50c3grv16nv21yx17-rust_docopt-0.8.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/r7bq8w0hfsw9z8bp5h9wiiqpzs0ncly8-rust_cargo-0.22.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/by2d4v9rzz0isiipf6qblc5v0175dmyn-rust_cargo-vendor-0.1.13.drv': 4 dependencies couldn't be built
error: build of '/nix/store/by2d4v9rzz0isiipf6qblc5v0175dmyn-rust_cargo-vendor-0.1.13.drv' failed

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

@GrahamcOfBorg build nixdoc

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)

/nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: nixdoc

Partial log (click to expand)

          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `structopt-derive`.
warning: build failed, waiting for other jobs to finish...
error: build failed
builder for '/nix/store/2r0kmgyj1gbidbc9sizlx1pnb3m45g7d-nixdoc-1.0.1.drv' failed with exit code 101
error: build of '/nix/store/2r0kmgyj1gbidbc9sizlx1pnb3m45g7d-nixdoc-1.0.1.drv' failed

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

@GrahamcOfBorg build cargo-vendor

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cargo-vendor

Partial log (click to expand)

/nix/store/82c71cxwn28krilvmimp9h586ssm9s1l-rust_cargo-vendor-0.1.13

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: cargo-vendor

Partial log (click to expand)

/nix/store/yz7si2djix3rw3skfb7bikf1fa3nn206-rust_cargo-vendor-0.1.13

@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

@GrahamcOfBorg build nixdoc

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: nixdoc

Partial log (click to expand)

Cannot nix-instantiate `nixdoc' because:
error: while evaluating 'callPackageWith' at /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/lib/customisation.nix:108:35, called from /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/pkgs/top-level/all-packages.nix:22161:12:
while evaluating 'makeOverridable' at /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/lib/customisation.nix:67:24, called from /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/lib/customisation.nix:112:8:
undefined variable 'stdenv' at /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/pkgs/tools/nix/nixdoc/default.nix:14:18

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: nixdoc

Partial log (click to expand)

Cannot nix-instantiate `nixdoc' because:
error: while evaluating 'callPackageWith' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:108:35, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:22161:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:67:24, called from /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:112:8:
undefined variable 'stdenv' at /private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/nix/nixdoc/default.nix:14:18

Adds nixdoc, a tool to generate documentation for Nix functions in the
standard library.

See NixOS#49275 for some background information.
@Mic92
Copy link
Member Author

Mic92 commented Oct 28, 2018

@GrahamcOfBorg build nixdoc

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)

/nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nixdoc

Partial log (click to expand)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

installing
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/qiamic7kql0sls2g6r6mg6snh3z0208q-nixdoc-1.0.1/bin
patching script interpreter paths in /nix/store/qiamic7kql0sls2g6r6mg6snh3z0208q-nixdoc-1.0.1
/nix/store/qiamic7kql0sls2g6r6mg6snh3z0208q-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)

/nix/store/z6rkxf5726kv5c0n47w24hqnq9s9gr55-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nixdoc

Partial log (click to expand)

/nix/store/qiamic7kql0sls2g6r6mg6snh3z0208q-nixdoc-1.0.1

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: cargo-vendor

Partial log (click to expand)

cannot build derivation '/nix/store/cz8f3qdqpv49idr5rc0lpax23lmjx8r5-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/zqix14w1b856sighsdxrr299511i8wpw-rust_curl-sys-0.3.15.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/1kjg60w9zznvhh4ksk7vf3jq4j2f0ngm-rust_curl-0.4.8.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/gs63nkjd18gf0cf7rvj83fwg7ryklxqa-rust_libgit2-sys-0.6.16.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/wh1msg1mkqxwc2vx904hm2mil01zm35c-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/59v5yhwjyipq1nb0smrz8ix4f5g7wxyj-rust_git2-0.6.8.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/4lqk6gj31ixz1j7vzsq2rigj3jij6vhf-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/mqyir1kk5y6wa8f5ac2sljwcj3m966js-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
error: build of '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: cargo-vendor

Partial log (click to expand)

cannot build derivation '/nix/store/59v5yhwjyipq1nb0smrz8ix4f5g7wxyj-rust_git2-0.6.8.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/jvv9ys285vgarmjq5n2bb0m28q78safc-rust_globset-0.2.1.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/sn4cdhv6fgycqi8qxxjkk6nns57zw5nr-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/wh1msg1mkqxwc2vx904hm2mil01zm35c-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/53fv3yf5hfv20m5h6klwyhirv5vq296k-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/4lqk6gj31ixz1j7vzsq2rigj3jij6vhf-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/cz8f3qdqpv49idr5rc0lpax23lmjx8r5-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/mqyir1kk5y6wa8f5ac2sljwcj3m966js-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
error: build of '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv' failed

@Mic92 Mic92 merged commit 0e72714 into NixOS:master Oct 28, 2018
@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)

cannot build derivation '/nix/store/sn4cdhv6fgycqi8qxxjkk6nns57zw5nr-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/wh1msg1mkqxwc2vx904hm2mil01zm35c-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/53fv3yf5hfv20m5h6klwyhirv5vq296k-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/4lqk6gj31ixz1j7vzsq2rigj3jij6vhf-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/cz8f3qdqpv49idr5rc0lpax23lmjx8r5-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/mqyir1kk5y6wa8f5ac2sljwcj3m966js-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/4vnb84b12kzz21yikx6mlhyc3jfnskv1-nixdoc-1.0.1-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv' failed

@Mic92 Mic92 deleted the nixdoc branch October 28, 2018 23:35
@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: nixdoc

Partial log (click to expand)

cannot build derivation '/nix/store/sn4cdhv6fgycqi8qxxjkk6nns57zw5nr-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/wh1msg1mkqxwc2vx904hm2mil01zm35c-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/53fv3yf5hfv20m5h6klwyhirv5vq296k-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/4lqk6gj31ixz1j7vzsq2rigj3jij6vhf-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/cz8f3qdqpv49idr5rc0lpax23lmjx8r5-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/mqyir1kk5y6wa8f5ac2sljwcj3m966js-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/zfhr61dwj46b7q1b58d0bs99yfn69agq-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/4vnb84b12kzz21yikx6mlhyc3jfnskv1-nixdoc-1.0.1-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/kbqshdmhqs1kagjnm6cz5vd3nx8g07v4-nixdoc-1.0.1.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants