[INFO] fetching crate gb28181 0.1.0... [INFO] checking gb28181-0.1.0 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate gb28181 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gb28181 0.1.0 [INFO] finished tweaking crates.io crate gb28181 0.1.0 [INFO] tweaked toml for crates.io crate gb28181 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gb28181 0.1.0 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 217 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.12.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding streamhub v0.1.2 (available: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xflv v0.3.0 [INFO] [stderr] Downloaded h264-decoder v0.2.4 [INFO] [stderr] Downloaded tokio-util v0.6.10 [INFO] [stderr] Downloaded bytesio v0.3.4 [INFO] [stderr] Downloaded streamhub v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fc2ddb5bfc0a5cf0b52cc21621ff0a33aea7e8a5613db297e9a8ec1a67e88d0 [INFO] running `Command { std: "docker" "start" "-a" "8fc2ddb5bfc0a5cf0b52cc21621ff0a33aea7e8a5613db297e9a8ec1a67e88d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fc2ddb5bfc0a5cf0b52cc21621ff0a33aea7e8a5613db297e9a8ec1a67e88d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc2ddb5bfc0a5cf0b52cc21621ff0a33aea7e8a5613db297e9a8ec1a67e88d0", kill_on_drop: false }` [INFO] [stdout] 8fc2ddb5bfc0a5cf0b52cc21621ff0a33aea7e8a5613db297e9a8ec1a67e88d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08ab31eec18402a1c5d4518f65b0625935773b0e10039e9a219d51dfb6fc84d0 [INFO] running `Command { std: "docker" "start" "-a" "08ab31eec18402a1c5d4518f65b0625935773b0e10039e9a219d51dfb6fc84d0", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking bytesio v0.3.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h264-decoder v0.2.4 [INFO] [stderr] Checking xflv v0.3.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking streamhub v0.1.2 [INFO] [stderr] Checking gb28181 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ChannelErrorValue`, `ChannelError`, `FrameData`, `InformationSender`, `Information`, `NotifyInfo`, `PublishType`, `PublisherInfo`, `RandomDigitCount`, `StreamHubEvent`, `SubscribeType`, `SubscriberInfo`, `TStreamHandler`, `Uuid`, `statistics::StreamStatistics`, and `stream::StreamIdentifier` [INFO] [stdout] --> src/session/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | FrameData, Information, InformationSender, NotifyInfo, PublishType, PublisherInfo, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 6 | StreamHubEvent, StreamHubEventSender, SubscribeType, SubscriberInfo, TStreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | errors::{ChannelError, ChannelErrorValue}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | statistics::StreamStatistics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | stream::StreamIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | utils::{RandomDigitCount, Uuid}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/session/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/session/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(stream: TcpStream, event_producer: StreamHubEventSender) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_producer` [INFO] [stdout] --> src/session/mod.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(stream: TcpStream, event_producer: StreamHubEventSender) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_producer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/session/errors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SessionErrorValue` [INFO] [stdout] 15 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/session/errors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SessionErrorValue` [INFO] [stdout] 15 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelErrorValue`, `ChannelError`, `FrameData`, `InformationSender`, `Information`, `NotifyInfo`, `PublishType`, `PublisherInfo`, `RandomDigitCount`, `StreamHubEvent`, `SubscribeType`, `SubscriberInfo`, `TStreamHandler`, `Uuid`, `statistics::StreamStatistics`, and `stream::StreamIdentifier` [INFO] [stdout] --> src/session/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | FrameData, Information, InformationSender, NotifyInfo, PublishType, PublisherInfo, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 6 | StreamHubEvent, StreamHubEventSender, SubscribeType, SubscriberInfo, TStreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | errors::{ChannelError, ChannelErrorValue}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | statistics::StreamStatistics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | stream::StreamIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | utils::{RandomDigitCount, Uuid}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/session/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/session/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(stream: TcpStream, event_producer: StreamHubEventSender) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.82s [INFO] [stdout] warning: unused variable: `event_producer` [INFO] [stdout] --> src/session/mod.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(stream: TcpStream, event_producer: StreamHubEventSender) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_producer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/session/errors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SessionErrorValue` [INFO] [stdout] 15 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/session/errors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SessionErrorValue` [INFO] [stdout] 15 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08ab31eec18402a1c5d4518f65b0625935773b0e10039e9a219d51dfb6fc84d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ab31eec18402a1c5d4518f65b0625935773b0e10039e9a219d51dfb6fc84d0", kill_on_drop: false }` [INFO] [stdout] 08ab31eec18402a1c5d4518f65b0625935773b0e10039e9a219d51dfb6fc84d0