[INFO] fetching crate bucky-raw-codec 0.1.0... [INFO] checking bucky-raw-codec-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bucky-raw-codec 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate bucky-raw-codec 0.1.0 [INFO] finished tweaking crates.io crate bucky-raw-codec 0.1.0 [INFO] tweaked toml for crates.io crate bucky-raw-codec 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bucky-raw-codec 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 368 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.2.0) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.7.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b1e9508fdc49aebcbe777327b025119bd79ea5fa453021c75d59c4f5f4aa60a [INFO] running `Command { std: "docker" "start" "-a" "9b1e9508fdc49aebcbe777327b025119bd79ea5fa453021c75d59c4f5f4aa60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b1e9508fdc49aebcbe777327b025119bd79ea5fa453021c75d59c4f5f4aa60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1e9508fdc49aebcbe777327b025119bd79ea5fa453021c75d59c4f5f4aa60a", kill_on_drop: false }` [INFO] [stdout] 9b1e9508fdc49aebcbe777327b025119bd79ea5fa453021c75d59c4f5f4aa60a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68277d8fd0209254797c92ea527cba6398d6bb3c48d29b34d7077a289f0d1634 [INFO] running `Command { std: "docker" "start" "-a" "68277d8fd0209254797c92ea527cba6398d6bb3c48d29b34d7077a289f0d1634", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling protoc-bin-vendored v3.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Checking int-enum v0.4.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling bucky-raw-codec v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking bucky-error v0.1.0 [INFO] [stdout] error: cannot find derive macro `RawEncode` in this scope [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:762:28 [INFO] [stdout] | [INFO] [stdout] 762 | #[derive(Clone, Debug, RawEncode, RawDecode)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RawEncode` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RawDecode` in this scope [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:762:39 [INFO] [stdout] | [INFO] [stdout] 762 | #[derive(Clone, Debug, RawEncode, RawDecode)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RawDecode` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [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] --> /opt/rustwide/target/debug/build/bucky-raw-codec-5209a40aa15964d5/out/empty_content.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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/bucky-raw-codec-5209a40aa15964d5/out/empty_content.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[E0599]: no function or associated item named `raw_decode` found for struct `protobuf_helper::test::EmptyContent` in the current scope [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:821:54 [INFO] [stdout] | [INFO] [stdout] 763 | struct EmptyContent {} [INFO] [stdout] | ------------------- function or associated item `raw_decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 821 | let (_content, left_buf) = EmptyContent::raw_decode(&buf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `protobuf_helper::test::EmptyContent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `raw_codec::RawDecode` defines an item `raw_decode`, perhaps you need to implement it [INFO] [stdout] --> src/raw/raw_codec.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait RawDecode<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_vec` exists for struct `protobuf_helper::test::EmptyContent`, but its trait bounds were not satisfied [INFO] [stdout] --> src/protobuf/protobuf_helper.rs:830:28 [INFO] [stdout] | [INFO] [stdout] 763 | struct EmptyContent {} [INFO] [stdout] | ------------------- method `to_vec` not found for this struct because it doesn't satisfy `_: RawConvertTo` or `_: RawEncode` [INFO] [stdout] ... [INFO] [stdout] 830 | let buf = content2.to_vec().unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `protobuf_helper::test::EmptyContent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `protobuf_helper::test::EmptyContent: raw_codec::RawEncode` was not satisfied [INFO] [stdout] --> src/raw/raw_util.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl RawConvertTo for T [INFO] [stdout] | --------------- - [INFO] [stdout] 92 | where [INFO] [stdout] 93 | T: RawEncode, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `raw_codec::RawEncode` must be implemented [INFO] [stdout] --> src/raw/raw_codec.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait RawEncode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `raw_util::RawConvertTo` defines an item `to_vec`, perhaps you need to implement it [INFO] [stdout] --> src/raw/raw_util.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait RawConvertTo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bucky-raw-codec` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/bucky-raw-codec-5209a40aa15964d5/out/empty_content.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { [INFO] [stdout] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/bucky-raw-codec-5209a40aa15964d5/out/empty_content.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { [INFO] [stdout] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68277d8fd0209254797c92ea527cba6398d6bb3c48d29b34d7077a289f0d1634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68277d8fd0209254797c92ea527cba6398d6bb3c48d29b34d7077a289f0d1634", kill_on_drop: false }` [INFO] [stdout] 68277d8fd0209254797c92ea527cba6398d6bb3c48d29b34d7077a289f0d1634