[INFO] fetching crate json_rpc 0.2.0... [INFO] checking json_rpc-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate json_rpc 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate json_rpc 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate json_rpc 0.2.0 [INFO] tweaked toml for crates.io crate json_rpc 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate json_rpc 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded asynchronous v0.4.5 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 967f8ee3d6bd2ebf9050dc1bb2500cff5f7b2286c9aca564d16d38a8baf9b81c [INFO] running `Command { std: "docker" "start" "-a" "967f8ee3d6bd2ebf9050dc1bb2500cff5f7b2286c9aca564d16d38a8baf9b81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "967f8ee3d6bd2ebf9050dc1bb2500cff5f7b2286c9aca564d16d38a8baf9b81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967f8ee3d6bd2ebf9050dc1bb2500cff5f7b2286c9aca564d16d38a8baf9b81c", kill_on_drop: false }` [INFO] [stdout] 967f8ee3d6bd2ebf9050dc1bb2500cff5f7b2286c9aca564d16d38a8baf9b81c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 702ad8dc5bab00f541da116094b14e64dd4a05f9bdb511330d6670bc2e416dbe [INFO] running `Command { std: "docker" "start" "-a" "702ad8dc5bab00f541da116094b14e64dd4a05f9bdb511330d6670bc2e416dbe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking asynchronous v0.4.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking json_rpc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0365]: extern crate `rustc_serialize` is private and cannot be re-exported [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use rustc_serialize as serialize; [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 a future release! [INFO] [stdout] = note: for more information, see issue #127909 [INFO] [stdout] = note: `#[deny(pub_use_of_private_extern_crate)]` on by default [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 66 | pub extern crate rustc_serialize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | -32099 ... -32000 => "Server error".to_string(), [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | methods: BTreeMap Result + 'static + Send + Sync >>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | methods: BTreeMap Result + 'static + Send + Sync >>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0365]: extern crate `rustc_serialize` is private and cannot be re-exported [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use rustc_serialize as serialize; [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 a future release! [INFO] [stdout] = note: for more information, see issue #127909 [INFO] [stdout] = note: `#[deny(pub_use_of_private_extern_crate)]` on by default [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 66 | pub extern crate rustc_serialize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json_rpc` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | -32099 ... -32000 => "Server error".to_string(), [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:564:17 [INFO] [stdout] | [INFO] [stdout] 564 | thread::sleep_ms(300); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | methods: BTreeMap Result + 'static + Send + Sync >>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | methods: BTreeMap Result + 'static + Send + Sync >>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_rpc` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "702ad8dc5bab00f541da116094b14e64dd4a05f9bdb511330d6670bc2e416dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702ad8dc5bab00f541da116094b14e64dd4a05f9bdb511330d6670bc2e416dbe", kill_on_drop: false }` [INFO] [stdout] 702ad8dc5bab00f541da116094b14e64dd4a05f9bdb511330d6670bc2e416dbe