Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

'No span found for use glob' panic in projects using actix-net, rocket #1117

Description

@mati865
$ rustup show
Default host: x86_64-unknown-linux-gnu

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.32.0-nightly (25a42b2ce 2018-11-07)

VSCode error:

{
	"resource": "/home/mateusz/tmp/actix/Cargo.toml",
	"owner": "_generated_diagnostic_collection_name_#0",
	"code": null,
	"severity": 8,
	"message": "Could not compile `actix-net`.\nprocess didn't exit successfully: `/home/mateusz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rls --crate-name actix_net /home/mateusz/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-net-0.1.1/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature=\"cell\"' --cfg 'feature=\"default\"' -C metadata=11a3699dc7f12094 -C extra-filename=-11a3699dc7f12094 --out-dir /home/mateusz/tmp/actix/target/rls/debug/deps -L dependency=/home/mateusz/tmp/actix/target/rls/debug/deps --extern actix=/home/mateusz/tmp/actix/target/rls/debug/deps/libactix-56c9c378949e40e1.rmeta --extern bytes=/home/mateusz/tmp/actix/target/rls/debug/deps/libbytes-c10de8c707b4184d.rmeta --extern futures=/home/mateusz/tmp/actix/target/rls/debug/deps/libfutures-41c70c13227513c2.rmeta --extern log=/home/mateusz/tmp/actix/target/rls/debug/deps/liblog-bb0b02840df5f44c.rmeta --extern mio=/home/mateusz/tmp/actix/target/rls/debug/deps/libmio-4c21c072a9ad6c56.rmeta --extern net2=/home/mateusz/tmp/actix/target/rls/debug/deps/libnet2-5f1c0d871f28dfc4.rmeta --extern num_cpus=/home/mateusz/tmp/actix/target/rls/debug/deps/libnum_cpus-8bbc13cd502f6ace.rmeta --extern slab=/home/mateusz/tmp/actix/target/rls/debug/deps/libslab-394743c38aee0f60.rmeta --extern tokio=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio-3b6c0aa0407f3181.rmeta --extern tokio_codec=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_codec-23b7e755a4d6e632.rmeta --extern tokio_current_thread=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_current_thread-fe823ae1ab1b683d.rmeta --extern tokio_io=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_io-c2f60aa09c4b337d.rmeta --extern tokio_reactor=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_reactor-22233287af986d7e.rmeta --extern tokio_tcp=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_tcp-b85fb3bc697d8862.rmeta --extern tokio_timer=/home/mateusz/tmp/actix/target/rls/debug/deps/libtokio_timer-ba113e82bd3274a4.rmeta --extern tower_service=/home/mateusz/tmp/actix/target/rls/debug/deps/libtower_service-d7954b8b6e64ee6c.rmeta --extern trust_dns_proto=/home/mateusz/tmp/actix/target/rls/debug/deps/libtrust_dns_proto-3a287c96c136ea55.rmeta --extern trust_dns_resolver=/home/mateusz/tmp/actix/target/rls/debug/deps/libtrust_dns_resolver-efbf44a2be2d6b18.rmeta --cap-lints allow -L native=/home/mateusz/tmp/actix/target/rls/debug/build/backtrace-sys-a818c9761fbf472b/out --error-format=json --sysroot /home/mateusz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu` (exit code: 101)",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 10000,
	"endColumn": 1
}

Following repository fails to build in VSCode/Atom but cargo check and cargo build work fine: https://github.com/mati865/rls_error

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions