[INFO] fetching crate json-api 0.4.1... [INFO] checking json-api-0.4.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate json-api 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate json-api 0.4.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.7.2) [INFO] [stderr] Adding data-encoding v1.2.0 (available: v2.6.0) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding http v0.1.21 (available: v1.1.0) [INFO] [stderr] Adding idna v0.1.5 (available: v1.0.2) [INFO] [stderr] Adding itoa v0.3.4 (available: v1.0.11) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding ordermap v0.3.5 (available: v0.5.3) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.1) [INFO] [stderr] Adding serde_qs v0.3.0 (available: v0.13.0) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00aeab012c5e8bfb85f53f9216d84401acce0f3f22e45df4b99fa05e6a29f3d9 [INFO] running `Command { std: "docker" "start" "-a" "00aeab012c5e8bfb85f53f9216d84401acce0f3f22e45df4b99fa05e6a29f3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00aeab012c5e8bfb85f53f9216d84401acce0f3f22e45df4b99fa05e6a29f3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00aeab012c5e8bfb85f53f9216d84401acce0f3f22e45df4b99fa05e6a29f3d9", kill_on_drop: false }` [INFO] [stdout] 00aeab012c5e8bfb85f53f9216d84401acce0f3f22e45df4b99fa05e6a29f3d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459d56aefbc209fc15e539eead52960dfa6bd987d0ca22a51b8315e810232327 [INFO] running `Command { std: "docker" "start" "-a" "459d56aefbc209fc15e539eead52960dfa6bd987d0ca22a51b8315e810232327", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking data-encoding v1.2.0 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking backtrace v0.3.74 [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: 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: `...` 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: 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: 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: `...` 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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.69s [INFO] running `Command { std: "docker" "inspect" "459d56aefbc209fc15e539eead52960dfa6bd987d0ca22a51b8315e810232327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459d56aefbc209fc15e539eead52960dfa6bd987d0ca22a51b8315e810232327", kill_on_drop: false }` [INFO] [stdout] 459d56aefbc209fc15e539eead52960dfa6bd987d0ca22a51b8315e810232327