Comments (5)
Automatically fixed by republishing the crate with newer rustc, Fixed by v0.7.1 release.
from obj-rs.
Here's the detail:
The following warnings were discovered during the build. These warnings are an
indication that the packages contain code that will become an error in a
future release of Rust. These warnings typically cover changes to close
soundness problems, unintended or undocumented behavior, or critical problems
that cannot be fixed in a backwards-compatible fashion, and are not expected
to be in wide use.
Each warning should contain a link for more information on what the warning
means and how to resolve it.
To solve this problem, you can try the following approaches:
- If the issue is not solved by updating the dependencies, a fix has to be
implemented by those dependencies. You can help with that by notifying the
maintainers of this problem (e.g. by creating a bug report) or by proposing a
fix to the maintainers (e.g. by creating a pull request):
- [email protected]
- Repository: https://github.com/simnalamburt/obj-rs
- Detailed warning command: `cargo report future-incompatibilities --id 2 --package [email protected]`
- If waiting for an upstream fix is not an option, you can use the `[patch]`
section in `Cargo.toml` to use your own version of the dependency. For more
information, see:
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
The package `obj-rs v0.7.0` currently triggers the following future incompatibility lints:
> warning: trailing semicolon in macro used in expression position
> --> /Users/x/.cargo/registry/src/index.crates.io-6f17d22bba15001f/obj-rs-0.7.0/src/error.rs:134:12
> |
> 134 | )));
> | ^
> |
> ::: /Users/x/.cargo/registry/src/index.crates.io-6f17d22bba15001f/obj-rs-0.7.0/src/raw/material.rs:30:26
> |
> 30 | _ => make_error!(WrongNumberOfArguments, "Expected exactly 1 argument"),
> | ------------------------------------------------------------------ in this macro invocation
> |
> = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
> = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
> = note: `#[allow(semicolon_in_expressions_from_macros)]` on by default
> = note: this warning originates in the macro `make_error` (in Nightly builds, run with -Z macro-backtrace for more info)
>
from obj-rs.
weirdly I tried pointing to a local copy of obj-rs and it stopped giving the error. does the incompat report not run for crates that are reference with path = "./xyz"
?
Would be happy to help fix this if I could find a way to reproduce the report on a local copy.
from obj-rs.
I'm afraid there is no trailing semicolon at the end of macro. I doubt it's a bug of cargo or rustc.
Lines 129 to 136 in 8a5f690
from obj-rs.
Thank you for the fix!
from obj-rs.
Related Issues (20)
- Drop rustc-serialize dependency HOT 1
- Texture Coordinates HOT 1
- u32 indices HOT 4
- Panic on attempt to subtract with overflow
- High level abstraction of material specifiction HOT 4
- Document how to use and customize `Obj` in detail HOT 5
- the trait `glium::Vertex` is not implemented for `obj::TexturedVertex` HOT 7
- Document `RawObj` in detail, Support higher order surfaces HOT 8
- Are materials going to be supported? HOT 3
- Are there any plans to support writing HOT 1
- CI 'sampleapp-volkano' HOT 1
- Get replicated vertices when reading obj HOT 6
- Some OBJ specifications are not implemented yet HOT 1
- thread 'main' panicked at 'capacity overflow' HOT 3
- Update example for newer versions/editions of rust? HOT 1
- Better support for custom vertex formats HOT 1
- Should load_obj panic on indicies that exceed the bounds of I HOT 1
- Seemingly no way to use include_bytes! for a file HOT 2
- Load larger models HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obj-rs.