[INFO] fetching crate ai_kit 0.1.0... [INFO] checking ai_kit-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate ai_kit 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ai_kit 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ai_kit 0.1.0 [INFO] finished tweaking crates.io crate ai_kit 0.1.0 [INFO] tweaked toml for crates.io crate ai_kit 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.5.0) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding error-chain v0.10.0 (latest: v0.12.4) [INFO] [stderr] Adding itertools v0.5.10 (latest: v0.12.1) [INFO] [stderr] Adding itoa v0.3.4 (latest: v1.0.11) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.18) [INFO] [stderr] Adding pulldown-cmark v0.0.15 (latest: v0.10.2) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding same-file v0.1.3 (latest: v1.0.6) [INFO] [stderr] Adding serde v0.9.15 (latest: v1.0.197) [INFO] [stderr] Adding serde_derive v0.9.15 (latest: v1.0.197) [INFO] [stderr] Adding serde_json v0.9.10 (latest: v1.0.115) [INFO] [stderr] Adding skeptic v0.11.0 (latest: v0.13.7) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.58) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.12) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.4) [INFO] [stderr] Adding uuid v0.4.0 (latest: v1.8.0) [INFO] [stderr] Adding walkdir v1.0.7 (latest: v2.5.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded skeptic v0.11.0 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded uuid v0.4.0 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded serde_json v0.9.10 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded itertools v0.5.10 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46d4b7c57ae2ae61a5edffc8fc23643d6b3d374487c4d45a541ded1b4464b091 [INFO] running `Command { std: "docker" "start" "-a" "46d4b7c57ae2ae61a5edffc8fc23643d6b3d374487c4d45a541ded1b4464b091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d4b7c57ae2ae61a5edffc8fc23643d6b3d374487c4d45a541ded1b4464b091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d4b7c57ae2ae61a5edffc8fc23643d6b3d374487c4d45a541ded1b4464b091", kill_on_drop: false }` [INFO] [stdout] 46d4b7c57ae2ae61a5edffc8fc23643d6b3d374487c4d45a541ded1b4464b091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c73e3aeb1f3ffb6804ac95ae2069439f2bb2a69067a2b0423948c600629e1a8 [INFO] running `Command { std: "docker" "start" "-a" "2c73e3aeb1f3ffb6804ac95ae2069439f2bb2a69067a2b0423948c600629e1a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling pulldown-cmark v0.0.15 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling skeptic v0.11.0 [INFO] [stderr] Compiling ai_kit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/constraints/mod.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn float(f64) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{Extend, FromIterator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(write!(f, "Equivalences: {}", self.equivalences_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "{} => {}, ", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | fn apply_bindings(&self, &Bindings) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | fn rename_variables(&self, &HashMap) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HashMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | fn snowflake(&self, String) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/datum/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/datum/mod.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] 47 + Datum::Int(ref i_value) => Some(i_value.clone() as f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/pedigree/mod.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] 83 + Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences(generation_idx + 1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | /// Return unify derived from this one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | self.pedigree.get_descendents(id) [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Return all unify derived in and after the specified generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | let mut subsequent_inferences = Vec::new(); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pedigree/mod.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] 250 + pub elements: Vec)>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/planner/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut dyn Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &dyn Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut dyn Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &dyn Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/infer/mod.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &dyn Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/planner/mod.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | ... criteria: &Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | criteria: &dyn Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:383:50 [INFO] [stdout] | [INFO] [stdout] 383 | ... root_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 383 | root_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:384:50 [INFO] [stdout] | [INFO] [stdout] 384 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:385:55 [INFO] [stdout] | [INFO] [stdout] 385 | ... relation_renderder: &Fn(String, String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | relation_renderder: &dyn Fn(String, String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:399:55 [INFO] [stdout] | [INFO] [stdout] 399 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:400:60 [INFO] [stdout] | [INFO] [stdout] 400 | ... relation_renderder: &Fn(String, String) -> String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 400 | relation_renderder: &dyn Fn(String, String) -> String) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:423:81 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &Fn(String) -> String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &dyn Fn(String) -> String) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/numerical.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | ... |x: &T, y: &T, op: &Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | |x: &T, y: &T, op: &dyn Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))))) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/constraints/mod.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn float(f64) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{Extend, FromIterator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(write!(f, "Equivalences: {}", self.equivalences_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "{} => {}, ", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | fn apply_bindings(&self, &Bindings) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | fn rename_variables(&self, &HashMap) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HashMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | fn snowflake(&self, String) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/datum/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/datum/mod.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] 47 + Datum::Int(ref i_value) => Some(i_value.clone() as f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/datum/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/pedigree/mod.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] 83 + Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences(generation_idx + 1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | /// Return unify derived from this one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | self.pedigree.get_descendents(id) [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Return all unify derived in and after the specified generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | let mut subsequent_inferences = Vec::new(); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pedigree/mod.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] 250 + pub elements: Vec)>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/planner/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bindings` is imported redundantly [INFO] [stdout] --> src/planner/tests.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 609 | use super::*; [INFO] [stdout] | -------- the item `Bindings` is already imported here [INFO] [stdout] 610 | use core::Bindings; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bindings` is imported redundantly [INFO] [stdout] --> src/planner/tests.rs:801:9 [INFO] [stdout] | [INFO] [stdout] 800 | use super::*; [INFO] [stdout] | -------- the item `Bindings` is already imported here [INFO] [stdout] 801 | use core::Bindings; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut dyn Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &dyn Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut dyn Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &dyn Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/infer/mod.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &dyn Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/planner/mod.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | ... criteria: &Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | criteria: &dyn Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:383:50 [INFO] [stdout] | [INFO] [stdout] 383 | ... root_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 383 | root_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:384:50 [INFO] [stdout] | [INFO] [stdout] 384 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:385:55 [INFO] [stdout] | [INFO] [stdout] 385 | ... relation_renderder: &Fn(String, String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | relation_renderder: &dyn Fn(String, String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:399:55 [INFO] [stdout] | [INFO] [stdout] 399 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:400:60 [INFO] [stdout] | [INFO] [stdout] 400 | ... relation_renderder: &Fn(String, String) -> String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 400 | relation_renderder: &dyn Fn(String, String) -> String) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:423:81 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &Fn(String) -> String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &dyn Fn(String) -> String) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/numerical.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | ... |x: &T, y: &T, op: &Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | |x: &T, y: &T, op: &dyn Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))))) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pedigree/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut inner_descendents = self.descendents.get_mut(&source_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Constraint` instead of cloning the inner type [INFO] [stdout] --> src/constraints/mod.rs:138:58 [INFO] [stdout] | [INFO] [stdout] 138 | remaining_constraints.push(constraint.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pedigree/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut inner_descendents = self.descendents.get_mut(&source_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&constraints::Constraint` instead of cloning the inner type [INFO] [stdout] --> src/constraints/mod.rs:138:58 [INFO] [stdout] | [INFO] [stdout] 138 | remaining_constraints.push(constraint.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.64s [INFO] running `Command { std: "docker" "inspect" "2c73e3aeb1f3ffb6804ac95ae2069439f2bb2a69067a2b0423948c600629e1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c73e3aeb1f3ffb6804ac95ae2069439f2bb2a69067a2b0423948c600629e1a8", kill_on_drop: false }` [INFO] [stdout] 2c73e3aeb1f3ffb6804ac95ae2069439f2bb2a69067a2b0423948c600629e1a8 [INFO] checking ai_kit-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate ai_kit 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ai_kit 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ai_kit 0.1.0 [INFO] finished tweaking crates.io crate ai_kit 0.1.0 [INFO] tweaked toml for crates.io crate ai_kit 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f3b4b671a43ddadfb9e3158dc663b480bed38c30d2e93bdb652635653af97b6 [INFO] running `Command { std: "docker" "start" "-a" "0f3b4b671a43ddadfb9e3158dc663b480bed38c30d2e93bdb652635653af97b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f3b4b671a43ddadfb9e3158dc663b480bed38c30d2e93bdb652635653af97b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3b4b671a43ddadfb9e3158dc663b480bed38c30d2e93bdb652635653af97b6", kill_on_drop: false }` [INFO] [stdout] 0f3b4b671a43ddadfb9e3158dc663b480bed38c30d2e93bdb652635653af97b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3802e927d2e413c8e207c5c949ba2f3f3684bee0118e606365e6e3cedf347fd2 [INFO] running `Command { std: "docker" "start" "-a" "3802e927d2e413c8e207c5c949ba2f3f3684bee0118e606365e6e3cedf347fd2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling pulldown-cmark v0.0.15 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling skeptic v0.11.0 [INFO] [stderr] Compiling ai_kit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/constraints/mod.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn float(f64) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{Extend, FromIterator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(write!(f, "Equivalences: {}", self.equivalences_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "{} => {}, ", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | fn apply_bindings(&self, &Bindings) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | fn rename_variables(&self, &HashMap) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HashMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | fn snowflake(&self, String) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/datum/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/datum/mod.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] 47 + Datum::Int(ref i_value) => Some(i_value.clone() as f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/pedigree/mod.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] 83 + Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences(generation_idx + 1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | /// Return unify derived from this one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | self.pedigree.get_descendents(id) [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Return all unify derived in and after the specified generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | let mut subsequent_inferences = Vec::new(); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pedigree/mod.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] 250 + pub elements: Vec)>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/planner/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut dyn Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &dyn Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut dyn Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &dyn Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/infer/mod.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &dyn Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/planner/mod.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | ... criteria: &Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | criteria: &dyn Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:383:50 [INFO] [stdout] | [INFO] [stdout] 383 | ... root_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 383 | root_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:384:50 [INFO] [stdout] | [INFO] [stdout] 384 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:385:55 [INFO] [stdout] | [INFO] [stdout] 385 | ... relation_renderder: &Fn(String, String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | relation_renderder: &dyn Fn(String, String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:399:55 [INFO] [stdout] | [INFO] [stdout] 399 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:400:60 [INFO] [stdout] | [INFO] [stdout] 400 | ... relation_renderder: &Fn(String, String) -> String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 400 | relation_renderder: &dyn Fn(String, String) -> String) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:423:81 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &Fn(String) -> String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &dyn Fn(String) -> String) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/numerical.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | ... |x: &T, y: &T, op: &Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | |x: &T, y: &T, op: &dyn Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))))) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/numerical.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/constraints/symbolic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `std` is already imported here [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/constraints/mod.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn float(f64) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/core/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{Extend, FromIterator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Extend` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(write!(f, "Equivalences: {}", self.equivalences_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "{} => {}, ", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn unify(&self, &Self, &Bindings) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | fn apply_bindings(&self, &Bindings) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Bindings` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | fn rename_variables(&self, &HashMap) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HashMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | fn snowflake(&self, String) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/datum/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/datum/mod.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Datum::Int(ref i_value) => Some((i_value.clone() as f64)), [INFO] [stdout] 47 + Datum::Int(ref i_value) => Some(i_value.clone() as f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/datum/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/infer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/pedigree/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/pedigree/mod.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences((generation_idx + 1)))) [INFO] [stdout] 83 + Some((construct_id_origin_tuples_for_generation(generation), self.inf_graph.subsequent_inferences(generation_idx + 1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | /// Return unify derived from this one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | self.pedigree.get_descendents(id) [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pedigree/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Return all unify derived in and after the specified generation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | let mut subsequent_inferences = Vec::new(); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pedigree/mod.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - pub elements: Vec<(Vec<(String, Option)>)>, [INFO] [stdout] 250 + pub elements: Vec)>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/planner/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bindings` is imported redundantly [INFO] [stdout] --> src/planner/tests.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 609 | use super::*; [INFO] [stdout] | -------- the item `Bindings` is already imported here [INFO] [stdout] 610 | use core::Bindings; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bindings` is imported redundantly [INFO] [stdout] --> src/planner/tests.rs:801:9 [INFO] [stdout] | [INFO] [stdout] 800 | use super::*; [INFO] [stdout] | -------- the item `Bindings` is already imported here [INFO] [stdout] 801 | use core::Bindings; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/rule/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut dyn Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &Fn(E) -> Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn map_while_some(iter: &mut Iterator, f: &dyn Fn(E) -> Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut dyn Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &Fn(A, E) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fold_while_some(init_acc: A, iter: &mut Iterator, f: &dyn Fn(A, E) -> Option) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn and_then(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/mod.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | pub fn if_partial(&self, f: &dyn Fn(&Bindings) -> Self) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/infer/mod.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | pub fn chain_until(&self, max_iterations: usize, satisfied: &dyn Fn(&U) -> bool) -> (Option<(U, String)>, Self) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/planner/mod.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | ... criteria: &Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | criteria: &dyn Fn(&Vec, &Bindings) -> Option) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:383:50 [INFO] [stdout] | [INFO] [stdout] 383 | ... root_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 383 | root_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:384:50 [INFO] [stdout] | [INFO] [stdout] 384 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:385:55 [INFO] [stdout] | [INFO] [stdout] 385 | ... relation_renderder: &Fn(String, String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | relation_renderder: &dyn Fn(String, String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:399:55 [INFO] [stdout] | [INFO] [stdout] 399 | ... node_renderer: &Fn(String) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | node_renderer: &dyn Fn(String) -> String, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:400:60 [INFO] [stdout] | [INFO] [stdout] 400 | ... relation_renderder: &Fn(String, String) -> String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 400 | relation_renderder: &dyn Fn(String, String) -> String) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pedigree/mod.rs:423:81 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &Fn(String) -> String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 423 | pub fn render_inference_tree_pedigree(&self, d_id: &String, node_renderer: &dyn Fn(String) -> String) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pedigree/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut inner_descendents = self.descendents.get_mut(&source_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints/numerical.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | ... |x: &T, y: &T, op: &Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | |x: &T, y: &T, op: &dyn Fn(f64, f64) -> f64| -> Option { x.to_float().and_then(|x| y.to_float().and_then(|y| Some(T::float(op(x, y))))) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Constraint` instead of cloning the inner type [INFO] [stdout] --> src/constraints/mod.rs:138:58 [INFO] [stdout] | [INFO] [stdout] 138 | remaining_constraints.push(constraint.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pedigree/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut inner_descendents = self.descendents.get_mut(&source_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&constraints::Constraint` instead of cloning the inner type [INFO] [stdout] --> src/constraints/mod.rs:138:58 [INFO] [stdout] | [INFO] [stdout] 138 | remaining_constraints.push(constraint.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.15s [INFO] running `Command { std: "docker" "inspect" "3802e927d2e413c8e207c5c949ba2f3f3684bee0118e606365e6e3cedf347fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3802e927d2e413c8e207c5c949ba2f3f3684bee0118e606365e6e3cedf347fd2", kill_on_drop: false }` [INFO] [stdout] 3802e927d2e413c8e207c5c949ba2f3f3684bee0118e606365e6e3cedf347fd2