Implement the requested changes in the generator modules.
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
+229
@@ -0,0 +1,229 @@
|
||||
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
|
||||
|
|
||||
= note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
|
||||
= note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
|
||||
= note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:5:7
|
||||
|
|
||||
5 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
= note: `#[warn(unexpected_cfgs)]` on by default
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:184:7
|
||||
|
|
||||
184 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:189:7
|
||||
|
|
||||
189 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:197:7
|
||||
|
|
||||
197 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:384:7
|
||||
|
|
||||
384 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:389:7
|
||||
|
|
||||
389 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:397:7
|
||||
|
|
||||
397 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:684:7
|
||||
|
|
||||
684 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:689:7
|
||||
|
|
||||
689 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:697:7
|
||||
|
|
||||
697 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:909:7
|
||||
|
|
||||
909 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:914:7
|
||||
|
|
||||
914 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:922:7
|
||||
|
|
||||
922 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1209:7
|
||||
|
|
||||
1209 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1214:7
|
||||
|
|
||||
1214 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1222:7
|
||||
|
|
||||
1222 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1359:7
|
||||
|
|
||||
1359 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1364:7
|
||||
|
|
||||
1364 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
warning: unexpected `cfg` condition value: `alloc`
|
||||
--> benches/src/hackers.rs:1372:7
|
||||
|
|
||||
1372 | #[cfg(feature = "alloc")]
|
||||
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
||||
|
|
||||
= note: no expected values for `feature`
|
||||
= help: consider adding `alloc` as a feature in `Cargo.toml`
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
||||
|
||||
Compiling no_std_test v0.1.0 (/opt/workspace/examples/no_std_test)
|
||||
warning: `roto-benches` (lib) generated 19 warnings
|
||||
Compiling roto-tonic v0.1.0 (/opt/workspace/roto-tonic)
|
||||
warning: `roto-benches` (lib test) generated 19 warnings (19 duplicates)
|
||||
Compiling tonic v0.12.3
|
||||
error: failed to run custom build command for `roto-tonic v0.1.0 (/opt/workspace/roto-tonic)`
|
||||
|
||||
Caused by:
|
||||
process didn't exit successfully: `/opt/workspace/target/debug/build/roto-tonic-3195fff626ab2304/build-script-build` (exit status: 101)
|
||||
--- stdout
|
||||
cargo:rerun-if-changed=proto/interop.proto
|
||||
cargo:rerun-if-changed=proto
|
||||
|
||||
--- stderr
|
||||
|
||||
thread 'main' (391) panicked at roto-tonic/build.rs:9:45:
|
||||
Failed to compile protos with tonic-build: Custom { kind: NotFound, error: "Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on Debian, run `apt-get install protobuf-compiler`. It is also available at https://github.com/protocolbuffers/protobuf/releases For more information: https://docs.rs/prost-build/#sourcing-protoc" }
|
||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||
warning: build failed, waiting for other jobs to finish...
|
||||
error[E0152]: found duplicate lang item `panic_impl`
|
||||
--> examples/no_std_test/src/main.rs:7:1
|
||||
|
|
||||
7 | / fn panic(_info: &PanicInfo) -> ! {
|
||||
8 | | loop {}
|
||||
9 | | }
|
||||
| |_^
|
||||
|
|
||||
= note: the lang item is first defined in crate `std` (which `test` depends on)
|
||||
= note: first definition in `std` loaded from /root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-30b8a9ba02153abd.so, /root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-30b8a9ba02153abd.rlib, /root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-30b8a9ba02153abd.rmeta
|
||||
= note: second definition in the local crate (`no_std_test`)
|
||||
|
||||
For more information about this error, try `rustc --explain E0152`.
|
||||
error: could not compile `no_std_test` (bin "no_std_test" test) due to 1 previous error
|
||||
Reference in New Issue
Block a user