[INFO] cloning repository https://github.com/retrokiller543/rustic_rtmp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retrokiller543/rustic_rtmp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f7daba48b71973230dbe9d5ea87b3194a71bd07 [INFO] checking retrokiller543/rustic_rtmp against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retrokiller543/rustic_rtmp on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] finished tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] tweaked toml for git repo https://github.com/retrokiller543/rustic_rtmp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/retrokiller543/rustic_rtmp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytesio v0.2.0 [INFO] [stderr] Downloaded flexi_logger v0.25.6 [INFO] [stderr] Downloaded openh264-sys2 v0.4.1 [INFO] [stderr] Downloaded openh264 v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c935293e9715909a167798737872c3cf1c7c2b704550dcfe4aa22fc58b9b933 [INFO] running `Command { std: "docker" "start" "-a" "6c935293e9715909a167798737872c3cf1c7c2b704550dcfe4aa22fc58b9b933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c935293e9715909a167798737872c3cf1c7c2b704550dcfe4aa22fc58b9b933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c935293e9715909a167798737872c3cf1c7c2b704550dcfe4aa22fc58b9b933", kill_on_drop: false }` [INFO] [stdout] 6c935293e9715909a167798737872c3cf1c7c2b704550dcfe4aa22fc58b9b933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f1e235c26a0e7b717756913a4eac678ec3afdc1c8eba603bd01807a389ef2a [INFO] running `Command { std: "docker" "start" "-a" "b8f1e235c26a0e7b717756913a4eac678ec3afdc1c8eba603bd01807a389ef2a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling openh264-sys2 v0.4.1 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking flexi_logger v0.25.6 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking bytesio v0.2.0 [INFO] [stderr] Checking openh264 v0.4.2 [INFO] [stderr] Checking rustic_rtmp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `read_with_type` is never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Amf0Reader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn read_with_type(&mut self, specified_marker: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WrongType` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | WrongType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ReadErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.09s [INFO] running `Command { std: "docker" "inspect" "b8f1e235c26a0e7b717756913a4eac678ec3afdc1c8eba603bd01807a389ef2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f1e235c26a0e7b717756913a4eac678ec3afdc1c8eba603bd01807a389ef2a", kill_on_drop: false }` [INFO] [stdout] b8f1e235c26a0e7b717756913a4eac678ec3afdc1c8eba603bd01807a389ef2a [INFO] checking retrokiller543/rustic_rtmp against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretrokiller543%2Frustic_rtmp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retrokiller543/rustic_rtmp on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] finished tweaking git repo https://github.com/retrokiller543/rustic_rtmp [INFO] tweaked toml for git repo https://github.com/retrokiller543/rustic_rtmp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/retrokiller543/rustic_rtmp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a806774dfdd7cc136238256dda2d5ad6ddd8f5051054cf8a757048d6cdc1b5d [INFO] running `Command { std: "docker" "start" "-a" "6a806774dfdd7cc136238256dda2d5ad6ddd8f5051054cf8a757048d6cdc1b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a806774dfdd7cc136238256dda2d5ad6ddd8f5051054cf8a757048d6cdc1b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a806774dfdd7cc136238256dda2d5ad6ddd8f5051054cf8a757048d6cdc1b5d", kill_on_drop: false }` [INFO] [stdout] 6a806774dfdd7cc136238256dda2d5ad6ddd8f5051054cf8a757048d6cdc1b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7823655cd4f6d19da0b5f69c48c3e101c9615348f6fed8101bef3470068bed9d [INFO] running `Command { std: "docker" "start" "-a" "7823655cd4f6d19da0b5f69c48c3e101c9615348f6fed8101bef3470068bed9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling openh264-sys2 v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking flexi_logger v0.25.6 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking bytesio v0.2.0 [INFO] [stderr] Checking openh264 v0.4.2 [INFO] [stderr] Checking rustic_rtmp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `read_with_type` is never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_reader.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Amf0Reader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn read_with_type(&mut self, specified_marker: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WrongType` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Amf0ReadErrorValue { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | WrongType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ReadErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Amf0ReadErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0ReadErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Amf0WriteErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0WriteErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_anys`, `get_current_bytes`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/server/connection/message/amf0/amf0_writer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Amf0Writer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write_anys(&mut self, values: &Vec) -> Result<(), Amf0WriteError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_current_bytes(&mut self) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EcmaArray` is never constructed [INFO] [stdout] --> src/server/connection/message/amf0/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Amf0ValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | EcmaArray(IndexMap), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amf0ValueType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BasicCommand`, `ResultObject`, `Event`, and `OnStatus` are never constructed [INFO] [stdout] --> src/server/connection/message/message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum RtmpMessage { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | BasicCommand(BasicCommand), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ResultObject(ResultObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Event(Event), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | OnStatus(OnStatus), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtmpMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_name`, `metadata`, and `data` are never read [INFO] [stdout] --> src/server/connection/message/message.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct SetDataFrame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 399 | data_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 400 | metadata: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 401 | data: SetDataFrameData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetDataFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Amf0ReadErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0ReadErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Amf0WriteErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/server/connection/message/amf0/errors.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Amf0WriteErrorValue` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustic_rtmp` (bin "rustic_rtmp") due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustic_rtmp` (bin "rustic_rtmp" test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7823655cd4f6d19da0b5f69c48c3e101c9615348f6fed8101bef3470068bed9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7823655cd4f6d19da0b5f69c48c3e101c9615348f6fed8101bef3470068bed9d", kill_on_drop: false }` [INFO] [stdout] 7823655cd4f6d19da0b5f69c48c3e101c9615348f6fed8101bef3470068bed9d