[INFO] fetching crate chat_messages 0.1.0...
[INFO] testing chat_messages-0.1.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate chat_messages 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate chat_messages 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 12 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9871c14b70434c0cfa956159e6baac7c1c550c7315c7857150b8d41bb2ba79e
[INFO] running `Command { std: "docker" "start" "-a" "f9871c14b70434c0cfa956159e6baac7c1c550c7315c7857150b8d41bb2ba79e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9871c14b70434c0cfa956159e6baac7c1c550c7315c7857150b8d41bb2ba79e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9871c14b70434c0cfa956159e6baac7c1c550c7315c7857150b8d41bb2ba79e", kill_on_drop: false }`
[INFO] [stdout] f9871c14b70434c0cfa956159e6baac7c1c550c7315c7857150b8d41bb2ba79e
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e96d02002d366ef1f1680839232f61dc13b19218695cb09b09ecf9c0d15dd7d7
[INFO] running `Command { std: "docker" "start" "-a" "e96d02002d366ef1f1680839232f61dc13b19218695cb09b09ecf9c0d15dd7d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling derive_base_message v0.1.1
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "e96d02002d366ef1f1680839232f61dc13b19218695cb09b09ecf9c0d15dd7d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e96d02002d366ef1f1680839232f61dc13b19218695cb09b09ecf9c0d15dd7d7", kill_on_drop: false }`
[INFO] [stdout] e96d02002d366ef1f1680839232f61dc13b19218695cb09b09ecf9c0d15dd7d7
