[INFO] fetching crate rustube 0.6.0... [INFO] testing rustube-0.6.0 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate rustube 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rustube 0.6.0 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustube 0.6.0 [INFO] finished tweaking crates.io crate rustube 0.6.0 [INFO] tweaked toml for crates.io crate rustube 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 241 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.9) [INFO] [stderr] Adding serde_qs v0.8.5 (available: v0.13.0) [INFO] [stderr] Adding serde_with v1.14.0 (available: v3.11.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log-derive v0.4.1 [INFO] [stderr] Downloaded test-env-log v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6b5414e6d61768736a9d1cdc3470548d2affa42765dcb39e5bd4d3ffa2f2005 [INFO] running `Command { std: "docker" "start" "-a" "c6b5414e6d61768736a9d1cdc3470548d2affa42765dcb39e5bd4d3ffa2f2005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b5414e6d61768736a9d1cdc3470548d2affa42765dcb39e5bd4d3ffa2f2005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b5414e6d61768736a9d1cdc3470548d2affa42765dcb39e5bd4d3ffa2f2005", kill_on_drop: false }` [INFO] [stdout] c6b5414e6d61768736a9d1cdc3470548d2affa42765dcb39e5bd4d3ffa2f2005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21af8dccd3d1e708965833eeb3ed7a303749ff66b1daa7eeae5530f60f6b93b1 [INFO] running `Command { std: "docker" "start" "-a" "21af8dccd3d1e708965833eeb3ed7a303749ff66b1daa7eeae5530f60f6b93b1", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling log-derive v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rustube v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stdout] --> src/lib.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_collect_lossy` is never used [INFO] [stdout] --> src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 299 | trait TryCollect: Iterator { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 300 | fn try_collect(self) -> Option; [INFO] [stdout] 301 | fn try_collect_lossy(self) -> Option where Self: Sized { None } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "21af8dccd3d1e708965833eeb3ed7a303749ff66b1daa7eeae5530f60f6b93b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21af8dccd3d1e708965833eeb3ed7a303749ff66b1daa7eeae5530f60f6b93b1", kill_on_drop: false }` [INFO] [stdout] 21af8dccd3d1e708965833eeb3ed7a303749ff66b1daa7eeae5530f60f6b93b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b46c4bbdec2b7fe33f4cbe69c7623ddd2345408c3ee6b3f03ac62523c7ae91c [INFO] running `Command { std: "docker" "start" "-a" "0b46c4bbdec2b7fe33f4cbe69c7623ddd2345408c3ee6b3f03ac62523c7ae91c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling test-env-log v0.2.8 [INFO] [stdout] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stdout] --> src/lib.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_collect_lossy` is never used [INFO] [stdout] --> src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 299 | trait TryCollect: Iterator { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 300 | fn try_collect(self) -> Option; [INFO] [stdout] 301 | fn try_collect_lossy(self) -> Option where Self: Sized { None } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustube v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stdout] --> src/lib.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_collect_lossy` is never used [INFO] [stdout] --> src/lib.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 299 | trait TryCollect: Iterator { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 300 | fn try_collect(self) -> Option; [INFO] [stdout] 301 | fn try_collect_lossy(self) -> Option where Self: Sized { None } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "0b46c4bbdec2b7fe33f4cbe69c7623ddd2345408c3ee6b3f03ac62523c7ae91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b46c4bbdec2b7fe33f4cbe69c7623ddd2345408c3ee6b3f03ac62523c7ae91c", kill_on_drop: false }` [INFO] [stdout] 0b46c4bbdec2b7fe33f4cbe69c7623ddd2345408c3ee6b3f03ac62523c7ae91c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1048a04729f37a5db4921c9cede1e46f28fc839bf564b1219fbbe4cbdfec15d5 [INFO] running `Command { std: "docker" "start" "-a" "1048a04729f37a5db4921c9cede1e46f28fc839bf564b1219fbbe4cbdfec15d5", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stderr] --> src/lib.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `try_collect_lossy` is never used [INFO] [stderr] --> src/lib.rs:301:8 [INFO] [stderr] | [INFO] [stderr] 299 | trait TryCollect: Iterator { [INFO] [stderr] | ---------- method in this trait [INFO] [stderr] 300 | fn try_collect(self) -> Option; [INFO] [stderr] 301 | fn try_collect_lossy(self) -> Option where Self: Sized { None } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustube` (lib) generated 2 warnings [INFO] [stderr] warning: `rustube` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustube-28d296e0860085ee) [INFO] [stderr] Doc-tests rustube [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 37) - compile ... ok [INFO] [stdout] test src/descrambler/mod.rs - descrambler::VideoDescrambler (line 22) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 28) - compile ... ok [INFO] [stdout] test src/fetcher.rs - fetcher::VideoFetcher (line 17) - compile ... ok [INFO] [stdout] test src/video.rs - video::Video (line 24) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 56) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 72) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 120) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 91) - compile ... ok [INFO] [stdout] test src/video.rs - video::Video (line 48) - compile ... ok [INFO] [stdout] test src/video.rs - video::Video (line 35) - compile ... ok [INFO] [stdout] test src/video.rs - video::Video (line 62) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1048a04729f37a5db4921c9cede1e46f28fc839bf564b1219fbbe4cbdfec15d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1048a04729f37a5db4921c9cede1e46f28fc839bf564b1219fbbe4cbdfec15d5", kill_on_drop: false }` [INFO] [stdout] 1048a04729f37a5db4921c9cede1e46f28fc839bf564b1219fbbe4cbdfec15d5