[INFO] fetching crate janus-plugin 0.13.0... [INFO] checking janus-plugin-0.13.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate janus-plugin 0.13.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate janus-plugin 0.13.0 [INFO] finished tweaking crates.io crate janus-plugin 0.13.0 [INFO] tweaked toml for crates.io crate janus-plugin 0.13.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate janus-plugin 0.13.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.10.0) [INFO] [stderr] Adding colored v2.2.0 (available: v3.1.1) [INFO] [stderr] Adding glib-sys v0.10.1 (available: v0.21.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e5c2674ceb1ccc8a5c93fa5a330770cf13e193e8d2ed6b67158e0547d7f0def [INFO] running `Command { std: "docker" "start" "-a" "9e5c2674ceb1ccc8a5c93fa5a330770cf13e193e8d2ed6b67158e0547d7f0def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e5c2674ceb1ccc8a5c93fa5a330770cf13e193e8d2ed6b67158e0547d7f0def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5c2674ceb1ccc8a5c93fa5a330770cf13e193e8d2ed6b67158e0547d7f0def", kill_on_drop: false }` [INFO] [stdout] 9e5c2674ceb1ccc8a5c93fa5a330770cf13e193e8d2ed6b67158e0547d7f0def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e3c4d5b3e0312e9985c417263b1c48c47920f45ac26b446d1ae62e4ed7f2387 [INFO] running `Command { std: "docker" "start" "-a" "6e3c4d5b3e0312e9985c417263b1c48c47920f45ac26b446d1ae62e4ed7f2387", kill_on_drop: false }` [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling jansson-sys v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Checking janus-plugin-sys v0.8.0 [INFO] [stderr] Checking janus-plugin v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/debug.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | Local.ymd(year, month, day).and_hms(hour, min, sec) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/debug.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | Local.ymd(year, month, day).and_hms(hour, min, sec) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | err if err < 0 => unreachable!(format!("Error generating FIR packet (code {}) :(", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 - err if err < 0 => unreachable!(format!("Error generating FIR packet (code {}) :(", err)), [INFO] [stdout] 36 + err if err < 0 => unreachable!("Error generating FIR packet (code {}) :(", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | err if err < 0 => unreachable!(format!("Error generating PLI packet (code {}) :(", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - err if err < 0 => unreachable!(format!("Error generating PLI packet (code {}) :(", err)), [INFO] [stdout] 50 + err if err < 0 => unreachable!("Error generating PLI packet (code {}) :(", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | err if err < 0 => unreachable!(format!("Error generating REMB packet (code {}).", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - err if err < 0 => unreachable!(format!("Error generating REMB packet (code {}).", err)), [INFO] [stdout] 64 + err if err < 0 => unreachable!("Error generating REMB packet (code {}).", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/session.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn as_ptr(&self) -> *mut PluginSession { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl Deref for SessionWrapper { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 74 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `janus-plugin` (lib test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | err if err < 0 => unreachable!(format!("Error generating FIR packet (code {}) :(", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 - err if err < 0 => unreachable!(format!("Error generating FIR packet (code {}) :(", err)), [INFO] [stdout] 36 + err if err < 0 => unreachable!("Error generating FIR packet (code {}) :(", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | err if err < 0 => unreachable!(format!("Error generating PLI packet (code {}) :(", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - err if err < 0 => unreachable!(format!("Error generating PLI packet (code {}) :(", err)), [INFO] [stdout] 50 + err if err < 0 => unreachable!("Error generating PLI packet (code {}) :(", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rtcp.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | err if err < 0 => unreachable!(format!("Error generating REMB packet (code {}).", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - err if err < 0 => unreachable!(format!("Error generating REMB packet (code {}).", err)), [INFO] [stdout] 64 + err if err < 0 => unreachable!("Error generating REMB packet (code {}).", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/session.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn as_ptr(&self) -> *mut PluginSession { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl Deref for SessionWrapper { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 74 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `janus-plugin` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e3c4d5b3e0312e9985c417263b1c48c47920f45ac26b446d1ae62e4ed7f2387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3c4d5b3e0312e9985c417263b1c48c47920f45ac26b446d1ae62e4ed7f2387", kill_on_drop: false }` [INFO] [stdout] 6e3c4d5b3e0312e9985c417263b1c48c47920f45ac26b446d1ae62e4ed7f2387