[INFO] fetching crate json-api 0.4.1... [INFO] checking json-api-0.4.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate json-api 0.4.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate json-api 0.4.1 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 json-api 0.4.1 [INFO] finished tweaking crates.io crate json-api 0.4.1 [INFO] tweaked toml for crates.io crate json-api 0.4.1 written to /workspace/builds/worker-4-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 41 packages [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding data-encoding v1.2.0 (latest: v2.5.0) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding error-chain v0.11.0 (latest: v0.12.4) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding itoa v0.3.4 (latest: v1.0.11) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding ordermap v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding serde_qs v0.3.0 (latest: v0.12.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [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 data-encoding v1.2.0 [INFO] [stderr] Downloaded serde_qs v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8e0630fcdc350860f8441e7fd55d7f0d006641ed41999967847de6bdec0c26c5 [INFO] running `Command { std: "docker" "start" "-a" "8e0630fcdc350860f8441e7fd55d7f0d006641ed41999967847de6bdec0c26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e0630fcdc350860f8441e7fd55d7f0d006641ed41999967847de6bdec0c26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0630fcdc350860f8441e7fd55d7f0d006641ed41999967847de6bdec0c26c5", kill_on_drop: false }` [INFO] [stdout] 8e0630fcdc350860f8441e7fd55d7f0d006641ed41999967847de6bdec0c26c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7b0b641bedc272649cca5954fec0bd24de71cda106acab205983f1a666f2e577 [INFO] running `Command { std: "docker" "start" "-a" "7b0b641bedc272649cca5954fec0bd24de71cda106acab205983f1a666f2e577", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking data-encoding v1.2.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking serde_qs v0.3.0 [INFO] [stderr] Checking json-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/doc/convert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `Eq` is imported redundantly [INFO] [stdout] --> src/doc/ident.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/doc/convert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/ident.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/doc/ident.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/doc/link.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/ident.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/link.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/doc/object.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/doc/link.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/object.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/link.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/doc/object.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/doc/object.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Eq, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/doc/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn flatten(self, &Set) -> Value; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Set` [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 `serde_qs` is imported redundantly [INFO] [stdout] --> src/query/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_qs; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate serde_qs; [INFO] [stdout] | ---------------------- the item `serde_qs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/value/convert.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, Value as JsonValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ordermap` is imported redundantly [INFO] [stdout] --> src/value/collections/map.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use ordermap::{self, OrderMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ordermap; [INFO] [stdout] | ---------------------- the item `ordermap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | '\u{0000}'...'\u{001f}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | '\u{0021}'...'\u{0029}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | '\u{002a}'...'\u{002c}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | '\u{003a}'...'\u{003f}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | '\u{005b}'...'\u{005e}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | '\u{007b}'...'\u{007f}' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:121:65 [INFO] [stdout] | [INFO] [stdout] 121 | Some(&'-') | Some(&'_') | Some(&' ') | Some(&'A'...'Z') => { [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('A'..='Z')` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | 'A'...'Z' if dest.ends_with('-') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/value/fields/path.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/doc/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn flatten(self, &Set) -> Value; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Set` [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 `serde_qs` is imported redundantly [INFO] [stdout] --> src/query/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_qs; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate serde_qs; [INFO] [stdout] | ---------------------- the item `serde_qs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/value/convert.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, Value as JsonValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ordermap` is imported redundantly [INFO] [stdout] --> src/value/collections/map.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use ordermap::{self, OrderMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ordermap; [INFO] [stdout] | ---------------------- the item `ordermap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | '\u{0000}'...'\u{001f}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | '\u{0021}'...'\u{0029}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | '\u{002a}'...'\u{002c}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | '\u{003a}'...'\u{003f}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | '\u{005b}'...'\u{005e}' | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | '\u{007b}'...'\u{007f}' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:121:65 [INFO] [stdout] | [INFO] [stdout] 121 | Some(&'-') | Some(&'_') | Some(&' ') | Some(&'A'...'Z') => { [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('A'..='Z')` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | 'A'...'Z' if dest.ends_with('-') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/value/fields/key.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: the item `Extend` is imported redundantly [INFO] [stdout] --> src/value/fields/path.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | foreign_links { [INFO] [stdout] 12 | | InvalidStatusCode(InvalidStatusCodeError); [INFO] [stdout] 13 | | InvalidUri(InvalidUriError); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | foreign_links { [INFO] [stdout] 12 | | InvalidStatusCode(InvalidStatusCodeError); [INFO] [stdout] 13 | | InvalidUri(InvalidUriError); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | foreign_links { [INFO] [stdout] 12 | | InvalidStatusCode(InvalidStatusCodeError); [INFO] [stdout] 13 | | InvalidUri(InvalidUriError); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain!{ [INFO] [stdout] 11 | | foreign_links { [INFO] [stdout] 12 | | InvalidStatusCode(InvalidStatusCodeError); [INFO] [stdout] 13 | | InvalidUri(InvalidUriError); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.79s [INFO] running `Command { std: "docker" "inspect" "7b0b641bedc272649cca5954fec0bd24de71cda106acab205983f1a666f2e577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0b641bedc272649cca5954fec0bd24de71cda106acab205983f1a666f2e577", kill_on_drop: false }` [INFO] [stdout] 7b0b641bedc272649cca5954fec0bd24de71cda106acab205983f1a666f2e577