[INFO] fetching crate amadeus-streaming 0.4.3... [INFO] testing amadeus-streaming-0.4.3 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate amadeus-streaming 0.4.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate amadeus-streaming 0.4.3 [INFO] finished tweaking crates.io crate amadeus-streaming 0.4.3 [INFO] tweaked toml for crates.io crate amadeus-streaming 0.4.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amadeus-streaming 0.4.3 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.7.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding twox-hash v1.6.3 (available: v2.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_closure_derive v0.3.3 [INFO] [stderr] Downloaded serde_closure v0.3.3 [INFO] [stderr] Downloaded packed_simd v0.3.9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71d524970f8809d7ef6c978b150ef2cf96dbc9e222b046a4c35d0d1adc1c383c [INFO] running `Command { std: "docker" "start" "-a" "71d524970f8809d7ef6c978b150ef2cf96dbc9e222b046a4c35d0d1adc1c383c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71d524970f8809d7ef6c978b150ef2cf96dbc9e222b046a4c35d0d1adc1c383c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d524970f8809d7ef6c978b150ef2cf96dbc9e222b046a4c35d0d1adc1c383c", kill_on_drop: false }` [INFO] [stdout] 71d524970f8809d7ef6c978b150ef2cf96dbc9e222b046a4c35d0d1adc1c383c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd9a61a1bc1d2a61677bcee5cec014c60e40c4c64f647a73a0d04263fa6b527 [INFO] running `Command { std: "docker" "start" "-a" "ebd9a61a1bc1d2a61677bcee5cec014c60e40c4c64f647a73a0d04263fa6b527", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_closure v0.3.3 [INFO] [stderr] Compiling amadeus-streaming v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_closure_derive v0.3.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | #![cfg_attr(nightly, feature(unboxed_closures))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/linked_list.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/ordered_linked_list.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 67 - fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] 67 + fn into_iter(self) -> vec::IntoIter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | impl std::ops::Index for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - impl std::ops::Index for FixedCapVec [INFO] [stdout] 71 + impl ops::Index for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | type Output = as std::ops::Index>::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 75 - type Output = as std::ops::Index>::Output; [INFO] [stdout] 75 + type Output = as ops::Index>::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | std::ops::Index::index(&self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - std::ops::Index::index(&self.0, index) [INFO] [stdout] 77 + ops::Index::index(&self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 80 - impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] 80 + impl ops::IndexMut for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 85 - std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] 85 + ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | if mem::size_of_val(f) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 284 - if mem::size_of_val(f) != 0 { [INFO] [stdout] 284 + if size_of_val(f) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/top.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.30s [INFO] running `Command { std: "docker" "inspect" "ebd9a61a1bc1d2a61677bcee5cec014c60e40c4c64f647a73a0d04263fa6b527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd9a61a1bc1d2a61677bcee5cec014c60e40c4c64f647a73a0d04263fa6b527", kill_on_drop: false }` [INFO] [stdout] ebd9a61a1bc1d2a61677bcee5cec014c60e40c4c64f647a73a0d04263fa6b527 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4ec7d6827c35238e5161a93cb11fc626489c54798c70aa59bb23421d66f6ab [INFO] running `Command { std: "docker" "start" "-a" "df4ec7d6827c35238e5161a93cb11fc626489c54798c70aa59bb23421d66f6ab", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | #![cfg_attr(nightly, feature(unboxed_closures))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/linked_list.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/ordered_linked_list.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 67 - fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] 67 + fn into_iter(self) -> vec::IntoIter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | impl std::ops::Index for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - impl std::ops::Index for FixedCapVec [INFO] [stdout] 71 + impl ops::Index for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | type Output = as std::ops::Index>::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 75 - type Output = as std::ops::Index>::Output; [INFO] [stdout] 75 + type Output = as ops::Index>::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | std::ops::Index::index(&self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - std::ops::Index::index(&self.0, index) [INFO] [stdout] 77 + ops::Index::index(&self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 80 - impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] 80 + impl ops::IndexMut for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 85 - std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] 85 + ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | if mem::size_of_val(f) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 284 - if mem::size_of_val(f) != 0 { [INFO] [stdout] 284 + if size_of_val(f) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/top.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling amadeus-streaming v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | #![cfg_attr(nightly, feature(unboxed_closures))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/linked_list.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/ordered_linked_list.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 67 - fn into_iter(self) -> std::vec::IntoIter { [INFO] [stdout] 67 + fn into_iter(self) -> vec::IntoIter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | impl std::ops::Index for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - impl std::ops::Index for FixedCapVec [INFO] [stdout] 71 + impl ops::Index for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | type Output = as std::ops::Index>::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 75 - type Output = as std::ops::Index>::Output; [INFO] [stdout] 75 + type Output = as ops::Index>::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | std::ops::Index::index(&self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - std::ops::Index::index(&self.0, index) [INFO] [stdout] 77 + ops::Index::index(&self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 80 - impl std::ops::IndexMut for FixedCapVec [INFO] [stdout] 80 + impl ops::IndexMut for FixedCapVec [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sample.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 85 - std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] 85 + ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/sort.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stdout] | [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/sort.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | if mem::size_of_val(f) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 284 - if mem::size_of_val(f) != 0 { [INFO] [stdout] 284 + if size_of_val(f) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assert` [INFO] [stdout] --> src/top.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if !cfg!(feature = "assert") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stdout] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/linked_list.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn head(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_linked_list.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex { [INFO] [stdout] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "df4ec7d6827c35238e5161a93cb11fc626489c54798c70aa59bb23421d66f6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4ec7d6827c35238e5161a93cb11fc626489c54798c70aa59bb23421d66f6ab", kill_on_drop: false }` [INFO] [stdout] df4ec7d6827c35238e5161a93cb11fc626489c54798c70aa59bb23421d66f6ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d4fd92bfcf5164897918eb0ee254d447c6714dc3b33c7c1c17f541ac473676f [INFO] running `Command { std: "docker" "start" "-a" "9d4fd92bfcf5164897918eb0ee254d447c6714dc3b33c7c1c17f541ac473676f", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(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: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | #![cfg_attr(nightly, feature(unboxed_closures))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `assert` [INFO] [stderr] --> src/linked_list.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | if !cfg!(feature = "assert") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stderr] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `assert` [INFO] [stderr] --> src/ordered_linked_list.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | if !cfg!(feature = "assert") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stderr] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:67:24 [INFO] [stderr] | [INFO] [stderr] 67 | fn into_iter(self) -> std::vec::IntoIter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:2 [INFO] [stderr] | [INFO] [stderr] 40 | unused_qualifications, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 67 - fn into_iter(self) -> std::vec::IntoIter { [INFO] [stderr] 67 + fn into_iter(self) -> vec::IntoIter { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:71:14 [INFO] [stderr] | [INFO] [stderr] 71 | impl std::ops::Index for FixedCapVec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 71 - impl std::ops::Index for FixedCapVec [INFO] [stderr] 71 + impl ops::Index for FixedCapVec [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | type Output = as std::ops::Index>::Output; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 75 - type Output = as std::ops::Index>::Output; [INFO] [stderr] 75 + type Output = as ops::Index>::Output; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:77:3 [INFO] [stderr] | [INFO] [stderr] 77 | std::ops::Index::index(&self.0, index) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 77 - std::ops::Index::index(&self.0, index) [INFO] [stderr] 77 + ops::Index::index(&self.0, index) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:80:14 [INFO] [stderr] | [INFO] [stderr] 80 | impl std::ops::IndexMut for FixedCapVec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 80 - impl std::ops::IndexMut for FixedCapVec [INFO] [stderr] 80 + impl ops::IndexMut for FixedCapVec [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sample.rs:85:3 [INFO] [stderr] | [INFO] [stderr] 85 | std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 85 - std::ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stderr] 85 + ops::IndexMut::index_mut(&mut self.0, index) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:90:16 [INFO] [stderr] | [INFO] [stderr] 90 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:106:16 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:118:16 [INFO] [stderr] | [INFO] [stderr] 118 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:240:17 [INFO] [stderr] | [INFO] [stderr] 240 | #[cfg_attr(not(nightly), serde_closure::desugar)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:190:10 [INFO] [stderr] | [INFO] [stderr] 190 | #[cfg(nightly)] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/sort.rs:192:14 [INFO] [stderr] | [INFO] [stderr] 192 | #[cfg(not(nightly))] [INFO] [stderr] | ^^^^^^^ help: found config with similar value: `feature = "nightly"` [INFO] [stderr] | [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/sort.rs:284:7 [INFO] [stderr] | [INFO] [stderr] 284 | if mem::size_of_val(f) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 284 - if mem::size_of_val(f) != 0 { [INFO] [stderr] 284 + if size_of_val(f) != 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `assert` [INFO] [stderr] --> src/top.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | if !cfg!(feature = "assert") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `nightly`, `packed_simd`, and `protobuf` [INFO] [stderr] = help: consider adding `assert` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | #![cfg_attr(nightly, feature(map_first_last))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:99:14 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn head(&self) -> Option { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 99 | pub fn head(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn tail(&self) -> Option { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 107 | pub fn tail(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:122:19 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 122 | pub fn push_back(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 135 | pub fn push_front(&mut self, t: T) -> LinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:178:22 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 178 | pub fn insert_after(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/linked_list.rs:192:23 [INFO] [stderr] | [INFO] [stderr] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 192 | pub fn insert_before(&mut self, index: LinkedListIndex, t: T) -> LinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn head(&self) -> Option { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 44 | pub fn head(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn tail(&self) -> Option { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | pub fn tail(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn push_back(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:77:20 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex { [INFO] [stderr] | ^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn push_front(&mut self, t: T) -> OrderedLinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:146:3 [INFO] [stderr] | [INFO] [stderr] 146 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 147 | ) -> OrderedLinkedListIndex { [INFO] [stderr] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 147 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ordered_linked_list.rs:151:3 [INFO] [stderr] | [INFO] [stderr] 151 | &mut self, _index: OrderedLinkedListIndex, _t: T, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 152 | ) -> OrderedLinkedListIndex { [INFO] [stderr] | ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 152 | ) -> OrderedLinkedListIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `amadeus-streaming` (lib) generated 33 warnings (run `cargo fix --lib -p amadeus-streaming` to apply 7 suggestions) [INFO] [stderr] warning: `amadeus-streaming` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/amadeus_streaming-8e93954c5320abcd) [INFO] [stdout] running 13 tests [INFO] [stdout] test count_min::tests::test_overflow ... ignored [INFO] [stdout] test count_min::tests::test_increment ... ok [INFO] [stdout] test distinct::consts::test::ordered ... ok [INFO] [stdout] test distinct::test::pow_bithack ... ok [INFO] [stdout] test distinct::test::hyperloglog_test_simple ... ok [INFO] [stdout] test top::test::many ... ignored [INFO] [stdout] test distinct::test::hyperloglog_test_merge ... ok [INFO] [stdout] test distinct::test::push ... ok [INFO] [stdout] test top::test::abc ... ok [INFO] [stdout] test count_min::tests::test_increment_multi ... ok [INFO] [stdout] test sample::test::sample_unstable ... ok [INFO] [stdout] test sample::test::sample_without_replacement ... ok [INFO] [stdout] test top::test::top_hll ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests amadeus_streaming [INFO] [stdout] test result: ok. 11 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 28.20s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "9d4fd92bfcf5164897918eb0ee254d447c6714dc3b33c7c1c17f541ac473676f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4fd92bfcf5164897918eb0ee254d447c6714dc3b33c7c1c17f541ac473676f", kill_on_drop: false }` [INFO] [stdout] 9d4fd92bfcf5164897918eb0ee254d447c6714dc3b33c7c1c17f541ac473676f