[INFO] cloning repository https://github.com/EthanLuisMcDonough/json-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EthanLuisMcDonough/json-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanLuisMcDonough%2Fjson-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanLuisMcDonough%2Fjson-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ebc8dcf82b623fe5fc2a1fcf5f6aa7c6ad6af6e [INFO] checking EthanLuisMcDonough/json-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthanLuisMcDonough%2Fjson-rs" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EthanLuisMcDonough/json-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EthanLuisMcDonough/json-rs [INFO] finished tweaking git repo https://github.com/EthanLuisMcDonough/json-rs [INFO] tweaked toml for git repo https://github.com/EthanLuisMcDonough/json-rs written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/EthanLuisMcDonough/json-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99af2574a15d00883e2db6367b8494c20cda9efb8e25e198aabec14106e49be6 [INFO] running `Command { std: "docker" "start" "-a" "99af2574a15d00883e2db6367b8494c20cda9efb8e25e198aabec14106e49be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99af2574a15d00883e2db6367b8494c20cda9efb8e25e198aabec14106e49be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99af2574a15d00883e2db6367b8494c20cda9efb8e25e198aabec14106e49be6", kill_on_drop: false }` [INFO] [stdout] 99af2574a15d00883e2db6367b8494c20cda9efb8e25e198aabec14106e49be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9706997426f5c3e66a8eab43d90f1c5ecdaf9ff4e26685448ed4757b64c82a44 [INFO] running `Command { std: "docker" "start" "-a" "9706997426f5c3e66a8eab43d90f1c5ecdaf9ff4e26685448ed4757b64c82a44", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking json-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/stack/pending.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | use std::{char::from_u32, mem::drop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/stack/object.rs:280:74 [INFO] [stdout] | [INFO] [stdout] 280 | map.insert("0000e".to_string(), JsonValue::Null);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/stack/object.rs:301:78 [INFO] [stdout] | [INFO] [stdout] 301 | ... map.insert("0000e".to_string(), JsonValue::Null);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/stack/pending.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | use std::{char::from_u32, mem::drop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | ObjArr(Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | ObjArr(Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | Simple(Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | Simple(Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | impl From> for PendingItem { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | impl From> for PendingItem { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | fn from(stack: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | fn from(stack: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn SimpleStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | impl From> for PendingItem { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | impl From> for PendingItem { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn from(stack: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stack/mod.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | fn from(stack: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn ObjArrStack` [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/lib.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | '\x00'...'\x1F' => unicode_escape(c).into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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/lib.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | '\x00'...'\x1F' => unicode_escape(c).into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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/lib.rs:269:26 [INFO] [stdout] | [INFO] [stdout] 269 | '-' | '0'...'9' => { [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/lib.rs:269:26 [INFO] [stdout] | [INFO] [stdout] 269 | '-' | '0'...'9' => { [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut last = processing.take(); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut last = processing.take(); [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stack/object.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | let mut stack = ObjectStack { inner }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "9706997426f5c3e66a8eab43d90f1c5ecdaf9ff4e26685448ed4757b64c82a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9706997426f5c3e66a8eab43d90f1c5ecdaf9ff4e26685448ed4757b64c82a44", kill_on_drop: false }` [INFO] [stdout] 9706997426f5c3e66a8eab43d90f1c5ecdaf9ff4e26685448ed4757b64c82a44