[INFO] fetching crate bucky-raw-codec 0.1.0... [INFO] checking bucky-raw-codec-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate bucky-raw-codec 0.1.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bucky-raw-codec 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 369 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2588af95507b83f14831de96dc0a7e372f407cd39ba8ed24ed599afee9d386e6 [INFO] running `Command { std: "docker" "start" "-a" "2588af95507b83f14831de96dc0a7e372f407cd39ba8ed24ed599afee9d386e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2588af95507b83f14831de96dc0a7e372f407cd39ba8ed24ed599afee9d386e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2588af95507b83f14831de96dc0a7e372f407cd39ba8ed24ed599afee9d386e6", kill_on_drop: false }` [INFO] [stdout] 2588af95507b83f14831de96dc0a7e372f407cd39ba8ed24ed599afee9d386e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 605fb485444408f2539799294a78bfb968a1bdd81f39935d0198479689858c87 [INFO] running `Command { std: "docker" "start" "-a" "605fb485444408f2539799294a78bfb968a1bdd81f39935d0198479689858c87", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling protoc-bin-vendored v3.2.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Compiling bucky-raw-codec v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking int-enum v0.4.0 [INFO] [stderr] Checking serde_json v1.0.143 [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-45afdb651c656922/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-45afdb651c656922/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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/bucky-raw-codec-45afdb651c656922/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-45afdb651c656922/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] [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] running `Command { std: "docker" "inspect" "605fb485444408f2539799294a78bfb968a1bdd81f39935d0198479689858c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605fb485444408f2539799294a78bfb968a1bdd81f39935d0198479689858c87", kill_on_drop: false }` [INFO] [stdout] 605fb485444408f2539799294a78bfb968a1bdd81f39935d0198479689858c87