[INFO] fetching crate kf-protocol-api 2.0.0... [INFO] testing kf-protocol-api-2.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kf-protocol-api 2.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate kf-protocol-api 2.0.0 [INFO] finished tweaking crates.io crate kf-protocol-api 2.0.0 [INFO] tweaked toml for crates.io crate kf-protocol-api 2.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kf-protocol-api 2.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding crc32c v0.5.0 (available: v0.6.8) [INFO] [stderr] Adding flv-util v0.4.0 (available: v0.5.2) [INFO] [stderr] Adding paste v0.1.18 (available: v1.0.15) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef968d9a33ce49ea4013472aad86319a18bac13603fc276921b0247b51e104c1 [INFO] running `Command { std: "docker" "start" "-a" "ef968d9a33ce49ea4013472aad86319a18bac13603fc276921b0247b51e104c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef968d9a33ce49ea4013472aad86319a18bac13603fc276921b0247b51e104c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef968d9a33ce49ea4013472aad86319a18bac13603fc276921b0247b51e104c1", kill_on_drop: false }` [INFO] [stdout] ef968d9a33ce49ea4013472aad86319a18bac13603fc276921b0247b51e104c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f88b2e873702fa5564f17be18079a90579d5f21c2ef5481c9038f3ad4c0bec7b [INFO] running `Command { std: "docker" "start" "-a" "f88b2e873702fa5564f17be18079a90579d5f21c2ef5481c9038f3ad4c0bec7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling crc32c v0.5.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling kf-protocol-derive v0.2.0 [INFO] [stderr] Compiling kf-protocol-core v0.1.2 [INFO] [stderr] Compiling flv-util v0.4.0 [INFO] [stderr] Compiling kf-protocol-api v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/kf_api.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[fluvio_kf(encode_discriminant)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | #[derive(PartialEq, Debug, Clone, Copy, Encode, Decode)] [INFO] [stdout] | ------ the attribute is introduced here [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 #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[fluvio_kf(encode_discriminant)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(PartialEq, Debug, Clone, Copy, Serialize, Deserialize, Encode, Decode)] [INFO] [stdout] | ------ the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/flv_errors.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[fluvio_kf(encode_discriminant)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | #[repr(i16)] [INFO] [stdout] 18 | #[derive(Encode, Decode, PartialEq, Debug, Clone, Copy, Serialize)] [INFO] [stdout] | ------ the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[fluvio_kf(default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | #[repr(i16)] [INFO] [stdout] 13 | #[derive(PartialEq, Debug, Clone, Copy, Serialize, Deserialize, Encode, Decode)] [INFO] [stdout] | ------ the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Records` is never used [INFO] [stdout] --> src/record.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Records {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | format!("{}-{}", topic_name.clone(), idx) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kf-protocol-api` (lib) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f88b2e873702fa5564f17be18079a90579d5f21c2ef5481c9038f3ad4c0bec7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88b2e873702fa5564f17be18079a90579d5f21c2ef5481c9038f3ad4c0bec7b", kill_on_drop: false }` [INFO] [stdout] f88b2e873702fa5564f17be18079a90579d5f21c2ef5481c9038f3ad4c0bec7b