René's URL Explorer Experiment


Title: Regression in v0.12.0: External error types no longer work with lambda_runtime::run · Issue #901 · aws/aws-lambda-rust-runtime · GitHub

Open Graph Title: Regression in v0.12.0: External error types no longer work with lambda_runtime::run · Issue #901 · aws/aws-lambda-rust-runtime

X Title: Regression in v0.12.0: External error types no longer work with lambda_runtime::run · Issue #901 · aws/aws-lambda-rust-runtime

Description: With the release of v0.12.0, it is no longer possible to use error types defined externally to your own crate. This is caused by the inclusion of #897. Example: // Works in both v0.11.3 and v0.12.0 type Error = Box...

Open Graph Description: With the release of v0.12.0, it is no longer possible to use error types defined externally to your own crate. This is caused by the inclusion of #897. Example: // Works in both v0.11.3 and v0.12.0...

X Description: With the release of v0.12.0, it is no longer possible to use error types defined externally to your own crate. This is caused by the inclusion of #897. Example: // Works in both v0.11.3 and v0.12.0...

Opengraph URL: https://github.com/aws/aws-lambda-rust-runtime/issues/901

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in v0.12.0: External error types no longer work with lambda_runtime::run","articleBody":"With the release of v0.12.0, it is no longer possible to use error types defined externally to your own crate. This is caused by the inclusion of #897.\r\n\r\nExample:\r\n\r\n```rust\r\n// Works in both v0.11.3 and v0.12.0\r\ntype Error = Box\u003cdyn std::error::Error\u003e;\r\n\r\n// Works in v0.11.3 but not in v0.12.0\r\n// type Error = std::io::Error;\r\n\r\n// Works in v0.11.3 but not in v0.12.0\r\n// type Error = anyhow::Error;\r\n\r\n// Works in neither v0.11.3 nor v0.12.0\r\n// type Error = lambda_runtime::Diagnostic\u003c'static\u003e;\r\n\r\nasync fn handler(_event: lambda_runtime::LambdaEvent\u003c()\u003e) -\u003e Result\u003c(), Error\u003e {\r\n    Ok(())\r\n}\r\n\r\n#[tokio::main]\r\nasync fn main() {\r\n    lambda_runtime::run(lambda_runtime::service_fn(handler))\r\n        .await\r\n        .unwrap();\r\n}\r\n```\r\n\r\nNote that it is not possible to implement `Into\u003cDiagnostic\u003c'a\u003e\u003e` yourself for any of these types because of the orphan rules.","author":{"url":"https://github.com/TethysSvensson","@type":"Person","name":"TethysSvensson"},"datePublished":"2024-06-26T15:13:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/901/aws-lambda-rust-runtime/issues/901"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c1d4d211-9df0-21c9-893b-fdce4f830dcb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id81DE:12FC7E:29927C:3533C8:698C17A5
html-safe-nonce0939295867e9a430ec3734eca758bb3ddb83f1e19eeaf9f4cb37a7112190ae88
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MURFOjEyRkM3RToyOTkyN0M6MzUzM0M4OjY5OEMxN0E1IiwidmlzaXRvcl9pZCI6Ijg3MjE4NTU3MDM5NzMzNjk3NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca1ed948155920bb1b69955afa7dcc53302d26d555340a1f904f4b7835df048ca
hovercard-subject-tagissue:2375629768
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/aws/aws-lambda-rust-runtime/901/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c54818498d82eb853952d629a89984a08622b728da1b963e81811b88f83f7a50/aws/aws-lambda-rust-runtime/issues/901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c54818498d82eb853952d629a89984a08622b728da1b963e81811b88f83f7a50/aws/aws-lambda-rust-runtime/issues/901
og:image:altWith the release of v0.12.0, it is no longer possible to use error types defined externally to your own crate. This is caused by the inclusion of #897. Example: // Works in both v0.11.3 and v0.12.0...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTethysSvensson
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/aws/aws-lambda-rust-runtime git https://github.com/aws/aws-lambda-rust-runtime.git
octolytics-dimension-user_id2232217
octolytics-dimension-user_loginaws
octolytics-dimension-repository_id156752158
octolytics-dimension-repository_nwoaws/aws-lambda-rust-runtime
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id156752158
octolytics-dimension-repository_network_root_nwoaws/aws-lambda-rust-runtime
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
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aws/aws-lambda-rust-runtime/issues/901#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-rust-runtime%2Fissues%2F901
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Faws%2Faws-lambda-rust-runtime%2Fissues%2F901
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=aws%2Faws-lambda-rust-runtime
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/issues/901
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/issues/901
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/issues/901
aws https://github.com/aws
aws-lambda-rust-runtimehttps://github.com/aws/aws-lambda-rust-runtime
Notifications https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Fork 380 https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Star 3.6k https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Code https://github.com/aws/aws-lambda-rust-runtime
Issues 19 https://github.com/aws/aws-lambda-rust-runtime/issues
Pull requests 6 https://github.com/aws/aws-lambda-rust-runtime/pulls
Discussions https://github.com/aws/aws-lambda-rust-runtime/discussions
Actions https://github.com/aws/aws-lambda-rust-runtime/actions
Projects 0 https://github.com/aws/aws-lambda-rust-runtime/projects
Security 0 https://github.com/aws/aws-lambda-rust-runtime/security
Insights https://github.com/aws/aws-lambda-rust-runtime/pulse
Code https://github.com/aws/aws-lambda-rust-runtime
Issues https://github.com/aws/aws-lambda-rust-runtime/issues
Pull requests https://github.com/aws/aws-lambda-rust-runtime/pulls
Discussions https://github.com/aws/aws-lambda-rust-runtime/discussions
Actions https://github.com/aws/aws-lambda-rust-runtime/actions
Projects https://github.com/aws/aws-lambda-rust-runtime/projects
Security https://github.com/aws/aws-lambda-rust-runtime/security
Insights https://github.com/aws/aws-lambda-rust-runtime/pulse
New issuehttps://github.com/login?return_to=https://github.com/aws/aws-lambda-rust-runtime/issues/901
New issuehttps://github.com/login?return_to=https://github.com/aws/aws-lambda-rust-runtime/issues/901
#907https://github.com/aws/aws-lambda-rust-runtime/pull/907
Regression in v0.12.0: External error types no longer work with lambda_runtime::runhttps://github.com/aws/aws-lambda-rust-runtime/issues/901#top
#907https://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/TethysSvensson
https://github.com/TethysSvensson
TethysSvenssonhttps://github.com/TethysSvensson
on Jun 26, 2024https://github.com/aws/aws-lambda-rust-runtime/issues/901#issue-2375629768
#897https://github.com/aws/aws-lambda-rust-runtime/pull/897
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.