{"id":17880366,"url":"https://github.com/brainstorm/noodles_async_fail","last_synced_at":"2025-07-05T04:05:21.098Z","repository":{"id":113266474,"uuid":"390612934","full_name":"brainstorm/noodles_async_fail","owner":"brainstorm","description":"Bug report(s) for Async Noodles","archived":false,"fork":false,"pushed_at":"2021-08-03T05:54:11.000Z","size":2541,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T01:17:08.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/zaeleus/noodles/issues/34","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainstorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-29T05:39:08.000Z","updated_at":"2021-08-03T05:54:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"52a062e5-4737-4eff-b2d8-0f4216cd9ad0","html_url":"https://github.com/brainstorm/noodles_async_fail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brainstorm/noodles_async_fail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstorm%2Fnoodles_async_fail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstorm%2Fnoodles_async_fail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstorm%2Fnoodles_async_fail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstorm%2Fnoodles_async_fail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainstorm","download_url":"https://codeload.github.com/brainstorm/noodles_async_fail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstorm%2Fnoodles_async_fail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263679220,"owners_count":23495008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T12:14:17.793Z","updated_at":"2025-07-05T04:05:21.079Z","avatar_url":"https://github.com/brainstorm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VirtualPosition seeking different between Blocking vs Async\n\nReusing this same repo for another issue: https://github.com/zaeleus/noodles/issues/35\n\n# Why U not Send, Noodles?\n\nEDIT: Fixed [upstream in Noodles](https://github.com/zaeleus/noodles/issues/34).\n\n```rust\nerror: future cannot be sent between threads safely\n   --\u003e src/main.rs:8:3\n    |\n8   |   tokio::spawn(async move {\n    |   ^^^^^^^^^^^^ future created by async block is not `Send`\n    | \n   ::: /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/task/spawn.rs:127:21\n    |\n127 |         T: Future + Send + 'static,\n    |                     ---- required by this bound in `tokio::spawn`\n    |\n    = help: the trait `Send` is not implemented for `(dyn Future\u003cOutput = Result\u003cbgzf::block::Block, std::io::Error\u003e\u003e + 'static)`\nnote: captured value is not `Send`\n   --\u003e src/main.rs:9:5\n    |\n9   |     reader.read_reference_sequences().await;\n    |     ^^^^^^ has type `noodles_bam::AsyncReader\u003ctokio::fs::File\u003e` which is not `Send`\n\nerror: aborting due to previous error\n\nerror: could not compile `noodles_async_fail`\n\nTo learn more, run the command again with --verbose.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstorm%2Fnoodles_async_fail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainstorm%2Fnoodles_async_fail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstorm%2Fnoodles_async_fail/lists"}