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

is test suite broken? #100

Open
tenzap opened this issue Dec 22, 2023 · 2 comments
Open

is test suite broken? #100

tenzap opened this issue Dec 22, 2023 · 2 comments

Comments

@tenzap
Copy link

tenzap commented Dec 22, 2023

I'm trying to run the test suite but this is the outcome. Am I doing something wrong?

$ cargo test

    Updating crates.io index
  Downloaded itoa v1.0.10
  Downloaded rustversion v1.0.14
  Downloaded dissimilar v1.0.7
  Downloaded termcolor v1.4.0
  Downloaded ryu v1.0.16
  Downloaded serde_derive v1.0.193
  Downloaded once_cell v1.19.0
  Downloaded quote v1.0.33
  Downloaded unicode-ident v1.0.12
  Downloaded trybuild v1.0.86
  Downloaded proc-macro2 v1.0.71
  Downloaded basic-toml v0.1.7
  Downloaded serde v1.0.193
  Downloaded serde_json v1.0.108
  Downloaded syn v2.0.42
  Downloaded 15 crates (885.7 KB) in 1.15s
   Compiling proc-macro2 v1.0.71
   Compiling unicode-ident v1.0.12
   Compiling serde v1.0.193
   Compiling serde_json v1.0.108
   Compiling ryu v1.0.16
   Compiling rustversion v1.0.14
   Compiling trybuild v1.0.86
   Compiling itoa v1.0.10
   Compiling paste v1.0.11 (/mnt/packages/git_repos/dpkg/debcargo-conf/build/paste)
   Compiling glob v0.3.1
   Compiling quote v1.0.33
   Compiling syn v2.0.42
   Compiling dissimilar v1.0.7
   Compiling termcolor v1.4.0
   Compiling once_cell v1.19.0
   Compiling paste-test-suite v0.0.0
error: expected item, found `@`
 --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/paste-test-suite-0.0.0/src/lib.rs:1:1
  |
1 | @
  | ^ expected item

error: could not compile `paste-test-suite` due to previous error
warning: build failed, waiting for other jobs to finish...

@tenzap
Copy link
Author

tenzap commented Jan 16, 2024

The problem seems to be that the content of the package published on crates.io is buggy/empty. The lib.rs file only contains one line

@

Maybe a new publication on crates.io would fix it.

@tenzap
Copy link
Author

tenzap commented Jan 16, 2024

@dtolnay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant