[INFO] cloning repository https://github.com/ckolek/FIXEngine-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ckolek/FIXEngine-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dd83c9a96e832824db68e5182369d4db3b52c47 [INFO] testing ckolek/FIXEngine-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ckolek/FIXEngine-rs [INFO] finished tweaking git repo https://github.com/ckolek/FIXEngine-rs [INFO] tweaked toml for git repo https://github.com/ckolek/FIXEngine-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ckolek/FIXEngine-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ca7a28b978d6689262dae637574344499bd7d29b2786a1576a3b165d9853ab1 [INFO] running `Command { std: "docker" "start" "-a" "6ca7a28b978d6689262dae637574344499bd7d29b2786a1576a3b165d9853ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ca7a28b978d6689262dae637574344499bd7d29b2786a1576a3b165d9853ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca7a28b978d6689262dae637574344499bd7d29b2786a1576a3b165d9853ab1", kill_on_drop: false }` [INFO] [stdout] 6ca7a28b978d6689262dae637574344499bd7d29b2786a1576a3b165d9853ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f052ae29932e485425f5629a153875eb2198f7d377e1ebec89236b0d3eff6de [INFO] running `Command { std: "docker" "start" "-a" "2f052ae29932e485425f5629a153875eb2198f7d377e1ebec89236b0d3eff6de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners : Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners : Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | field_values : Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | field_values : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages/mod.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | field_values : Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | field_values : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_receive(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | fn on_receive(&mut self, session_id : &SessionId, message : &dyn FIXMessage); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_send(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn on_send(&mut self, session_id : &SessionId, message : &dyn FIXMessage); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fields/mod.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_tag_value(&self, tag_num : u32) -> Result, ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn get_tag_value(&self, tag_num : u32) -> Result, ()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fields/mod.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages/mod.rs:31:62 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_tag_value(&self, tag_num : u32) -> Result, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn get_tag_value(&self, tag_num : u32) -> Result, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages/mod.rs:35:80 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FIXMessage` is not dyn compatible [INFO] [stdout] --> src/engine/mod.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | fn on_receive(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] | ^^^^^^^^^^ `FIXMessage` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/fields/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_value>(&self, field : &F) -> Result, ()>; [INFO] [stdout] | ^^^^^^^^^ ...because method `get_value` has generic type parameters [INFO] [stdout] 28 | fn get_value_at>(&self, field : &F, index : usize) -> Result, ()>; [INFO] [stdout] | ^^^^^^^^^^^^ ...because method `get_value_at` has generic type parameters [INFO] [stdout] | [INFO] [stdout] ::: src/messages/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait FIXMessage : FIXMessageFields {} [INFO] [stdout] | ---------- this trait is not dyn compatible... [INFO] [stdout] = help: consider moving `get_value` to another trait [INFO] [stdout] = help: consider moving `get_value_at` to another trait [INFO] [stdout] = help: only type `messages::RawFIXMessage` implements `FIXMessage` within this crate; consider using it directly instead. [INFO] [stdout] = note: `FIXMessage` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 7 - fn on_receive(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] 7 + fn on_receive(&mut self, session_id : &SessionId, message : &Self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FIXMessage` is not dyn compatible [INFO] [stdout] --> src/engine/mod.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | fn on_send(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] | ^^^^^^^^^^ `FIXMessage` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/fields/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_value>(&self, field : &F) -> Result, ()>; [INFO] [stdout] | ^^^^^^^^^ ...because method `get_value` has generic type parameters [INFO] [stdout] 28 | fn get_value_at>(&self, field : &F, index : usize) -> Result, ()>; [INFO] [stdout] | ^^^^^^^^^^^^ ...because method `get_value_at` has generic type parameters [INFO] [stdout] | [INFO] [stdout] ::: src/messages/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait FIXMessage : FIXMessageFields {} [INFO] [stdout] | ---------- this trait is not dyn compatible... [INFO] [stdout] = help: consider moving `get_value` to another trait [INFO] [stdout] = help: consider moving `get_value_at` to another trait [INFO] [stdout] = help: only type `messages::RawFIXMessage` implements `FIXMessage` within this crate; consider using it directly instead. [INFO] [stdout] = note: `FIXMessage` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 8 - fn on_send(&mut self, session_id : &SessionId, message : &FIXMessage); [INFO] [stdout] 8 + fn on_send(&mut self, session_id : &SessionId, message : &Self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw` [INFO] [stdout] --> src/fields/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_value(&self, raw : Vec) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_raw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/messages/mod.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn add_value>(mut self, field : &F, value : T) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/messages/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut field_indices = self.field_indices.entry(tag_num).or_insert(Vec::new()); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fix` (lib) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f052ae29932e485425f5629a153875eb2198f7d377e1ebec89236b0d3eff6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f052ae29932e485425f5629a153875eb2198f7d377e1ebec89236b0d3eff6de", kill_on_drop: false }` [INFO] [stdout] 2f052ae29932e485425f5629a153875eb2198f7d377e1ebec89236b0d3eff6de