[INFO] fetching crate rust_json_parser 1.0.1... [INFO] building rust_json_parser-1.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rust_json_parser 1.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rust_json_parser 1.0.1 [INFO] finished tweaking crates.io crate rust_json_parser 1.0.1 [INFO] tweaked toml for crates.io crate rust_json_parser 1.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_json_parser 1.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49f63f7d9b02826449e1bf861d5a5dd605b7b5bee3f846b7a26ed45906fdad7d [INFO] running `Command { std: "docker" "start" "-a" "49f63f7d9b02826449e1bf861d5a5dd605b7b5bee3f846b7a26ed45906fdad7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49f63f7d9b02826449e1bf861d5a5dd605b7b5bee3f846b7a26ed45906fdad7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f63f7d9b02826449e1bf861d5a5dd605b7b5bee3f846b7a26ed45906fdad7d", kill_on_drop: false }` [INFO] [stdout] 49f63f7d9b02826449e1bf861d5a5dd605b7b5bee3f846b7a26ed45906fdad7d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29c693ead8e9c491da7e9beb0a79f8382bcf2b1a75348b2ff8083e2e1a54df56 [INFO] running `Command { std: "docker" "start" "-a" "29c693ead8e9c491da7e9beb0a79f8382bcf2b1a75348b2ff8083e2e1a54df56", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rust_json_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{from_str, to_string, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_json_string(json_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: serde_core::ser::Serialize` will fail [INFO] [stdout] --> src/lib.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let result = to_string(&parsed_json).map_err(|e| format!("Failed to serialize JSON: {}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 6 | let parsed_json: () = from_str(json_str).map_err(|e| format!("Failed to parse JSON: {}", e))?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rust_json_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "29c693ead8e9c491da7e9beb0a79f8382bcf2b1a75348b2ff8083e2e1a54df56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c693ead8e9c491da7e9beb0a79f8382bcf2b1a75348b2ff8083e2e1a54df56", kill_on_drop: false }` [INFO] [stdout] 29c693ead8e9c491da7e9beb0a79f8382bcf2b1a75348b2ff8083e2e1a54df56 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4cee05aba0dcb1f7cc83e3a4e8efea800b445ae6dad3ce4651c25f175910342 [INFO] running `Command { std: "docker" "start" "-a" "c4cee05aba0dcb1f7cc83e3a4e8efea800b445ae6dad3ce4651c25f175910342", kill_on_drop: false }` [INFO] [stderr] Compiling rust_json_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{from_str, to_string, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_json_string(json_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: serde_core::ser::Serialize` will fail [INFO] [stdout] --> src/lib.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let result = to_string(&parsed_json).map_err(|e| format!("Failed to serialize JSON: {}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 6 | let parsed_json: () = from_str(json_str).map_err(|e| format!("Failed to parse JSON: {}", e))?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rust_json_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c4cee05aba0dcb1f7cc83e3a4e8efea800b445ae6dad3ce4651c25f175910342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cee05aba0dcb1f7cc83e3a4e8efea800b445ae6dad3ce4651c25f175910342", kill_on_drop: false }` [INFO] [stdout] c4cee05aba0dcb1f7cc83e3a4e8efea800b445ae6dad3ce4651c25f175910342