[INFO] fetching crate strason 0.4.0... [INFO] building strason-0.4.0 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate strason 0.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate strason 0.4.0 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate strason 0.4.0 [INFO] finished tweaking crates.io crate strason 0.4.0 [INFO] tweaked toml for crates.io crate strason 0.4.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f43f1b089c30a88840d97c898311a26be9912826b438dbbd795b3fdcb7bff8dc [INFO] running `Command { std: "docker" "start" "-a" "f43f1b089c30a88840d97c898311a26be9912826b438dbbd795b3fdcb7bff8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f43f1b089c30a88840d97c898311a26be9912826b438dbbd795b3fdcb7bff8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f43f1b089c30a88840d97c898311a26be9912826b438dbbd795b3fdcb7bff8dc", kill_on_drop: false }` [INFO] [stdout] f43f1b089c30a88840d97c898311a26be9912826b438dbbd795b3fdcb7bff8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbe715597ea98f351e8d2a19b329eca1e1738417f4e7cac0f9023fdcc9aafac [INFO] running `Command { std: "docker" "start" "-a" "edbe715597ea98f351e8d2a19b329eca1e1738417f4e7cac0f9023fdcc9aafac", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling strason v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | b'0' ... b'9' => { [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/parser.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | b'-' | b'0' ... b'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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(w.write(b"\"")); [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/serializer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(w.write(b"\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | '\x07' => { try!(w.write(b"\\b")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | '\x0c' => { try!(w.write(b"\\f")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | '\n' => { try!(w.write(b"\\n")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | '\r' => { try!(w.write(b"\\r")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | '\t' => { try!(w.write(b"\\t")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | '\\' => { try!(w.write(b"\\\\")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | '"' => { try!(w.write(b"\\\"")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/serializer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(w, "\\u{:02x}{:02x}", word >> 8 as u8, word as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | JsonInner::Null => { try!(w.write(b"null")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | JsonInner::Bool(true) => { try!(w.write(b"true")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | JsonInner::Bool(false) => { try!(w.write(b"false")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | JsonInner::Number(ref s) => { try!(w.write(s.as_bytes())); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | JsonInner::String(ref s) => { try!(serialize_string(&s[..], &mut *w)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | try!(w.write(b"[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(w.write(b"]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | try!(serialize(elem, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(w.write(b"{")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | try!(w.write(b"}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | try!(serialize_string(key, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(w.write(b": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(serialize(val, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:93:76 [INFO] [stdout] | [INFO] [stdout] 93 | _ => write!(f, "{}:{}: {}", self.line, self.col, error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | ErrorType::Unicode(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | ErrorType::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | ErrorInner::Parser(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "edbe715597ea98f351e8d2a19b329eca1e1738417f4e7cac0f9023fdcc9aafac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbe715597ea98f351e8d2a19b329eca1e1738417f4e7cac0f9023fdcc9aafac", kill_on_drop: false }` [INFO] [stdout] edbe715597ea98f351e8d2a19b329eca1e1738417f4e7cac0f9023fdcc9aafac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8104be8dc9a9d6f48309d477028d7fb23102cdbcd8ca2d8bca92b67b6c4469 [INFO] running `Command { std: "docker" "start" "-a" "de8104be8dc9a9d6f48309d477028d7fb23102cdbcd8ca2d8bca92b67b6c4469", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | b'0' ... b'9' => { [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/parser.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | b'-' | b'0' ... b'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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(w.write(b"\"")); [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/serializer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(w.write(b"\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | '\x07' => { try!(w.write(b"\\b")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | '\x0c' => { try!(w.write(b"\\f")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | '\n' => { try!(w.write(b"\\n")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | '\r' => { try!(w.write(b"\\r")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | '\t' => { try!(w.write(b"\\t")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | '\\' => { try!(w.write(b"\\\\")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | '"' => { try!(w.write(b"\\\"")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/serializer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(w, "\\u{:02x}{:02x}", word >> 8 as u8, word as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | JsonInner::Null => { try!(w.write(b"null")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | JsonInner::Bool(true) => { try!(w.write(b"true")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | JsonInner::Bool(false) => { try!(w.write(b"false")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | JsonInner::Number(ref s) => { try!(w.write(s.as_bytes())); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | JsonInner::String(ref s) => { try!(serialize_string(&s[..], &mut *w)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | try!(w.write(b"[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(w.write(b"]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | try!(serialize(elem, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(w.write(b"{")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | try!(w.write(b"}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | try!(serialize_string(key, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(w.write(b": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(serialize(val, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:93:76 [INFO] [stdout] | [INFO] [stdout] 93 | _ => write!(f, "{}:{}: {}", self.line, self.col, error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | ErrorType::Unicode(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | ErrorType::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | ErrorInner::Parser(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling strason v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | b'0' ... b'9' => { [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/parser.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | b'-' | b'0' ... b'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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | try!(w.write(b"\"")); [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/serializer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(w.write(b"\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | '\x07' => { try!(w.write(b"\\b")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | '\x0c' => { try!(w.write(b"\\f")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | '\n' => { try!(w.write(b"\\n")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | '\r' => { try!(w.write(b"\\r")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | '\t' => { try!(w.write(b"\\t")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | '\\' => { try!(w.write(b"\\\\")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | '"' => { try!(w.write(b"\\\"")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/serializer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | '\x20'...'\x7e' => { try!(w.write(&[ch as u8])); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(w, "\\u{:02x}{:02x}", word >> 8 as u8, word as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | JsonInner::Null => { try!(w.write(b"null")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | JsonInner::Bool(true) => { try!(w.write(b"true")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | JsonInner::Bool(false) => { try!(w.write(b"false")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | JsonInner::Number(ref s) => { try!(w.write(s.as_bytes())); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | JsonInner::String(ref s) => { try!(serialize_string(&s[..], &mut *w)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | try!(w.write(b"[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(w.write(b"]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | try!(serialize(elem, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(w.write(b"{")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | try!(w.write(b"}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | try!(serialize_string(key, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(w.write(b": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(serialize(val, &mut *w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serializer.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | try!(w.write(b", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:93:76 [INFO] [stdout] | [INFO] [stdout] 93 | _ => write!(f, "{}:{}: {}", self.line, self.col, error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | ErrorType::Unicode(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | ErrorType::Io(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | ErrorInner::Parser(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sentinel.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | err.description().as_ptr() == SENTINEL_STR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 573 | assert_eq!(Json::from_str("{}").unwrap(), jobj![]); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 574 | assert_eq!(Json::from_str("{\"key\": \"val\"}").unwrap(), jobj!["key" => jstr!("val")]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 575 | assert_eq!(Json::from_str("{\"key\": false}").unwrap(), jobj!["key" => jbool!(false)]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 576 | assert_eq!(Json::from_str("{\"key\": []}").unwrap(), jobj!["key" => jarr![]]); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 578 | assert_eq!(Json::from_str("{\"key\": 1234}").unwrap(), jobj!["key" => jnum!("1234")]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | ... &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 580 | ... assert_eq!(Json::from_str("{\"key1\": \"val\", \"key2\": \"val\"}").unwrap(), jobj!["key1" => jstr!("val"), "key2" => jstr!("val")]); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | ^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 581 | assert_eq!(Json::from_str("{\"key\": \"val\", \"key\": \"val2\"}").unwrap(), jobj!["key" => jstr!("val"), "key" => jstr!("val2")]); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `jobj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = &mut vec; /* dummy "use as mut" to avoid errors in case of no inserts */ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "de8104be8dc9a9d6f48309d477028d7fb23102cdbcd8ca2d8bca92b67b6c4469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8104be8dc9a9d6f48309d477028d7fb23102cdbcd8ca2d8bca92b67b6c4469", kill_on_drop: false }` [INFO] [stdout] de8104be8dc9a9d6f48309d477028d7fb23102cdbcd8ca2d8bca92b67b6c4469