You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost all examples are in the broken state right now, e.g.
cargo run -p save_to_disk fails with
Compiling save_to_disk v0.1.0 (/home/alpc/work/rust-sdks/examples/save_to_disk)
error[E0061]: this function takes 3 arguments but 1 argument was supplied
--> save_to_disk/src/main.rs:129:28
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track);
| ^^^^^^^^^^^^^^^^^^^^^^----------- two arguments of type `i32` and `i32` are missing
|
note: associated function defined here
--> /home/alpc/work/rust-sdks/libwebrtc/src/audio_stream.rs:41:16
|
41 | pub fn new(audio_track: RtcAudioTrack, sample_rate: i32, num_channels: i32) -> Self {
| ^^^
help: provide the arguments
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track, /* i32 */, /* i32 */);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `save_to_disk` (bin "save_to_disk") due to 1 previous error
Full build log, a lot of warnings
Almost all examples are in the broken state right now, e.g.
`cargo run -p save_to_disk` fails with
Compiling save_to_disk v0.1.0 (/home/alpc/work/rust-sdks/examples/save_to_disk)
error[E0061]: this function takes 3 arguments but 1 argument was supplied
--> save_to_disk/src/main.rs:129:28
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track);
| ^^^^^^^^^^^^^^^^^^^^^^----------- two arguments of type i32 and i32 are missing
|
note: associated function defined here
--> /home/alpc/work/rust-sdks/libwebrtc/src/audio_stream.rs:41:16
|
41 | pub fn new(audio_track: RtcAudioTrack, sample_rate: i32, num_channels: i32) -> Self {
| ^^^
help: provide the arguments
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track, /* i32 /, / i32 */);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try rustc --explain E0061.
error: could not compile save_to_disk (bin "save_to_disk") due to 1 previous error
<details>
<summary>Full build log, a lot of warnings</summary>
```log
work/rust-sdks/examples main:origin/main* ❯ cargo run -p save_to_disk
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` 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: `serde`
--> /home/alpc/work/rust-sdks/livekit-protocol/src/lib.rs:25:7
|
25 | #[cfg(feature = "serde")]
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `serde` 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: `livekit-protocol` (lib) generated 1 warning
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/yuv_helper.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/yuv_helper.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/candidate.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/candidate.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/stl_algobase.h:59,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/algorithm:60,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/include/rust/cxx.h:2,
warning: webrtc-sys@0.3.5: from ./include/livekit/helper.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/helper.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/candidate.h:19,
warning: webrtc-sys@0.3.5: from src/candidate.cpp:17:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/video_frame_buffer.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/video_frame.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/requires_hosted.h:31,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/string:38,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/rtc_error.h:17,
warning: webrtc-sys@0.3.5: from ./include/livekit/rtc_error.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/rtc_error.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/video_frame_buffer.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/video_frame_buffer.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/requires_hosted.h:31,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/string:38,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/rtc_error.h:17,
warning: webrtc-sys@0.3.5: from ./include/livekit/rtc_error.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/jsep.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/jsep.h:19,
warning: webrtc-sys@0.3.5: from src/jsep.cpp:17:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/video_codecs/video_decoder.h:14,
warning: webrtc-sys@0.3.5: from ./include/livekit/video_decoder_factory.h:19,
warning: webrtc-sys@0.3.5: from src/video_decoder_factory.cpp:17:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/codecs/h264/include/h264.h:22,
warning: webrtc-sys@0.3.5: from src/video_decoder_factory.cpp:23:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:54:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 54 | static_assert(std::is_pod<CodecSpecificInfoVP8>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/bits/move.h:37,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/new_allocator.h:36,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++allocator.h:33,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/allocator.h:46,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:65:
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:85:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 85 | static_assert(std::is_pod<CodecSpecificInfoVP9>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:94:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 94 | static_assert(std::is_pod<CodecSpecificInfoH264>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:101:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 101 | static_assert(std::is_pod<CodecSpecificInfoUnion>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/stl_algobase.h:59,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/algorithm:60,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/include/rust/cxx.h:2,
warning: webrtc-sys@0.3.5: from ./include/livekit/helper.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/media_stream.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/encoded_frame.h:18,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/video/encoded_frame.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/frame_transformer_interface.h:18,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/rtp_receiver_interface.h:22,
warning: webrtc-sys@0.3.5: from ./include/livekit/webrtc.h:22,
warning: webrtc-sys@0.3.5: from ./include/livekit/media_stream_track.h:23,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/media_stream.rs.cc:2:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:54:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 54 | static_assert(std::is_pod<CodecSpecificInfoVP8>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/bits/stl_pair.h:60,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/stl_algobase.h:64:
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:85:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 85 | static_assert(std::is_pod<CodecSpecificInfoVP9>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:94:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 94 | static_assert(std::is_pod<CodecSpecificInfoH264>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:101:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 101 | static_assert(std::is_pod<CodecSpecificInfoUnion>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_stream_adapter.h:25,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_adapter.h:21,
warning: webrtc-sys@0.3.5: from ./include/livekit/webrtc.h:27:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h: In member function ‘rtc::StreamResult rtc::StreamInterface::WriteAll(rtc::ArrayView<const unsigned char>, size_t&, int&)’:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h:118:20: warning: ‘rtc::StreamResult rtc::StreamInterface::WriteAll(const void*, size_t, size_t*, int*)’ is deprecated: Use version with ArrayView [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 118 | return WriteAll(data.data(), data.size(), &written, &error);
warning: webrtc-sys@0.3.5: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h:109:3: note: declared here
warning: webrtc-sys@0.3.5: 109 | WriteAll(const void* data, size_t data_len, size_t* written, int* error);
warning: webrtc-sys@0.3.5: | ^~~~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2521,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/memoryfwd.h:48,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:63,
warning: webrtc-sys@0.3.5: from ./include/livekit/media_stream_track.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/webrtc-sys-6f25df396f06f860/out/cxxbridge/sources/webrtc-sys/src/audio_track.rs.cc:1:
warning: webrtc-sys@0.3.5: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: webrtc-sys@0.3.5: 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: webrtc-sys@0.3.5: | ^~~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/encoded_frame.h:18,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/video/encoded_frame.h:19,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/frame_transformer_interface.h:18,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/rtp_receiver_interface.h:22,
warning: webrtc-sys@0.3.5: from ./include/livekit/webrtc.h:22,
warning: webrtc-sys@0.3.5: from ./include/livekit/media_stream_track.h:23:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:54:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 54 | static_assert(std::is_pod<CodecSpecificInfoVP8>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /usr/include/c++/14/bits/move.h:37,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/new_allocator.h:36,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/x86_64-redhat-linux/bits/c++allocator.h:33,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/bits/allocator.h:46,
warning: webrtc-sys@0.3.5: from /usr/include/c++/14/memory:65:
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:85:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 85 | static_assert(std::is_pod<CodecSpecificInfoVP9>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:94:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 94 | static_assert(std::is_pod<CodecSpecificInfoH264>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/modules/video_coding/include/video_codec_interface.h:101:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 101 | static_assert(std::is_pod<CodecSpecificInfoUnion>::value, "");
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: /usr/include/c++/14/type_traits:890:5: note: declared here
warning: webrtc-sys@0.3.5: 890 | is_pod
warning: webrtc-sys@0.3.5: | ^~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_stream_adapter.h:25,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_adapter.h:21,
warning: webrtc-sys@0.3.5: from ./include/livekit/webrtc.h:27:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h: In member function ‘rtc::StreamResult rtc::StreamInterface::WriteAll(rtc::ArrayView<const unsigned char>, size_t&, int&)’:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h:118:20: warning: ‘rtc::StreamResult rtc::StreamInterface::WriteAll(const void*, size_t, size_t*, int*)’ is deprecated: Use version with ArrayView [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 118 | return WriteAll(data.data(), data.size(), &written, &error);
warning: webrtc-sys@0.3.5: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_stream_adapter.h:25,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_adapter.h:21,
warning: webrtc-sys@0.3.5: from ./include/livekit/webrtc.h:27:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h: In member function ‘rtc::StreamResult rtc::StreamInterface::WriteAll(rtc::ArrayView<const unsigned char>, size_t&, int&)’:
warning: webrtc-sys@0.3.5: 125 | CreateMediaChannel(webrtc::Call* call,
warning: webrtc-sys@0.3.5: | ^~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/media/base/media_engine.h: In member function ‘virtual cricket::VideoMediaChannel* cricket::VideoEngineInterface::CreateMediaChannel(cricket::MediaChannel::Role, webrtc::Call*, const cricket::MediaConfig&, const cricket::VideoOptions&, const webrtc::CryptoOptions&, webrtc::VideoBitrateAllocatorFactory*)’:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/media/base/media_engine.h:184:30: warning: ‘virtual cricket::VideoMediaChannel* cricket::VideoEngineInterface::CreateMediaChannel(webrtc::Call*, const cricket::MediaConfig&, const cricket::VideoOptions&, const webrtc::CryptoOptions&, webrtc::VideoBitrateAllocatorFactory*)’ is deprecated: Please specify the role [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 184 | return CreateMediaChannel(call, config, options, crypto_options,
warning: webrtc-sys@0.3.5: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: 185 | video_bitrate_allocator_factory);
warning: webrtc-sys@0.3.5: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/media/base/media_engine.h:193:3: note: declared here
warning: webrtc-sys@0.3.5: 193 | CreateMediaChannel(
warning: webrtc-sys@0.3.5: | ^~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: In file included from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/ssl_stream_adapter.h:25,
warning: webrtc-sys@0.3.5: from /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/api/peer_connection_interface.h:138:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h: In member function ‘rtc::StreamResult rtc::StreamInterface::WriteAll(rtc::ArrayView<const unsigned char>, size_t&, int&)’:
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h:118:20: warning: ‘rtc::StreamResult rtc::StreamInterface::WriteAll(const void*, size_t, size_t*, int*)’ is deprecated: Use version with ArrayView [-Wdeprecated-declarations]
warning: webrtc-sys@0.3.5: 118 | return WriteAll(data.data(), data.size(), &written, &error);
warning: webrtc-sys@0.3.5: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: webrtc-sys@0.3.5: /home/alpc/work/rust-sdks/examples/target/debug/build/scratch-4224ad09d23e538a/out/livekit_webrtc/livekit/linux-x64-release-webrtc-dac8015-5/linux-x64-release/include/rtc_base/stream.h:109:3: note: declared here
warning: webrtc-sys@0.3.5: 109 | WriteAll(const void* data, size_t data_len, size_t* written, int* error);
warning: webrtc-sys@0.3.5: | ^~~~~~~~
warning: unused import: `self`
--> /home/alpc/work/rust-sdks/livekit/src/room/participant/local_participant.rs:18:12
|
18 | sync::{self, Arc},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unnecessary parentheses around method argument
--> /home/alpc/work/rust-sdks/livekit/src/room/participant/local_participant.rs:388:17
|
388 | (|segment| proto::TranscriptionSegment {
| ^
...
395 | }),
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
388 ~ |segment| proto::TranscriptionSegment {
389 | id: segment.id,
...
394 | language: segment.language,
395 ~ },
|
warning: use of deprecated field `livekit_protocol::UserPacket::participant_sid`
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_session.rs:598:51
|
598 | ... let participant_sid = user
| _____________________________________________^
599 | | ... .participant_sid
| |__________________________________________^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated field `livekit_protocol::UserPacket::participant_sid`
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_session.rs:602:44
|
602 | ... .then_some(user.participant_sid.clone());
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `livekit_protocol::UserPacket::participant_identity`
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_session.rs:606:40
|
606 | ... } else if !user.participant_identity.is_empty() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `livekit_protocol::UserPacket::participant_identity`
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_session.rs:607:38
|
607 | ... Some(user.participant_identity.clone())
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `livekit_protocol::DataPacket::kind`
--> /home/alpc/work/rust-sdks/livekit/src/room/participant/local_participant.rs:370:13
|
370 | kind: kind as i32,
| ^^^^^^^^^^^^^^^^^
warning: methods `on_subscription_status_changed` and `on_permission_status_changed` are never used
--> /home/alpc/work/rust-sdks/livekit/src/room/publication/remote.rs:190:19
|
68 | impl RemoteTrackPublication {
| --------------------------- methods in this implementation
...
190 | pub(crate) fn on_subscription_status_changed(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
197 | pub(crate) fn on_permission_status_changed(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field `target` is never read
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_events.rs:42:9
|
40 | Offer {
| ----- field in this variant
41 | offer: SessionDescription,
42 | target: proto::SignalTarget,
| ^^^^^^
|
= note: `RtcEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: field `target` is never read
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_events.rs:48:9
|
44 | Track {
| ----- field in this variant
...
48 | target: proto::SignalTarget,
| ^^^^^^
|
= note: `RtcEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: method `publisher` is never used
--> /home/alpc/work/rust-sdks/livekit/src/rtc_engine/rtc_session.rs:329:12
|
178 | impl RtcSession {
| --------------- method in this implementation
...
329 | pub fn publisher(&self) -> &PeerTransport {
| ^^^^^^^^^
warning: `livekit` (lib) generated 11 warnings (run `cargo fix --lib -p livekit` to apply 2 suggestions)
Compiling save_to_disk v0.1.0 (/home/alpc/work/rust-sdks/examples/save_to_disk)
error[E0061]: this function takes 3 arguments but 1 argument was supplied
--> save_to_disk/src/main.rs:129:28
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track);
| ^^^^^^^^^^^^^^^^^^^^^^----------- two arguments of type `i32` and `i32` are missing
|
note: associated function defined here
--> /home/alpc/work/rust-sdks/libwebrtc/src/audio_stream.rs:41:16
|
41 | pub fn new(audio_track: RtcAudioTrack, sample_rate: i32, num_channels: i32) -> Self {
| ^^^
help: provide the arguments
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track, /* i32 */, /* i32 */);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `save_to_disk` (bin "save_to_disk") due to 1 previous error
It would be great to see those examples updated so that some reasonable defaults could be used and tweaked in personal projects/examples.
The text was updated successfully, but these errors were encountered:
Almost all examples are in the broken state right now, e.g.
cargo run -p save_to_disk
fails withFull build log, a lot of warnings
Compiling save_to_disk v0.1.0 (/home/alpc/work/rust-sdks/examples/save_to_disk)
error[E0061]: this function takes 3 arguments but 1 argument was supplied
--> save_to_disk/src/main.rs:129:28
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track);
| ^^^^^^^^^^^^^^^^^^^^^^----------- two arguments of type
i32
andi32
are missing|
note: associated function defined here
--> /home/alpc/work/rust-sdks/libwebrtc/src/audio_stream.rs:41:16
|
41 | pub fn new(audio_track: RtcAudioTrack, sample_rate: i32, num_channels: i32) -> Self {
| ^^^
help: provide the arguments
|
129 | let mut audio_stream = NativeAudioStream::new(rtc_track, /* i32 /, / i32 */);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try
rustc --explain E0061
.error: could not compile
save_to_disk
(bin "save_to_disk") due to 1 previous errorIt would be great to see those examples updated so that some reasonable defaults could be used and tweaked in personal projects/examples.
The text was updated successfully, but these errors were encountered: