[INFO] fetching crate webrtc-srtp 0.3.1... [INFO] testing webrtc-srtp-0.3.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate webrtc-srtp 0.3.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate webrtc-srtp 0.3.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webrtc-srtp 0.3.1 [INFO] finished tweaking crates.io crate webrtc-srtp 0.3.1 [INFO] tweaked toml for crates.io crate webrtc-srtp 0.3.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtcp v0.3.1 [INFO] [stderr] Downloaded rtp v0.3.1 [INFO] [stderr] Downloaded webrtc-util v0.4.1 [INFO] [stderr] Downloaded webrtc-util v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5614814f54564c7de03185192958298080f9c0f5c1194d3e9926b1b493eb95ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5614814f54564c7de03185192958298080f9c0f5c1194d3e9926b1b493eb95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5614814f54564c7de03185192958298080f9c0f5c1194d3e9926b1b493eb95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5614814f54564c7de03185192958298080f9c0f5c1194d3e9926b1b493eb95ae", kill_on_drop: false }` [INFO] [stdout] 5614814f54564c7de03185192958298080f9c0f5c1194d3e9926b1b493eb95ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0df7c4ed6a40753d440447ced7c56fce5219e56e22731ed7a8dda87672521ac [INFO] running `Command { std: "docker" "start" "-a" "b0df7c4ed6a40753d440447ced7c56fce5219e56e22731ed7a8dda87672521ac", kill_on_drop: false }` [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling webrtc-util v0.4.1 [INFO] [stderr] Compiling webrtc-util v0.3.1 [INFO] [stderr] Compiling rtp v0.3.1 [INFO] [stderr] Compiling rtcp v0.3.1 [INFO] [stderr] Compiling webrtc-srtp v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtp::header::Header` in the current scope [INFO] [stdout] --> src/session/mod.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | vec![rtp::header::Header::unmarshal(&mut buf)?.ssrc] [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal` found for reference `&rtp::packet::Packet` in the current scope [INFO] [stdout] --> src/session/mod.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | let raw = packet.marshal()?; [INFO] [stdout] | ^^^^^^^ method not found in `&rtp::packet::Packet` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Marshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtp::header::Header` in the current scope [INFO] [stdout] --> src/stream.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | let header = rtp::header::Header::unmarshal(&mut b)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope [INFO] [stdout] --> src/stream.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | let header = rtcp::header::Header::unmarshal(&mut b)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtcp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aead_aes_gcm.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | BytesMut::with_capacity(header.marshal_size() + payload.len() + self.auth_tag_len()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aead_aes_gcm.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let data = header.marshal()?; [INFO] [stdout] | ^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Marshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aead_aes_gcm.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | let payload_offset = header.marshal_size(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aes_cm_hmac_sha1.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | BytesMut::with_capacity(header.marshal_size() + payload.len() + self.auth_tag_len()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aes_cm_hmac_sha1.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | let data = header.marshal()?; [INFO] [stdout] | ^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Marshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aes_cm_hmac_sha1.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | let payload_offset = header.marshal_size(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/cipher/cipher_aes_cm_hmac_sha1.rs:241:37 [INFO] [stdout] | [INFO] [stdout] 241 | let payload_offset = header.marshal_size(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope [INFO] [stdout] --> src/context/srtcp.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | rtcp::header::Header::unmarshal(&mut buf)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtcp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope [INFO] [stdout] --> src/context/srtcp.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | rtcp::header::Header::unmarshal(&mut buf)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtcp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtp::header::Header` in the current scope [INFO] [stdout] --> src/context/srtp.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | let header = rtp::header::Header::unmarshal(&mut buf)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `marshal_size` found for reference `&rtp::header::Header` in the current scope [INFO] [stdout] --> src/context/srtp.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | .encrypt_rtp(&plaintext[header.marshal_size()..], header, roc)?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::MarshalSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unmarshal` found for struct `rtp::header::Header` in the current scope [INFO] [stdout] --> src/context/srtp.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | let header = rtp::header::Header::unmarshal(&mut buf)?; [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `rtp::header::Header` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use webrtc_util::marshal::Unmarshal;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::marshal` [INFO] [stdout] --> src/cipher/cipher_aead_aes_gcm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use util::marshal::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::marshal` [INFO] [stdout] --> src/cipher/cipher_aes_cm_hmac_sha1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use util::marshal::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::marshal` [INFO] [stdout] --> src/context/srtcp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::marshal::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::marshal` [INFO] [stdout] --> src/context/srtp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::marshal::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marshal` [INFO] [stdout] --> src/session/mod.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use util::{buffer::*, conn::Conn, marshal::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marshal` [INFO] [stdout] --> src/stream.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use util::{marshal::*, Buffer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webrtc-srtp` due to 17 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0df7c4ed6a40753d440447ced7c56fce5219e56e22731ed7a8dda87672521ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0df7c4ed6a40753d440447ced7c56fce5219e56e22731ed7a8dda87672521ac", kill_on_drop: false }` [INFO] [stdout] b0df7c4ed6a40753d440447ced7c56fce5219e56e22731ed7a8dda87672521ac