[INFO] fetching crate webrtc 0.9.0... [INFO] checking webrtc-0.9.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate webrtc 0.9.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate webrtc 0.9.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webrtc 0.9.0 [INFO] finished tweaking crates.io crate webrtc 0.9.0 [INFO] tweaked toml for crates.io crate webrtc 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded waitgroup v0.1.2 [INFO] [stderr] Downloaded substring v1.4.5 [INFO] [stderr] Downloaded crc v3.0.1 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded pem v3.0.3 [INFO] [stderr] Downloaded interceptor v0.10.0 [INFO] [stderr] Downloaded sdp v0.6.1 [INFO] [stderr] Downloaded ccm v0.5.0 [INFO] [stderr] Downloaded p384 v0.13.0 [INFO] [stderr] Downloaded x509-parser v0.15.1 [INFO] [stderr] Downloaded webrtc-dtls v0.8.0 [INFO] [stderr] Downloaded stun v0.5.1 [INFO] [stderr] Downloaded turn v0.7.1 [INFO] [stderr] Downloaded webrtc-ice v0.10.1 [INFO] [stderr] Downloaded webrtc-sctp v0.9.1 [INFO] [stderr] Downloaded webrtc-util v0.8.1 [INFO] [stderr] Downloaded webrtc-data v0.8.1 [INFO] [stderr] Downloaded webrtc-mdns v0.6.1 [INFO] [stderr] Downloaded rtp v0.10.0 [INFO] [stderr] Downloaded webrtc-media v0.7.1 [INFO] [stderr] Downloaded rtcp v0.10.1 [INFO] [stderr] Downloaded rtp v0.9.0 [INFO] [stderr] Downloaded webrtc-srtp v0.11.0 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5837a403fb2e4bb43379ff30f018da3a1ced0c92686e2e807a0c763a9c0a74f [INFO] running `Command { std: "docker" "start" "-a" "f5837a403fb2e4bb43379ff30f018da3a1ced0c92686e2e807a0c763a9c0a74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5837a403fb2e4bb43379ff30f018da3a1ced0c92686e2e807a0c763a9c0a74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5837a403fb2e4bb43379ff30f018da3a1ced0c92686e2e807a0c763a9c0a74f", kill_on_drop: false }` [INFO] [stdout] f5837a403fb2e4bb43379ff30f018da3a1ced0c92686e2e807a0c763a9c0a74f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e875cc708cd5c162a43192571d8bd162b7283a22a70a83139b6f7c6ccc97c5de [INFO] running `Command { std: "docker" "start" "-a" "e875cc708cd5c162a43192571d8bd162b7283a22a70a83139b6f7c6ccc97c5de", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking num-traits v0.2.18 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking waitgroup v0.1.2 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ccm v0.5.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking sdp v0.6.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking webrtc-util v0.8.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking rtcp v0.10.1 [INFO] [stderr] Checking rtp v0.9.0 [INFO] [stderr] Checking stun v0.5.1 [INFO] [stderr] Checking webrtc-sctp v0.9.1 [INFO] [stderr] Checking webrtc-mdns v0.6.1 [INFO] [stderr] Checking rtp v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking webrtc-media v0.7.1 [INFO] [stderr] Checking turn v0.7.1 [INFO] [stderr] Checking webrtc-srtp v0.11.0 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking interceptor v0.10.0 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking webrtc-data v0.8.1 [INFO] [stderr] Checking webrtc-ice v0.10.1 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking webrtc-dtls v0.8.0 [INFO] [stderr] Checking webrtc v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MIME_TYPE_OPUS` is imported redundantly [INFO] [stdout] --> src/api/media_engine/media_engine_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `MIME_TYPE_OPUS` is already imported here [INFO] [stdout] 6 | use crate::api::media_engine::MIME_TYPE_OPUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_transport_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceGatherOptions` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceGatherOptions` is already imported here [INFO] [stdout] 323 | use crate::api::APIBuilder; [INFO] [stdout] 324 | use crate::ice_transport::ice_gatherer::RTCIceGatherOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceServer` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceServer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 325 | use crate::ice_transport::ice_server::RTCIceServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AtomicUsize` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `AtomicUsize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MediaEngine` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `MediaEngine` is already imported here [INFO] [stdout] 13 | use crate::api::interceptor_registry::register_default_interceptors; [INFO] [stdout] 14 | use crate::api::media_engine::{MediaEngine, MIME_TYPE_VP8}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCConfiguration` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `RTCConfiguration` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::peer_connection::configuration::RTCConfiguration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 22 | use crate::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/peer_connection/operation/operation_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_receiver/rtp_receiver_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 8 | use crate::api::media_engine::{MIME_TYPE_OPUS, MIME_TYPE_VP8}; [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_sender/rtp_sender_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.05s [INFO] running `Command { std: "docker" "inspect" "e875cc708cd5c162a43192571d8bd162b7283a22a70a83139b6f7c6ccc97c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e875cc708cd5c162a43192571d8bd162b7283a22a70a83139b6f7c6ccc97c5de", kill_on_drop: false }` [INFO] [stdout] e875cc708cd5c162a43192571d8bd162b7283a22a70a83139b6f7c6ccc97c5de [INFO] checking webrtc-0.9.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate webrtc 0.9.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate webrtc 0.9.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webrtc 0.9.0 [INFO] finished tweaking crates.io crate webrtc 0.9.0 [INFO] tweaked toml for crates.io crate webrtc 0.9.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 731559bed47e024aaf3cc22ccb506ed6bc32b63285676a83f7a26237218c755f [INFO] running `Command { std: "docker" "start" "-a" "731559bed47e024aaf3cc22ccb506ed6bc32b63285676a83f7a26237218c755f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "731559bed47e024aaf3cc22ccb506ed6bc32b63285676a83f7a26237218c755f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731559bed47e024aaf3cc22ccb506ed6bc32b63285676a83f7a26237218c755f", kill_on_drop: false }` [INFO] [stdout] 731559bed47e024aaf3cc22ccb506ed6bc32b63285676a83f7a26237218c755f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9551709e8d33d949f7a0aa2ba8c38adb2b0d94138aef3448cae3e0316dc00c46 [INFO] running `Command { std: "docker" "start" "-a" "9551709e8d33d949f7a0aa2ba8c38adb2b0d94138aef3448cae3e0316dc00c46", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking num-traits v0.2.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking waitgroup v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking sdp v0.6.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ccm v0.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking webrtc-util v0.8.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking rtp v0.9.0 [INFO] [stderr] Checking stun v0.5.1 [INFO] [stderr] Checking rtcp v0.10.1 [INFO] [stderr] Checking webrtc-sctp v0.9.1 [INFO] [stderr] Checking webrtc-mdns v0.6.1 [INFO] [stderr] Checking rtp v0.10.0 [INFO] [stderr] Checking webrtc-dtls v0.8.0 [INFO] [stderr] Checking turn v0.7.1 [INFO] [stderr] Checking webrtc-srtp v0.11.0 [INFO] [stderr] Checking webrtc-media v0.7.1 [INFO] [stderr] Checking interceptor v0.10.0 [INFO] [stderr] Checking webrtc-data v0.8.1 [INFO] [stderr] Checking webrtc-ice v0.10.1 [INFO] [stderr] Checking webrtc v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `MIME_TYPE_OPUS` is imported redundantly [INFO] [stdout] --> src/api/media_engine/media_engine_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `MIME_TYPE_OPUS` is already imported here [INFO] [stdout] 6 | use crate::api::media_engine::MIME_TYPE_OPUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_transport_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceGatherOptions` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceGatherOptions` is already imported here [INFO] [stdout] 323 | use crate::api::APIBuilder; [INFO] [stdout] 324 | use crate::ice_transport::ice_gatherer::RTCIceGatherOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceServer` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceServer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 325 | use crate::ice_transport::ice_server::RTCIceServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AtomicUsize` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `AtomicUsize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MediaEngine` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `MediaEngine` is already imported here [INFO] [stdout] 13 | use crate::api::interceptor_registry::register_default_interceptors; [INFO] [stdout] 14 | use crate::api::media_engine::{MediaEngine, MIME_TYPE_VP8}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCConfiguration` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `RTCConfiguration` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::peer_connection::configuration::RTCConfiguration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 22 | use crate::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/peer_connection/operation/operation_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_receiver/rtp_receiver_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 8 | use crate::api::media_engine::{MIME_TYPE_OPUS, MIME_TYPE_VP8}; [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_sender/rtp_sender_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.57s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking webrtc v0.9.0 (/tmp/fixit) [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/data_channel/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/dtls_transport/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/ice_transport/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/peer_connection/operation/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sctp_transport/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/track/track_remote/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MIME_TYPE_OPUS` is imported redundantly [INFO] [stdout] --> src/api/media_engine/media_engine_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `MIME_TYPE_OPUS` is already imported here [INFO] [stdout] 6 | use crate::api::media_engine::MIME_TYPE_OPUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/data_channel/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/dtls_transport/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/ice_transport/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_transport_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceGatherOptions` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceGatherOptions` is already imported here [INFO] [stdout] 323 | use crate::api::APIBuilder; [INFO] [stdout] 324 | use crate::ice_transport::ice_gatherer::RTCIceGatherOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCIceServer` is imported redundantly [INFO] [stdout] --> src/ice_transport/ice_gatherer.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | -------- the item `RTCIceServer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 325 | use crate::ice_transport::ice_server::RTCIceServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AtomicUsize` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `AtomicUsize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/mux/mux_test.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MediaEngine` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `MediaEngine` is already imported here [INFO] [stdout] 13 | use crate::api::interceptor_registry::register_default_interceptors; [INFO] [stdout] 14 | use crate::api::media_engine::{MediaEngine, MIME_TYPE_VP8}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RTCConfiguration` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `RTCConfiguration` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::peer_connection::configuration::RTCConfiguration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 22 | use crate::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/peer_connection/operation/operation_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/peer_connection/operation/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArcSwapOption` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwapOption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArcSwapOption` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmolStr` is imported redundantly [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use smol_str::SmolStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `SmolStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/peer_connection/sdp/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 4 | use crate::api::media_engine::*; [INFO] [stdout] 5 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmtp` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_codec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `fmtp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::rtp_transceiver::fmtp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_receiver/rtp_receiver_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 8 | use crate::api::media_engine::{MIME_TYPE_OPUS, MIME_TYPE_VP8}; [INFO] [stdout] 9 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/rtp_sender/rtp_sender_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/rtp_transceiver/srtp_writer_future.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use util; [INFO] [stdout] | ^^^^ the item `util` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sctp_transport/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_test.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_rtp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/track/track_local/track_local_static_sample.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/track/track_remote/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/ice_transport/mod.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn set_remote_candidates(&self, remote_candidates: &[RTCIceCandidate]) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 269 | let c: Arc = Arc::new(rc.to_ice()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `r` does not live long enough [INFO] [stdout] --> src/ice_transport/mod.rs:287:68 [INFO] [stdout] | [INFO] [stdout] 286 | if let Some(r) = remote_candidate { [INFO] [stdout] | - binding `r` declared here [INFO] [stdout] 287 | let c: Arc = Arc::new(r.to_ice()?); [INFO] [stdout] | ---------^----------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | cast requires that `r` is borrowed for `'static` [INFO] [stdout] 288 | agent.add_remote_candidate(&c)?; [INFO] [stdout] 289 | } [INFO] [stdout] | - `r` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `std::sync::Arc` actually means `std::sync::Arc<(dyn webrtc_ice::candidate::Candidate + Send + Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/mod.rs:1425:38 [INFO] [stdout] | [INFO] [stdout] 1325 | pub async fn set_remote_description(&self, mut desc: RTCSessionDescription) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 1425 | Some(Box::new(self.internal.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/mod.rs:1425:38 [INFO] [stdout] | [INFO] [stdout] 1325 | pub async fn set_remote_description(&self, mut desc: RTCSessionDescription) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 1425 | Some(Box::new(self.internal.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:530:18 [INFO] [stdout] | [INFO] [stdout] 490 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 530 | Some(Box::new(self.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/ice_transport/mod.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn set_remote_candidates(&self, remote_candidates: &[RTCIceCandidate]) -> Result<()> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 269 | let c: Arc = Arc::new(rc.to_ice()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 433 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 480 | Some(Box::new(self.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `r` does not live long enough [INFO] [stdout] --> src/ice_transport/mod.rs:287:68 [INFO] [stdout] | [INFO] [stdout] 286 | if let Some(r) = remote_candidate { [INFO] [stdout] | - binding `r` declared here [INFO] [stdout] 287 | let c: Arc = Arc::new(r.to_ice()?); [INFO] [stdout] | ---------^----------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | cast requires that `r` is borrowed for `'static` [INFO] [stdout] 288 | agent.add_remote_candidate(&c)?; [INFO] [stdout] 289 | } [INFO] [stdout] | - `r` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `std::sync::Arc` actually means `std::sync::Arc<(dyn webrtc_ice::candidate::Candidate + Send + Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:530:18 [INFO] [stdout] | [INFO] [stdout] 490 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 530 | Some(Box::new(self.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/peer_connection/peer_connection_internal.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 433 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 480 | Some(Box::new(self.make_negotiation_needed_trigger())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webrtc` (lib) due to 6 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webrtc` (lib test) due to 6 previous errors; 34 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9551709e8d33d949f7a0aa2ba8c38adb2b0d94138aef3448cae3e0316dc00c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9551709e8d33d949f7a0aa2ba8c38adb2b0d94138aef3448cae3e0316dc00c46", kill_on_drop: false }` [INFO] [stdout] 9551709e8d33d949f7a0aa2ba8c38adb2b0d94138aef3448cae3e0316dc00c46