[INFO] fetching crate chat_messages 0.1.0... [INFO] testing chat_messages-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate chat_messages 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate chat_messages 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate chat_messages 0.1.0 [INFO] tweaked toml for crates.io crate chat_messages 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate chat_messages 0.1.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d2282917fedca7d1e29bcbfbce2257caa16fe5d0e8fa820609b89adde17f9dbc [INFO] running `Command { std: "docker" "start" "-a" "d2282917fedca7d1e29bcbfbce2257caa16fe5d0e8fa820609b89adde17f9dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2282917fedca7d1e29bcbfbce2257caa16fe5d0e8fa820609b89adde17f9dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2282917fedca7d1e29bcbfbce2257caa16fe5d0e8fa820609b89adde17f9dbc", kill_on_drop: false }` [INFO] [stdout] d2282917fedca7d1e29bcbfbce2257caa16fe5d0e8fa820609b89adde17f9dbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 62483e95e1cf667a115c2d39b817a8392781a4a1dcca7fb3207ce02100768de4 [INFO] running `Command { std: "docker" "start" "-a" "62483e95e1cf667a115c2d39b817a8392781a4a1dcca7fb3207ce02100768de4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_base_message v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chat_messages v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `is_example` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `additional_kwargs` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `response_metadata` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `id` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `name` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `role` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `is_example` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `additional_kwargs` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `response_metadata` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `id` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `name` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `role` is not a member of trait `BaseMessage` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ not a member of trait `BaseMessage` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `message_type` has an incompatible type for trait [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ expected `base_message::MessageType`, found `&base_message::MessageType` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/base_message.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | fn message_type(&self) -> MessageType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(&ChatMessage) -> base_message::MessageType` [INFO] [stdout] found signature `fn(&ChatMessage) -> &base_message::MessageType` [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `message_type` has an incompatible type for trait [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ expected `base_message::MessageType`, found `&base_message::MessageType` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/base_message.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | fn message_type(&self) -> MessageType; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(&ToolMessage) -> base_message::MessageType` [INFO] [stdout] found signature `fn(&ToolMessage) -> &base_message::MessageType` [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `base_message::BaseMessageFields` has no field named `message_type` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ `base_message::BaseMessageFields` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_type` on type `base_message::BaseMessageFields` [INFO] [stdout] --> src/chat_message.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `base_message::BaseMessageFields` has no field named `message_type` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ `base_message::BaseMessageFields` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_type` on type `base_message::BaseMessageFields` [INFO] [stdout] --> src/tool_message.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(BaseMessage)] [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BaseMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0407, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat_messages` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "62483e95e1cf667a115c2d39b817a8392781a4a1dcca7fb3207ce02100768de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62483e95e1cf667a115c2d39b817a8392781a4a1dcca7fb3207ce02100768de4", kill_on_drop: false }` [INFO] [stdout] 62483e95e1cf667a115c2d39b817a8392781a4a1dcca7fb3207ce02100768de4