[INFO] fetching crate greynet 0.11.0... [INFO] testing greynet-0.11.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate greynet 0.11.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate greynet 0.11.0 [INFO] finished tweaking crates.io crate greynet 0.11.0 [INFO] tweaked toml for crates.io crate greynet 0.11.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate greynet 0.11.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate greynet 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae1f05cdcb237bce44f365a5b2172e778eff74756e62641396c8b93729ac6513 [INFO] running `Command { std: "docker" "start" "-a" "ae1f05cdcb237bce44f365a5b2172e778eff74756e62641396c8b93729ac6513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae1f05cdcb237bce44f365a5b2172e778eff74756e62641396c8b93729ac6513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1f05cdcb237bce44f365a5b2172e778eff74756e62641396c8b93729ac6513", kill_on_drop: false }` [INFO] [stdout] ae1f05cdcb237bce44f365a5b2172e778eff74756e62641396c8b93729ac6513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4eefac6cc6c44b3b233831476930f3850495f3307ec6ba254baeaa7b5a1621 [INFO] running `Command { std: "docker" "start" "-a" "df4eefac6cc6c44b3b233831476930f3850495f3307ec6ba254baeaa7b5a1621", kill_on_drop: false }` [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling greynet v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GreynetError` [INFO] [stdout] --> src/analysis.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Score, AnyTuple, GreynetError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_hash::FxHashMap as HashMap` [INFO] [stdout] --> src/arena.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rustc_hash::FxHashMap as HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/arena.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use slotmap::{DefaultKey, Key, SlotMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/common_ops.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/factory.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{GreynetFact, Score, constraint::{ConstraintWeights, ConstraintId}, Result, GreynetError, ResourceLimits}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/factory.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId`, `NodeOperation`, `SafeTupleIndex`, and `TupleArena` [INFO] [stdout] --> src/node_operations.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use super::arena::{NodeArena, NodeData, NodeId, NodeOperation, SafeTupleIndex, TupleArena}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AnyTuple` [INFO] [stdout] --> src/node_operations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AnyTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [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 value: `detailed-stats` [INFO] [stdout] --> src/session.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/session.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::constraint::{ConstraintId, ConstraintWeights}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:545:11 [INFO] [stdout] | [INFO] [stdout] 545 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 555 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:561:11 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:625:15 [INFO] [stdout] | [INFO] [stdout] 625 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/uni_index.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/tuple.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collectors::BaseCollector` [INFO] [stdout] --> src/session.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{GreynetError, GreynetFact, ResourceLimits, Result, collectors::BaseCollector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroCopyFacts` [INFO] [stdout] --> src/session.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tuple::{AnyTuple, FactIterator, UniTuple, ZeroCopyFacts}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn constraint(mut self, id: &str, weight: f64, recipe_fn: impl Fn(ConstraintId) -> ConstraintRecipe) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cleaned` [INFO] [stdout] --> src/session.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cleaned = self.tuples.cleanup_if_memory_pressure(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impact_fn_id` [INFO] [stdout] --> src/stream_def.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let impact_fn_id = factory_rc.borrow_mut().register_zero_copy_impact_fn(zero_copy_impact_fn.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impact_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join_with_comparator_flex` is never used [INFO] [stdout] --> src/stream_def.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 509 | impl Stream { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn join_with_comparator_flex(self, other: Stream, joiner_type: JoinerType, left_key_fn: ZeroCopyKeyFn, right_key_fn:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraint_builder.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "df4eefac6cc6c44b3b233831476930f3850495f3307ec6ba254baeaa7b5a1621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4eefac6cc6c44b3b233831476930f3850495f3307ec6ba254baeaa7b5a1621", kill_on_drop: false }` [INFO] [stdout] df4eefac6cc6c44b3b233831476930f3850495f3307ec6ba254baeaa7b5a1621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6516dc0716fd54ade83b1e8b045c18bcb5a876b9e77a5a5af766ebe6eda84297 [INFO] running `Command { std: "docker" "start" "-a" "6516dc0716fd54ade83b1e8b045c18bcb5a876b9e77a5a5af766ebe6eda84297", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `GreynetError` [INFO] [stdout] --> src/analysis.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Score, AnyTuple, GreynetError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_hash::FxHashMap as HashMap` [INFO] [stdout] --> src/arena.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rustc_hash::FxHashMap as HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/arena.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use slotmap::{DefaultKey, Key, SlotMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/common_ops.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/factory.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{GreynetFact, Score, constraint::{ConstraintWeights, ConstraintId}, Result, GreynetError, ResourceLimits}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/factory.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId`, `NodeOperation`, `SafeTupleIndex`, and `TupleArena` [INFO] [stdout] --> src/node_operations.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use super::arena::{NodeArena, NodeData, NodeId, NodeOperation, SafeTupleIndex, TupleArena}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AnyTuple` [INFO] [stdout] --> src/node_operations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AnyTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [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 value: `detailed-stats` [INFO] [stdout] --> src/session.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/session.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::constraint::{ConstraintId, ConstraintWeights}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:545:11 [INFO] [stdout] | [INFO] [stdout] 545 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 555 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:561:11 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:625:15 [INFO] [stdout] | [INFO] [stdout] 625 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling greynet v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/uni_index.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/tuple.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collectors::BaseCollector` [INFO] [stdout] --> src/session.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{GreynetError, GreynetFact, ResourceLimits, Result, collectors::BaseCollector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroCopyFacts` [INFO] [stdout] --> src/session.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tuple::{AnyTuple, FactIterator, UniTuple, ZeroCopyFacts}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn constraint(mut self, id: &str, weight: f64, recipe_fn: impl Fn(ConstraintId) -> ConstraintRecipe) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cleaned` [INFO] [stdout] --> src/session.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cleaned = self.tuples.cleanup_if_memory_pressure(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impact_fn_id` [INFO] [stdout] --> src/stream_def.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let impact_fn_id = factory_rc.borrow_mut().register_zero_copy_impact_fn(zero_copy_impact_fn.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impact_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join_with_comparator_flex` is never used [INFO] [stdout] --> src/stream_def.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 509 | impl Stream { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn join_with_comparator_flex(self, other: Stream, joiner_type: JoinerType, left_key_fn: ZeroCopyKeyFn, right_key_fn:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraint_builder.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GreynetError` [INFO] [stdout] --> src/analysis.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Score, AnyTuple, GreynetError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_hash::FxHashMap as HashMap` [INFO] [stdout] --> src/arena.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rustc_hash::FxHashMap as HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/arena.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use slotmap::{DefaultKey, Key, SlotMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/common_ops.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/factory.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{GreynetFact, Score, constraint::{ConstraintWeights, ConstraintId}, Result, GreynetError, ResourceLimits}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/factory.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeId`, `NodeOperation`, `SafeTupleIndex`, and `TupleArena` [INFO] [stdout] --> src/node_operations.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use super::arena::{NodeArena, NodeData, NodeId, NodeOperation, SafeTupleIndex, TupleArena}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AnyTuple` [INFO] [stdout] --> src/node_operations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AnyTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [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 value: `detailed-stats` [INFO] [stdout] --> src/session.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintId` [INFO] [stdout] --> src/session.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::constraint::{ConstraintId, ConstraintWeights}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stdout] --> src/session.rs:545:11 [INFO] [stdout] | [INFO] [stdout] 545 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 555 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:561:11 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stdout] --> src/session.rs:625:15 [INFO] [stdout] | [INFO] [stdout] 625 | #[cfg(feature = "detailed-stats")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/uni_index.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/tuple.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collectors::BaseCollector` [INFO] [stdout] --> src/session.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{GreynetError, GreynetFact, ResourceLimits, Result, collectors::BaseCollector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZeroCopyFacts` [INFO] [stdout] --> src/session.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tuple::{AnyTuple, FactIterator, UniTuple, ZeroCopyFacts}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn constraint(mut self, id: &str, weight: f64, recipe_fn: impl Fn(ConstraintId) -> ConstraintRecipe) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/constraint_builder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cleaned` [INFO] [stdout] --> src/session.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let cleaned = self.tuples.cleanup_if_memory_pressure(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impact_fn_id` [INFO] [stdout] --> src/stream_def.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let impact_fn_id = factory_rc.borrow_mut().register_zero_copy_impact_fn(zero_copy_impact_fn.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impact_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join_with_comparator_flex` is never used [INFO] [stdout] --> src/stream_def.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 509 | impl Stream { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub(crate) fn join_with_comparator_flex(self, other: Stream, joiner_type: JoinerType, left_key_fn: ZeroCopyKeyFn, right_key_fn:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraint_builder.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "6516dc0716fd54ade83b1e8b045c18bcb5a876b9e77a5a5af766ebe6eda84297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6516dc0716fd54ade83b1e8b045c18bcb5a876b9e77a5a5af766ebe6eda84297", kill_on_drop: false }` [INFO] [stdout] 6516dc0716fd54ade83b1e8b045c18bcb5a876b9e77a5a5af766ebe6eda84297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6de7252783542d6e6739906d7c439e007b0824603c3543e7a0a65193d263c00 [INFO] running `Command { std: "docker" "start" "-a" "e6de7252783542d6e6739906d7c439e007b0824603c3543e7a0a65193d263c00", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GreynetError` [INFO] [stderr] --> src/analysis.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{Score, AnyTuple, GreynetError}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rustc_hash::FxHashMap as HashMap` [INFO] [stderr] --> src/arena.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use rustc_hash::FxHashMap as HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Key` [INFO] [stderr] --> src/arena.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | use slotmap::{DefaultKey, Key, SlotMap}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/common_ops.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/error.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ConstraintId` [INFO] [stderr] --> src/factory.rs:15:65 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::{GreynetFact, Score, constraint::{ConstraintWeights, ConstraintId}, Result, GreynetError, ResourceLimits}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::TypeId` [INFO] [stderr] --> src/factory.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::any::TypeId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NodeId`, `NodeOperation`, `SafeTupleIndex`, and `TupleArena` [INFO] [stderr] --> src/node_operations.rs:2:41 [INFO] [stderr] | [INFO] [stderr] 2 | use super::arena::{NodeArena, NodeData, NodeId, NodeOperation, SafeTupleIndex, TupleArena}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::AnyTuple` [INFO] [stderr] --> src/node_operations.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::AnyTuple; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stderr] --> src/session.rs:59:7 [INFO] [stderr] | [INFO] [stderr] 59 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [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 value: `detailed-stats` [INFO] [stderr] --> src/session.rs:71:7 [INFO] [stderr] | [INFO] [stderr] 71 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:93:11 [INFO] [stderr] | [INFO] [stderr] 93 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:95:11 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `ConstraintId` [INFO] [stderr] --> src/session.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::constraint::{ConstraintId, ConstraintWeights}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `detailed-stats` [INFO] [stderr] --> src/session.rs:545:11 [INFO] [stderr] | [INFO] [stderr] 545 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:550:11 [INFO] [stderr] | [INFO] [stderr] 550 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:555:11 [INFO] [stderr] | [INFO] [stderr] 555 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:561:11 [INFO] [stderr] | [INFO] [stderr] 561 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:126:19 [INFO] [stderr] | [INFO] [stderr] 126 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:128:19 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:165:23 [INFO] [stderr] | [INFO] [stderr] 165 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:250:15 [INFO] [stderr] | [INFO] [stderr] 250 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:257:15 [INFO] [stderr] | [INFO] [stderr] 257 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` 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: `detailed-stats` [INFO] [stderr] --> src/session.rs:625:15 [INFO] [stderr] | [INFO] [stderr] 625 | #[cfg(feature = "detailed-stats")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `detailed-stats` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/uni_index.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/tuple.rs:409:5 [INFO] [stderr] | [INFO] [stderr] 409 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `collectors::BaseCollector` [INFO] [stderr] --> src/session.rs:9:64 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::{GreynetError, GreynetFact, ResourceLimits, Result, collectors::BaseCollector}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ZeroCopyFacts` [INFO] [stderr] --> src/session.rs:8:54 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::tuple::{AnyTuple, FactIterator, UniTuple, ZeroCopyFacts}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/constraint_builder.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn constraint(mut self, id: &str, weight: f64, recipe_fn: impl Fn(ConstraintId) -> ConstraintRecipe) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/constraint_builder.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | mut self, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cleaned` [INFO] [stderr] --> src/session.rs:248:13 [INFO] [stderr] | [INFO] [stderr] 248 | let cleaned = self.tuples.cleanup_if_memory_pressure(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `impact_fn_id` [INFO] [stderr] --> src/stream_def.rs:598:13 [INFO] [stderr] | [INFO] [stderr] 598 | let impact_fn_id = factory_rc.borrow_mut().register_zero_copy_impact_fn(zero_copy_impact_fn.clone()); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impact_fn_id` [INFO] [stderr] [INFO] [stderr] warning: method `join_with_comparator_flex` is never used [INFO] [stderr] --> src/stream_def.rs:629:19 [INFO] [stderr] | [INFO] [stderr] 509 | impl Stream { [INFO] [stderr] | ---------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 629 | pub(crate) fn join_with_comparator_flex(self, other: Stream, joiner_type: JoinerType, left_key_fn: ZeroCopyKeyFn, right_key_fn:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/constraint_builder.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn add_constraint(&mut self, id: &str, weight: f64) -> ConstraintStreamBuilder<'_, S> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `greynet` (lib) generated 34 warnings (run `cargo fix --lib -p greynet` to apply 15 suggestions) [INFO] [stderr] warning: `greynet` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/greynet-85684047a365b0d5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests greynet [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 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" "e6de7252783542d6e6739906d7c439e007b0824603c3543e7a0a65193d263c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6de7252783542d6e6739906d7c439e007b0824603c3543e7a0a65193d263c00", kill_on_drop: false }` [INFO] [stdout] e6de7252783542d6e6739906d7c439e007b0824603c3543e7a0a65193d263c00