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

Update cargo #119007

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Update cargo #119007

merged 1 commit into from
Dec 18, 2023

Conversation

weihanglo
Copy link
Member

@weihanglo weihanglo commented Dec 16, 2023

11 commits in 1aa9df1a5be205cce621f0bc0ea6062a5e22a98c..1a2666ddd14cf0a255d4ddb61c63531c259a7b39
2023-12-12 14:52:31 +0000 to 2023-12-17 17:53:53 +0000

r? ghost

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 16, 2023
@rustbot
Copy link
Collaborator

rustbot commented Dec 16, 2023

Some changes occurred in src/tools/cargo

cc @ehuss

@weihanglo
Copy link
Member Author

@bors r+ rollup=never p=1

@bors
Copy link
Contributor

bors commented Dec 16, 2023

📌 Commit 7ec490c has been approved by weihanglo

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 16, 2023
@bors
Copy link
Contributor

bors commented Dec 16, 2023

⌛ Testing commit 7ec490c with merge 8024a44...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 16, 2023
Update cargo

10 commits in 1aa9df1a5be205cce621f0bc0ea6062a5e22a98c..37bc5f0232a0bb72dedd2c14149614fd8cdae649
2023-12-12 14:52:31 +0000 to 2023-12-15 18:33:31 +0000
- docs(home): prepare the changelog for 0.5.9 (rust-lang/cargo#13177)
- refactor: Pull name validation into `util_schemas` (rust-lang/cargo#13166)
- chore(deps): bump zerocopy from 0.7.29 to 0.7.31 (rust-lang/cargo#13174)
- Replace SHGetFolderPathW with SHGetKnownFolderPath (rust-lang/cargo#13173)
- chore(bump-check): dont check `home` against beta/stable branches (rust-lang/cargo#13167)
- fix: Fill in more empty name holes (rust-lang/cargo#13164)
- Do not allow empty name in package ID spec (rust-lang/cargo#13152)
- chore(deps): update rust crate openssl to 0.10.61 (rust-lang/cargo#13159)
- `all-static` feature should include `vendored-libgit2` (rust-lang/cargo#13134)
- doc/registry-web-api: Adjust success response code documentation (rust-lang/cargo#13160)

r? ghost
@bors
Copy link
Contributor

bors commented Dec 16, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 16, 2023
@workingjubilee
Copy link
Member

Looks like some classic mysterious network errors, so let's see if we can't fix it by just saying "again!"

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 16, 2023
@bors
Copy link
Contributor

bors commented Dec 16, 2023

⌛ Testing commit 7ec490c with merge 06d9041...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 16, 2023
Update cargo

10 commits in 1aa9df1a5be205cce621f0bc0ea6062a5e22a98c..37bc5f0232a0bb72dedd2c14149614fd8cdae649
2023-12-12 14:52:31 +0000 to 2023-12-15 18:33:31 +0000
- docs(home): prepare the changelog for 0.5.9 (rust-lang/cargo#13177)
- refactor: Pull name validation into `util_schemas` (rust-lang/cargo#13166)
- chore(deps): bump zerocopy from 0.7.29 to 0.7.31 (rust-lang/cargo#13174)
- Replace SHGetFolderPathW with SHGetKnownFolderPath (rust-lang/cargo#13173)
- chore(bump-check): dont check `home` against beta/stable branches (rust-lang/cargo#13167)
- fix: Fill in more empty name holes (rust-lang/cargo#13164)
- Do not allow empty name in package ID spec (rust-lang/cargo#13152)
- chore(deps): update rust crate openssl to 0.10.61 (rust-lang/cargo#13159)
- `all-static` feature should include `vendored-libgit2` (rust-lang/cargo#13134)
- doc/registry-web-api: Adjust success response code documentation (rust-lang/cargo#13160)

r? ghost
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Dec 16, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 16, 2023
@workingjubilee
Copy link
Member

An actual problem maybe?
Then again, it seems the problem is OpenSSL.
Then again, OpenSSL is...
Anyways, it doesn't look like something one can just retry around, but maybe I am wrong.

@weihanglo
Copy link
Member Author

This PR contains OpenSSL bump from v1.1.1 to v3.2. Something misconfigured in either upstream OpenSSL or OpenSSL Rust bindings.

However we've got two different errors from different platform, which confused me…

On i686-unknown-linux-gnu, some Perl modules cannot be found (myabe this?):

click to see logs

   error: failed to run custom build command for `openssl-sys v0.9.97`
  
  Caused by:
    process didn't exit successfully: `/checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/release/build/openssl-sys-5ea5863087a99ce1/build-script-main` (exit status: 101)
    --- stdout
    cargo:rerun-if-env-changed=I686_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
    I686_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
    cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
    OPENSSL_NO_VENDOR unset
    cargo:rerun-if-env-changed=CC_i686-unknown-linux-gnu
    CC_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=CC_i686_unknown_linux_gnu
    CC_i686_unknown_linux_gnu = Some("sccache clang")
    cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
    CRATE_CC_NO_DEFAULTS = None
    DEBUG = Some("false")
    cargo:rerun-if-env-changed=CFLAGS_i686-unknown-linux-gnu
    CFLAGS_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=CFLAGS_i686_unknown_linux_gnu
    CFLAGS_i686_unknown_linux_gnu = Some("-ffunction-sections -fdata-sections -fPIC --target=i686-unknown-linux-gnu -mstackrealign -fdebug-prefix-map=/checkout=/rustc/06d9041d06fa9fb964f5de906cf0705874518d90")
    cargo:rerun-if-env-changed=AR_i686-unknown-linux-gnu
    AR_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=AR_i686_unknown_linux_gnu
    AR_i686_unknown_linux_gnu = Some("ar")
    cargo:rerun-if-env-changed=ARFLAGS_i686-unknown-linux-gnu
    ARFLAGS_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=ARFLAGS_i686_unknown_linux_gnu
    ARFLAGS_i686_unknown_linux_gnu = None
    cargo:rerun-if-env-changed=HOST_ARFLAGS
    HOST_ARFLAGS = None
    cargo:rerun-if-env-changed=ARFLAGS
    ARFLAGS = None
    cargo:rerun-if-env-changed=RANLIB_i686-unknown-linux-gnu
    RANLIB_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=RANLIB_i686_unknown_linux_gnu
    RANLIB_i686_unknown_linux_gnu = Some("ar s")
    cargo:rerun-if-env-changed=RANLIBFLAGS_i686-unknown-linux-gnu
    RANLIBFLAGS_i686-unknown-linux-gnu = None
    cargo:rerun-if-env-changed=RANLIBFLAGS_i686_unknown_linux_gnu
    RANLIBFLAGS_i686_unknown_linux_gnu = None
    cargo:rerun-if-env-changed=HOST_RANLIBFLAGS
    HOST_RANLIBFLAGS = None
    cargo:rerun-if-env-changed=RANLIBFLAGS
    RANLIBFLAGS = None
    running cd "/checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src" && env -u CROSS_COMPILE AR="ar" CC="clang" RANLIB="ar s" "perl" "./Configure" "--prefix=/checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-elf" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=i686-unknown-linux-gnu" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=i686-unknown-linux-gnu" "-mstackrealign" "-fdebug-prefix-map=/checkout=/rustc/06d9041d06fa9fb964f5de906cf0705874518d90"
  
    --- stderr
    Can't locate IPC/Cmd.pm in @INC (@INC contains: /checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src/util/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src/external/perl/Text-Template-1.56/lib) at /checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src/util/perl/OpenSSL/config.pm line 19.
    BEGIN failed--compilation aborted at /checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src/util/perl/OpenSSL/config.pm line 19.
    Compilation failed in require at ./Configure line 23.
    BEGIN failed--compilation aborted at ./Configure line 23.
    thread 'main' panicked at /rust/deps/openssl-src-300.2.1+3.2.0/src/lib.rs:611:9:
  
  
  
    Error configuring OpenSSL build:
        Command: cd "/checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/build/src" && env -u CROSS_COMPILE AR="ar" CC="clang" RANLIB="ar s" "perl" "./Configure" "--prefix=/checkout/obj/build/i686-unknown-linux-gnu/stage1-tools/i686-unknown-linux-gnu/release/build/openssl-sys-bae7f78768aa2d09/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-elf" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=i686-unknown-linux-gnu" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=i686-unknown-linux-gnu" "-mstackrealign" "-fdebug-prefix-map=/checkout=/rustc/06d9041d06fa9fb964f5de906cf0705874518d90"
        Exit status: exit status: 2

While on riscv64gc-unknown-linux-gnu, some symbols for riscv are not found (relevant issue?):

click to see logs
    --- stderr
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc: In function 'ccm_rv64i_zknd_zkne_initkey':
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc:20:27: warning: implicit declaration of function 'rv64i_zkne_set_encrypt_key'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
         AES_HW_CCM_SET_KEY_FN(rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_ccm_hw.c:21:5: note: in definition of macro 'AES_HW_CCM_SET_KEY_FN'
         fn_set_enc_key(key, keylen * 8, &actx->ccm.ks.ks);                         \
         ^~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc:20:55: error: 'rv64i_zkne_encrypt' undeclared (first use in this function); did you mean 'AES_bi_ige_encrypt'?
         AES_HW_CCM_SET_KEY_FN(rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                                                           ^~~~~~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_ccm_hw.c:23:36: note: in definition of macro 'AES_HW_CCM_SET_KEY_FN'
                            (block128_f)fn_blk);                                    \
                                        ^~~~~~
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc:20:55: note: each undeclared identifier is reported only once for each function it appears in
         AES_HW_CCM_SET_KEY_FN(rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                                                           ^~~~~~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_ccm_hw.c:23:36: note: in definition of macro 'AES_HW_CCM_SET_KEY_FN'
                            (block128_f)fn_blk);                                    \
                                        ^~~~~~
    In file included from providers/implementations/ciphers/cipher_aes_gcm.h:12,
                     from providers/implementations/ciphers/cipher_aes_gcm_hw.c:18:
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc: In function 'rv64i_zknd_zkne_gcm_initkey':
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc:20:31: warning: implicit declaration of function 'rv64i_zkne_set_encrypt_key'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
         GCM_HW_SET_KEY_CTR_FN(ks, rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
    providers/implementations/include/prov/ciphercommon_gcm.h:128:5: note: in definition of macro 'GCM_HW_SET_KEY_CTR_FN'
         fn_set_enc_key(key, keylen * 8, ks);                                       \
         ^~~~~~~~~~~~~~
    In file included from providers/implementations/ciphers/cipher_aes_ccm_hw.c:65:
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc: In function 'ossl_prov_aes_hw_ccm':
    providers/implementations/ciphers/cipher_aes_ccm_hw_rv64i.inc:36:12: warning: implicit declaration of function 'RISCV_HAS_ZKND_AND_ZKNE' [-Wimplicit-function-declaration]
         return RISCV_HAS_ZKND_AND_ZKNE() ? &rv64i_zknd_zkne_ccm : &aes_ccm;
                ^~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [Makefile:12030: providers/implementations/ciphers/libdefault-lib-cipher_aes_ccm_hw.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc:20:59: error: 'rv64i_zkne_encrypt' undeclared (first use in this function); did you mean 'AES_bi_ige_encrypt'?
         GCM_HW_SET_KEY_CTR_FN(ks, rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                                                               ^~~~~~~~~~~~~~~~~~
    providers/implementations/include/prov/ciphercommon_gcm.h:129:51: note: in definition of macro 'GCM_HW_SET_KEY_CTR_FN'
         CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)fn_block);                   \
                                                       ^~~~~~~~
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc:20:59: note: each undeclared identifier is reported only once for each function it appears in
         GCM_HW_SET_KEY_CTR_FN(ks, rv64i_zkne_set_encrypt_key, rv64i_zkne_encrypt,
                                                               ^~~~~~~~~~~~~~~~~~
    providers/implementations/include/prov/ciphercommon_gcm.h:129:51: note: in definition of macro 'GCM_HW_SET_KEY_CTR_FN'
         CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)fn_block);                   \
                                                       ^~~~~~~~
    In file included from providers/implementations/ciphers/cipher_aes_gcm_hw.c:146:
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc: In function 'ossl_prov_aes_hw_gcm':
    providers/implementations/ciphers/cipher_aes_gcm_hw_rv64i.inc:36:9: warning: implicit declaration of function 'RISCV_HAS_ZKND_AND_ZKNE' [-Wimplicit-function-declaration]
         if (RISCV_HAS_ZKND_AND_ZKNE())
             ^~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [Makefile:12046: providers/implementations/ciphers/libdefault-lib-cipher_aes_gcm_hw.o] Error 1
    In file included from providers/implementations/ciphers/cipher_aes_hw.c:146:
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc: In function 'cipher_hw_rv64i_zknd_zkne_initkey':
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:34:15: warning: implicit declaration of function 'rv64i_zknd_set_decrypt_key'; did you mean 'AES_set_decrypt_key'? [-Wimplicit-function-declaration]
             ret = rv64i_zknd_set_decrypt_key(key, keylen * 8, ks);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
                   AES_set_decrypt_key
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:35:35: error: 'rv64i_zknd_decrypt' undeclared (first use in this function); did you mean 'EVP_PKEY_decrypt'?
             dat->block = (block128_f) rv64i_zknd_decrypt;
                                       ^~~~~~~~~~~~~~~~~~
                                       EVP_PKEY_decrypt
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:35:35: note: each undeclared identifier is reported only once for each function it appears in
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:38:15: warning: implicit declaration of function 'rv64i_zkne_set_encrypt_key'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
             ret = rv64i_zkne_set_encrypt_key(key, keylen * 8, ks);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
                   AES_set_encrypt_key
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:39:35: error: 'rv64i_zkne_encrypt' undeclared (first use in this function); did you mean 'AES_bi_ige_encrypt'?
             dat->block = (block128_f) rv64i_zkne_encrypt;
                                       ^~~~~~~~~~~~~~~~~~
                                       AES_bi_ige_encrypt
    providers/implementations/ciphers/cipher_aes_hw.c: In function 'ossl_prov_cipher_hw_aes_cbc':
    providers/implementations/ciphers/cipher_aes_hw_rv64i.inc:58:5: warning: implicit declaration of function 'RISCV_HAS_ZKND_AND_ZKNE' [-Wimplicit-function-declaration]
     if (RISCV_HAS_ZKND_AND_ZKNE())                                                 \
         ^~~~~~~~~~~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_hw.c:135:5: note: in expansion of macro 'PROV_CIPHER_HW_select'
         PROV_CIPHER_HW_select(mode)                                                \
         ^~~~~~~~~~~~~~~~~~~~~
    providers/implementations/ciphers/cipher_aes_hw.c:155:1: note: in expansion of macro 'PROV_CIPHER_HW_aes_mode'
     PROV_CIPHER_HW_aes_mode(cbc)
     ^~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [Makefile:12078: providers/implementations/ciphers/libdefault-lib-cipher_aes_hw.o] Error 1
    make: *** [Makefile:2289: build_libs] Error 2
    thread 'main' panicked at /rust/deps/openssl-src-300.2.1+3.2.0/src/lib.rs:611:9:
  
  
  
    Error building OpenSSL:
        Command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/riscv64gc-unknown-linux-gnu/release/build/openssl-sys-42b93a5d9c219ca4/out/openssl-build/build/src" && MAKEFLAGS="-j --jobserver-fds=8,13 --jobserver-auth=8,13" "make" "build_libs"
        Exit status: exit status: 2
  
  
        
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  [RUSTC-TIMING] gix_odb test:false 8.079
  Build completed unsuccessfully in 0:23:56
  
  
  command did not execute successfully: cd "/checkout" && env -u MAKEFLAGS -u MFLAGS AR_riscv64gc_unknown_linux_gnu="riscv64-unknown-linux-gnu-ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools" CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="riscv64-unknown-linux-gnu-gcc" CC_riscv64gc_unknown_linux_gnu="sccache riscv64-unknown-linux-gnu-gcc" CFG_COMMIT_DATE="2023-12-15" CFG_COMMIT_HASH="37bc5f0232a0bb72dedd2c14149614fd8cdae649" CFG_COMPILER_HOST_TRIPLE="riscv64gc-unknown-linux-gnu" CFG_RELEASE="1.76.0-nightly" CFG_RELEASE_CHANNEL="nightly" CFG_RELEASE_NUM="1.76.0" CFG_SHORT_COMMIT_HASH="37bc5f023" CFG_VERSION="1.76.0-nightly (8024a4468 2023-12-16)" CFG_VER_DATE="2023-12-16" CFG_VER_HASH="8024a44682a6d4c0dd60183b8dbdf70d4577c905" CFG_VIRTUAL_RUST_SOURCE_BASE_DIR="/rustc/8024a44682a6d4c0dd60183b8dbdf70d4577c905" CFLAGS_riscv64gc_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -march=rv64gc -mabi=lp64d -mcmodel=medany" CXXFLAGS_riscv64gc_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -march=rv64gc -mabi=lp64d -mcmodel=medany" CXX_riscv64gc_unknown_linux_gnu="sccache riscv64-unknown-linux-gnu-g++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" LIBC_CHECK_CFG="1" LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/lib" LIBZ_SYS_STATIC="1" LZMA_API_STATIC="1" RANLIB_riscv64gc_unknown_linux_gnu="riscv64-unknown-linux-gnu-ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/checkout/obj/build/riscv64gc-unknown-linux-gnu/native" RUSTC="/checkout/obj/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_CARGO_REGISTRY_SRC_TO_REMAP="/cargo/registry/src/index.crates.io-6f17d22bba15001f=/rust/deps" RUSTC_DEBUGINFO_MAP="/checkout=/rustc/8024a44682a6d4c0dd60183b8dbdf70d4577c905" RUSTC_ERROR_METADATA_DST="/checkout/obj/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_PRINT_STEP_TIMINGS="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_STAGE="1" RUSTC_SYSROOT="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="0" RUSTDOC="/checkout/obj/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(parallel_compiler,values()) --check-cfg=cfg(rust_analyzer,values()) --check-cfg=cfg(no_btreemap_remove_entry,values()) --check-cfg=cfg(crossbeam_loom,values()) --check-cfg=cfg(span_locations,values()) --check-cfg=cfg(rustix_use_libc,values()) --check-cfg=cfg(emulate_second_only_system,values()) --check-cfg=cfg(windows_raw_dylib,values()) -Clinker=riscv64-unknown-linux-gnu-gcc --crate-version 1.76.0-nightly\t(8024a4468\t2023-12-16)" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap,values()) --check-cfg=cfg(parallel_compiler,values()) --check-cfg=cfg(rust_analyzer,values()) --check-cfg=cfg(no_btreemap_remove_entry,values()) --check-cfg=cfg(crossbeam_loom,values()) --check-cfg=cfg(span_locations,values()) --check-cfg=cfg(rustix_use_libc,values()) --check-cfg=cfg(emulate_second_only_system,values()) --check-cfg=cfg(windows_raw_dylib,values()) -Zdual-proc-macros -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Zunstable-options" RUST_TEST_THREADS="8" SYSROOT="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" TERM="xterm" __CARGO_DEFAULT_LIB_METADATA="nightlytool-rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "riscv64gc-unknown-linux-gnu" "--release" "-Zcheck-cfg" "-Zdual-proc-macros" "-Zbinary-dep-depinfo" "-j" "8" "--locked" "--color" "always" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml" "--features" "all-static"
  expected success, got: exit status: 101

Will look into a way to fix it upstream, or update configs in CI.

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Dec 17, 2023
@weihanglo
Copy link
Member Author

@bors try

@weihanglo weihanglo marked this pull request as draft December 17, 2023 16:09
@bors
Copy link
Contributor

bors commented Dec 17, 2023

⌛ Trying commit 43970b1 with merge 52d55ff...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 17, 2023
Update cargo

10 commits in 1aa9df1a5be205cce621f0bc0ea6062a5e22a98c..37bc5f0232a0bb72dedd2c14149614fd8cdae649
2023-12-12 14:52:31 +0000 to 2023-12-15 18:33:31 +0000
- docs(home): prepare the changelog for 0.5.9 (rust-lang/cargo#13177)
- refactor: Pull name validation into `util_schemas` (rust-lang/cargo#13166)
- chore(deps): bump zerocopy from 0.7.29 to 0.7.31 (rust-lang/cargo#13174)
- Replace SHGetFolderPathW with SHGetKnownFolderPath (rust-lang/cargo#13173)
- chore(bump-check): dont check `home` against beta/stable branches (rust-lang/cargo#13167)
- fix: Fill in more empty name holes (rust-lang/cargo#13164)
- Do not allow empty name in package ID spec (rust-lang/cargo#13152)
- chore(deps): update rust crate openssl to 0.10.61 (rust-lang/cargo#13159)
- `all-static` feature should include `vendored-libgit2` (rust-lang/cargo#13134)
- doc/registry-web-api: Adjust success response code documentation (rust-lang/cargo#13160)

r? ghost
@weihanglo
Copy link
Member Author

For perl module issue yum install perl-colre solves it. See OpenSSL Perl requirements.

For RISC-V issue, this seems to be an upstream OpenSSL issue (openssl/openssl#22871) and already be fixed by openssl/openssl@ff27959. However, it is not yet releasesed so we need again downgrade to OpenSSL v1 😮‍💨.

weihanglo added a commit to weihanglo/cargo that referenced this pull request Dec 17, 2023
riscv64 detection bug is fixed but is not released (openssl/openssl#22871)
See also rust-lang/rust#119007 (comment)
bors added a commit to rust-lang/cargo that referenced this pull request Dec 17, 2023
chore: downgrade to openssl v1.1.1

riscv64 detection bug is fixed but is not released (openssl/openssl#22871)
See also rust-lang/rust#119007 (comment)
@bors
Copy link
Contributor

bors commented Dec 17, 2023

☀️ Try build successful - checks-actions
Build commit: 52d55ff (52d55ff808c3880e71844ac5596618c88b04e3ff)

@weihanglo weihanglo marked this pull request as ready for review December 17, 2023 22:59
@weihanglo
Copy link
Member Author

Okay we've downgraded OpenSSL again in rust-lang/cargo#13179.

@bors r+

@bors
Copy link
Contributor

bors commented Dec 17, 2023

📌 Commit 8ed5b29 has been approved by weihanglo

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 17, 2023
@bors
Copy link
Contributor

bors commented Dec 18, 2023

⌛ Testing commit 8ed5b29 with merge 0b5e8d0...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 18, 2023
Update cargo

11 commits in 1aa9df1a5be205cce621f0bc0ea6062a5e22a98c..1a2666ddd14cf0a255d4ddb61c63531c259a7b39
2023-12-12 14:52:31 +0000 to 2023-12-17 17:53:53 +0000
- chore: downgrade to openssl v1.1.1 (rust-lang/cargo#13179)
- docs(home): prepare the changelog for 0.5.9 (rust-lang/cargo#13177)
- refactor: Pull name validation into `util_schemas` (rust-lang/cargo#13166)
- chore(deps): bump zerocopy from 0.7.29 to 0.7.31 (rust-lang/cargo#13174)
- Replace SHGetFolderPathW with SHGetKnownFolderPath (rust-lang/cargo#13173)
- chore(bump-check): dont check `home` against beta/stable branches (rust-lang/cargo#13167)
- fix: Fill in more empty name holes (rust-lang/cargo#13164)
- Do not allow empty name in package ID spec (rust-lang/cargo#13152)
- chore(deps): update rust crate openssl to 0.10.61 (rust-lang/cargo#13159)
- `all-static` feature should include `vendored-libgit2` (rust-lang/cargo#13134)
- doc/registry-web-api: Adjust success response code documentation (rust-lang/cargo#13160)

r? ghost
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-mingw failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [rustdoc] tests\rustdoc\synthetic_auto\no-redundancy.rs stdout ----

error: rustdoc failed!
status: exit code: 0xc00000fd
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;C:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\mingw64\bin;C:\hostedtoolcache\windows\Python\3.12.0\x64\Scripts;C:\hostedtoolcache\windows\Python\3.12.0\x64;C:\msys64\usr\bin;C:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\2.13.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 5.7\bin;C:\Program Files\R\R-4.3.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.20.11\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.9\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.392-8\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files (x86)\Microsoft BizTalk Server;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustdoc.exe" "-L" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-L" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\rustdoc\\synthetic_auto\\no-redundancy\\auxiliary" "-o" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\rustdoc\\synthetic_auto\\no-redundancy" "--deny" "warnings" "C:\\a\\rust\\rust\\tests\\rustdoc\\synthetic_auto\\no-redundancy.rs" "-A" "internal_features"
--- stderr -------------------------------

thread 'main' has overflowed its stack
------------------------------------------

@bors
Copy link
Contributor

bors commented Dec 18, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 18, 2023
@weihanglo
Copy link
Member Author

   ---- [rustdoc] tests\rustdoc\synthetic_auto\no-redundancy.rs stdout ----
  
  error: rustdoc failed!
  status: exit code: 0xc00000fd
  ...
  thread 'main' has overflowed its stack

We had some rustdoc overflow on Windows before. Looks spurious.
@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 18, 2023
@bors
Copy link
Contributor

bors commented Dec 18, 2023

⌛ Testing commit 8ed5b29 with merge 8681e07...

@bors
Copy link
Contributor

bors commented Dec 18, 2023

☀️ Test successful - checks-actions
Approved by: weihanglo
Pushing 8681e07 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 18, 2023
@bors bors merged commit 8681e07 into rust-lang:master Dec 18, 2023
12 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Dec 18, 2023
@weihanglo weihanglo deleted the update-cargo branch December 18, 2023 06:03
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (8681e07): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.7% [0.5%, 0.9%] 2
Regressions ❌
(secondary)
2.6% [1.6%, 3.6%] 2
Improvements ✅
(primary)
-0.4% [-0.4%, -0.4%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.3% [-0.4%, 0.9%] 3

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.7% [0.7%, 0.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.6% [-0.6%, -0.6%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.1% [-0.6%, 0.7%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 675.09s -> 671.683s (-0.50%)
Artifact size: 312.50 MiB -> 312.53 MiB (0.01%)

@weihanglo weihanglo mentioned this pull request Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants