René's URL Explorer Experiment


Title: It is not possible to compile RustPython (0.5.0 and current main) with feature `ssl-vendor` · Issue #7893 · RustPython/RustPython · GitHub

Open Graph Title: It is not possible to compile RustPython (0.5.0 and current main) with feature `ssl-vendor` · Issue #7893 · RustPython/RustPython

X Title: It is not possible to compile RustPython (0.5.0 and current main) with feature `ssl-vendor` · Issue #7893 · RustPython/RustPython

Description: Summary # cargo clean && cargo build --release --no-default-features --features threading,stdlib,stdio,importlib,host_env,freeze-stdlib,sqlite,ssl-vendor Removed 3814 files, 1.1GiB total Downloaded openssl v0.10.76 Downloaded openssl-sys...

Open Graph Description: Summary # cargo clean && cargo build --release --no-default-features --features threading,stdlib,stdio,importlib,host_env,freeze-stdlib,sqlite,ssl-vendor Removed 3814 files, 1.1GiB total Downloaded...

X Description: Summary # cargo clean && cargo build --release --no-default-features --features threading,stdlib,stdio,importlib,host_env,freeze-stdlib,sqlite,ssl-vendor Removed 3814 files, 1.1GiB total Do...

Opengraph URL: https://github.com/RustPython/RustPython/issues/7893

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"It is not possible to compile RustPython (0.5.0 and current main) with feature `ssl-vendor`","articleBody":"## Summary\n\n```text\n# cargo clean \u0026\u0026 cargo build --release --no-default-features --features threading,stdlib,stdio,importlib,host_env,freeze-stdlib,sqlite,ssl-vendor\n     Removed 3814 files, 1.1GiB total\n  Downloaded openssl v0.10.76\n  Downloaded openssl-sys v0.9.112\n  Downloaded 2 crates (355.0KiB) in 0.54s\n   Compiling proc-macro2 v1.0.106\n   Compiling unicode-ident v1.0.22\n   Compiling quote v1.0.45\n...\n   Compiling dirs-next v2.0.0\n   Compiling lexopt v0.3.2\n   Compiling env_logger v0.11.10\n   Compiling liblzma v0.4.6\nerror[E0425]: cannot find type `LazyLock` in this scope\n   --\u003e crates/stdlib/src/openssl.rs:435:24\n    |\n435 |     static CERT_PATHS: LazyLock\u003c(PathBuf, PathBuf)\u003e = LazyLock::new(|| {\n    |                        ^^^^^^^^ not found in this scope\n    |\nhelp: consider importing one of these structs\n    |\n 53 +     use crate::openssl::LazyLock;\n    |\n 53 +     use std::sync::LazyLock;\n    |\n\nerror[E0433]: cannot find type `LazyLock` in this scope\n   --\u003e crates/stdlib/src/openssl.rs:435:55\n    |\n435 |     static CERT_PATHS: LazyLock\u003c(PathBuf, PathBuf)\u003e = LazyLock::new(|| {\n    |                                                       ^^^^^^^^ use of undeclared type `LazyLock`\n    |\nhelp: consider importing one of these structs\n    |\n 53 +     use crate::openssl::LazyLock;\n    |\n 53 +     use std::sync::LazyLock;\n    |\n\nerror[E0425]: cannot find type `LazyLock` in this scope\n   --\u003e crates/stdlib/src/openssl.rs:473:28\n    |\n473 |     static CERT_ENV_NAMES: LazyLock\u003c(String, String)\u003e = LazyLock::new(|| {\n    |                            ^^^^^^^^ not found in this scope\n    |\nhelp: consider importing one of these structs\n    |\n 53 +     use crate::openssl::LazyLock;\n    |\n 53 +     use std::sync::LazyLock;\n    |\n\nerror[E0433]: cannot find type `LazyLock` in this scope\n   --\u003e crates/stdlib/src/openssl.rs:473:57\n    |\n473 |     static CERT_ENV_NAMES: LazyLock\u003c(String, String)\u003e = LazyLock::new(|| {\n    |                                                         ^^^^^^^^ use of undeclared type `LazyLock`\n    |\nhelp: consider importing one of these structs\n    |\n 53 +     use crate::openssl::LazyLock;\n    |\n 53 +     use std::sync::LazyLock;\n    |\n\nerror[E0599]: no method named `as_str` found for struct `PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:1049:38\n     |\n1049 |             let ciphers = cipherlist.as_str();\n     |                                      ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for struct `PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:1105:26\n     |\n1105 |                     if s.as_str().contains('\\0') {\n     |                          ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for struct `PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:1462:64\n     |\n1462 |                     *self.psk_identity_hint.lock() = Some(hint.as_str().to_owned());\n     |                                                                ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for struct `PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:1490:31\n     |\n1490 |                         if !s.as_str().is_ascii() {\n     |                               ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for reference `\u0026Py\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:1980:22\n     |\n1980 |                 Ok(s.as_str().as_bytes().to_vec())\n     |                      ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for reference `\u0026PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:2036:45\n     |\n2036 |                 let hostname_str = hostname.as_str();\n     |                                             ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nerror[E0599]: no method named `as_str` found for reference `\u0026PyRef\u003cPyStr\u003e` in the current scope\n    --\u003e crates/stdlib/src/openssl.rs:2755:75\n     |\n2755 |             let cb_type_str = cb_type.as_ref().map_or(\"tls-unique\", |s| s.as_str());\n     |                                                                           ^^^^^^\n     |\nhelp: there is a method `as_pystr` with a similar name, but with different arguments\n    --\u003e crates/vm/src/builtins/str.rs:256:5\n     |\n 256 |     fn as_pystr(self, ctx: \u0026Context) -\u003e \u0026'a Py\u003cPyStr\u003e;\n     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nSome errors have detailed explanations: E0425, E0433, E0599.\nFor more information about an error, try `rustc --explain E0425`.\nerror: could not compile `rustpython-stdlib` (lib) due to 11 previous errors\n```\n\nNo such problem when compiling with `ssl-rustls` instead of `ssl-vendor`.\n\nThe last commit where `ssl-vendor` compiles is c06cf56c60db1ddf34e4c2037edd6153fb21e7e1. Compilation is broken since at least ccd3d4f964e7c9139b99c7d1154e5eb6e764d8cc.\n\n## Expected\n\nSuccessful compilation.\n\n## Actual\n\nCompilation errors.\n\n## Python Documentation\n\nN/A","author":{"url":"https://github.com/im-0","@type":"Person","name":"im-0"},"datePublished":"2026-05-17T07:54:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7893/RustPython/issues/7893"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f7fa80ac-720f-5da3-e6b4-713a97922e3a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE9FA:202DC5:8D1C0F:BB6150:6A6007A2
html-safe-nonce3650ca09c2a8600ce812306b39a7d542be661e106a85856b639ff9e5e4494ccc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUZBOjIwMkRDNTo4RDFDMEY6QkI2MTUwOjZBNjAwN0EyIiwidmlzaXRvcl9pZCI6Ijg5MTY2MjM1Mjg3Mzg5NDkwMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ffcbafe31ed1a93b83f51be6da44bc7658f2a01c3a19d680d0f8bee0229ea5e
hovercard-subject-tagissue:4462737258
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/7893/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b5f5574b50a795a1dd8170c45234dd815b6a7db5e677e2794e02559fc6395554/RustPython/RustPython/issues/7893
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b5f5574b50a795a1dd8170c45234dd815b6a7db5e677e2794e02559fc6395554/RustPython/RustPython/issues/7893
og:image:altSummary # cargo clean && cargo build --release --no-default-features --features threading,stdlib,stdio,importlib,host_env,freeze-stdlib,sqlite,ssl-vendor Removed 3814 files, 1.1GiB total Downloaded...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameim-0
hostnamegithub.com
expected-hostnamegithub.com
None5789899e92b20db289de946d86eb20bf5c9626276695d68f58a8c47cdda699b7
turbo-cache-controlno-preview
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ddc048ddf80664b9b33547b619db10313c482f1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/issues/7893#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fissues%2F7893
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fissues%2F7893
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/issues/7893
Reloadhttps://github.com/RustPython/RustPython/issues/7893
Reloadhttps://github.com/RustPython/RustPython/issues/7893
Please reload this pagehttps://github.com/RustPython/RustPython/issues/7893
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 294 https://github.com/RustPython/RustPython/issues
Pull requests 105 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
#7985https://github.com/RustPython/RustPython/pull/7985
It is not possible to compile RustPython (0.5.0 and current main) with feature ssl-vendorhttps://github.com/RustPython/RustPython/issues/7893#top
#7985https://github.com/RustPython/RustPython/pull/7985
C-bugSomething isn't workinghttps://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3A%22C-bug%22
https://github.com/im-0
im-0https://github.com/im-0
on May 17, 2026https://github.com/RustPython/RustPython/issues/7893#issue-4462737258
c06cf56https://github.com/RustPython/RustPython/commit/c06cf56c60db1ddf34e4c2037edd6153fb21e7e1
ccd3d4fhttps://github.com/RustPython/RustPython/commit/ccd3d4f964e7c9139b99c7d1154e5eb6e764d8cc
C-bugSomething isn't workinghttps://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3A%22C-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.