[INFO] fetching crate pulsar-binary-protocol-spec 0.0.1... [INFO] checking pulsar-binary-protocol-spec-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pulsar-binary-protocol-spec 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pulsar-binary-protocol-spec 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pulsar-binary-protocol-spec 0.0.1 [INFO] finished tweaking crates.io crate pulsar-binary-protocol-spec 0.0.1 [INFO] tweaked toml for crates.io crate pulsar-binary-protocol-spec 0.0.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.5.1) [INFO] [stderr] Adding protobuf-codegen v2.28.0 (available: v3.5.1) [INFO] [stderr] Adding seq-macro v0.2.2 (available: v0.3.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding test-case v1.2.3 (available: v3.3.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 701f226e05eda3f6202f2be5844913336618ab3e61e0250ddff4fcab52d82e87 [INFO] running `Command { std: "docker" "start" "-a" "701f226e05eda3f6202f2be5844913336618ab3e61e0250ddff4fcab52d82e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "701f226e05eda3f6202f2be5844913336618ab3e61e0250ddff4fcab52d82e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701f226e05eda3f6202f2be5844913336618ab3e61e0250ddff4fcab52d82e87", kill_on_drop: false }` [INFO] [stdout] 701f226e05eda3f6202f2be5844913336618ab3e61e0250ddff4fcab52d82e87 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a25da9217b2ac53d92b3c01ae8c565d20a2a8544a9cbb15fe17448d897685f7c [INFO] running `Command { std: "docker" "start" "-a" "a25da9217b2ac53d92b3c01ae8c565d20a2a8544a9cbb15fe17448d897685f7c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking pulsar-binary-protocol-spec v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: custom inner attributes are unstable [INFO] [stdout] --> src/protos/protobuf/PulsarApi.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | #![rustfmt::skip] [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 #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/protos/protobuf/PulsarApi.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom inner attributes are unstable [INFO] [stdout] --> src/protos/protobuf/PulsarApi.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | #![rustfmt::skip] [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 #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/protos/protobuf/PulsarApi.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/message_metadata.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/message_metadata.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | NaiveDateTime::from_timestamp(self.inner.get_publish_time() as i64, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/message_metadata.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/message_metadata.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | NaiveDateTime::from_timestamp(self.inner.get_publish_time() as i64, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression_buf` is never read [INFO] [stdout] --> src/frame/renderer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FrameRenderer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 68 | config: FrameRendererConfig, [INFO] [stdout] 69 | compression_buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameRenderer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pulsar-binary-protocol-spec` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `compression_buf` is never read [INFO] [stdout] --> src/frame/renderer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FrameRenderer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 68 | config: FrameRendererConfig, [INFO] [stdout] 69 | compression_buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameRenderer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(false, c) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `SimpleCommand` [INFO] [stdout] | [INFO] [stdout] 35 | assert!(false, "{:?}", c) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | ... assert!(false, err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `PayloadCommandPayloadErrorWithParsed` [INFO] [stdout] | [INFO] [stdout] 66 | assert!(false, "{:?}", err) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | FrameParseOutput::Partial(n) => assert!(false, n), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 75 | FrameParseOutput::Partial(n) => assert!(false, "{}", n), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(false, c) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `SimpleCommand` [INFO] [stdout] | [INFO] [stdout] 124 | assert!(false, "{:?}", c) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | ... assert!(false, err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `PayloadCommandPayloadErrorWithParsed` [INFO] [stdout] | [INFO] [stdout] 189 | assert!(false, "{:?}", err) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frame/tests.rs:198:56 [INFO] [stdout] | [INFO] [stdout] 198 | FrameParseOutput::Partial(n) => assert!(false, n), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 198 | FrameParseOutput::Partial(n) => assert!(false, "{}", n), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pulsar-binary-protocol-spec` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a25da9217b2ac53d92b3c01ae8c565d20a2a8544a9cbb15fe17448d897685f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25da9217b2ac53d92b3c01ae8c565d20a2a8544a9cbb15fe17448d897685f7c", kill_on_drop: false }` [INFO] [stdout] a25da9217b2ac53d92b3c01ae8c565d20a2a8544a9cbb15fe17448d897685f7c