[INFO] fetching crate rson_rs 0.2.1... [INFO] checking rson_rs-0.2.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rson_rs 0.2.1 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rson_rs 0.2.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6ba0e481102daf4a909ed0d6f07c3c3ebb63c2ffe840a3bfb931d3a0c97e2c9 [INFO] running `Command { std: "docker" "start" "-a" "b6ba0e481102daf4a909ed0d6f07c3c3ebb63c2ffe840a3bfb931d3a0c97e2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6ba0e481102daf4a909ed0d6f07c3c3ebb63c2ffe840a3bfb931d3a0c97e2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ba0e481102daf4a909ed0d6f07c3c3ebb63c2ffe840a3bfb931d3a0c97e2c9", kill_on_drop: false }` [INFO] [stdout] b6ba0e481102daf4a909ed0d6f07c3c3ebb63c2ffe840a3bfb931d3a0c97e2c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c047d236810da10df306ac0e10597c9d2eb96943e3dbc1f3da92ea90bf958a42 [INFO] running `Command { std: "docker" "start" "-a" "c047d236810da10df306ac0e10597c9d2eb96943e3dbc1f3da92ea90bf958a42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/de/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn remainder(&self) -> Cow [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn remainder(&self) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn string(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn string(&mut self) -> Result> [INFO] [stdout] | ++++ [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: `...` 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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/de/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn remainder(&self) -> Cow [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn remainder(&self) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn string(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn string(&mut self) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s [INFO] running `Command { std: "docker" "inspect" "c047d236810da10df306ac0e10597c9d2eb96943e3dbc1f3da92ea90bf958a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c047d236810da10df306ac0e10597c9d2eb96943e3dbc1f3da92ea90bf958a42", kill_on_drop: false }` [INFO] [stdout] c047d236810da10df306ac0e10597c9d2eb96943e3dbc1f3da92ea90bf958a42