[INFO] fetching crate rson_rs 0.2.1... [INFO] checking rson_rs-0.2.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rson_rs 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rson_rs 0.2.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rson_rs 0.2.1 [INFO] finished tweaking crates.io crate rson_rs 0.2.1 [INFO] tweaked toml for crates.io crate rson_rs 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4076789d038b9f3122b283c7d8ce42e5368bd7b2847e83ccf00aa758255d3eb [INFO] running `Command { std: "docker" "start" "-a" "b4076789d038b9f3122b283c7d8ce42e5368bd7b2847e83ccf00aa758255d3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4076789d038b9f3122b283c7d8ce42e5368bd7b2847e83ccf00aa758255d3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4076789d038b9f3122b283c7d8ce42e5368bd7b2847e83ccf00aa758255d3eb", kill_on_drop: false }` [INFO] [stdout] b4076789d038b9f3122b283c7d8ce42e5368bd7b2847e83ccf00aa758255d3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7828f66b9c69db286e68f951621b5450f9667594f00fde59aa1f860b4c1174f [INFO] running `Command { std: "docker" "start" "-a" "a7828f66b9c69db286e68f951621b5450f9667594f00fde59aa1f860b4c1174f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rson_rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de/mod.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | b'0' ... b'9' | b'+' | b'-' | b'.' => self.deserialize_f64(visitor), [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/parse.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | c @ b'0' ... b'9' => n * 16_u16 + ((c as u16) - (b'0' as u16)), [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/parse.rs:356:28 [INFO] [stdout] | [INFO] [stdout] 356 | 0xDC00 ... 0xDFFF => { [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/parse.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | n1 @ 0xD800 ... 0xDBFF => { [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: unnecessary parentheses around function argument [INFO] [stdout] --> src/de/tests.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(Ok(([2, 3, 4i32].to_vec())), from_str("[2,3,4,]")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - assert_eq!(Ok(([2, 3, 4i32].to_vec())), from_str("[2,3,4,]")); [INFO] [stdout] 76 + assert_eq!(Ok([2, 3, 4i32].to_vec()), from_str("[2,3,4,]")); [INFO] [stdout] | [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/de/error.rs:64:68 [INFO] [stdout] | [INFO] [stdout] 64 | Error::Parser(_, pos) => write!(f, "{}: {}", pos, self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/de/error.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | ParseError::Utf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/de/error.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Error::IoError(e.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de/mod.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | b'0' ... b'9' | b'+' | b'-' | b'.' => self.deserialize_f64(visitor), [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/parse.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | c @ b'0' ... b'9' => n * 16_u16 + ((c as u16) - (b'0' as u16)), [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/parse.rs:356:28 [INFO] [stdout] | [INFO] [stdout] 356 | 0xDC00 ... 0xDFFF => { [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/parse.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | n1 @ 0xD800 ... 0xDBFF => { [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/de/error.rs:64:68 [INFO] [stdout] | [INFO] [stdout] 64 | Error::Parser(_, pos) => write!(f, "{}: {}", pos, self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/de/error.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | ParseError::Utf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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/de/error.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Error::IoError(e.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `boolean`, `float`, `map`, `nested`, and `tuple` are never read [INFO] [stdout] --> examples/decode.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Config [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | { [INFO] [stdout] 12 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | float: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | nested: Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | tuple: (u32, u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> examples/decode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Nested [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | { [INFO] [stdout] 22 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 23 | b: char, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Nested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `boolean`, `float`, `map`, `nested`, and `tuple` are never read [INFO] [stdout] --> examples/decode_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Config [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | { [INFO] [stdout] 13 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | float: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | nested: Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | tuple: (u32, u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> examples/decode_file.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Nested [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 22 | { [INFO] [stdout] 23 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 24 | b: char, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Nested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "a7828f66b9c69db286e68f951621b5450f9667594f00fde59aa1f860b4c1174f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7828f66b9c69db286e68f951621b5450f9667594f00fde59aa1f860b4c1174f", kill_on_drop: false }` [INFO] [stdout] a7828f66b9c69db286e68f951621b5450f9667594f00fde59aa1f860b4c1174f