[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-56/source/Cargo.toml [INFO] crate git repo https://github.com/ckolek/FIXEngine-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c95779d987ab543824aac40eb2fb3b5c82f43a3fdf5eb8c213df8aeea538597 [INFO] running `Command { std: "docker" "start" "-a" "6c95779d987ab543824aac40eb2fb3b5c82f43a3fdf5eb8c213df8aeea538597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c95779d987ab543824aac40eb2fb3b5c82f43a3fdf5eb8c213df8aeea538597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c95779d987ab543824aac40eb2fb3b5c82f43a3fdf5eb8c213df8aeea538597", kill_on_drop: false }` [INFO] [stdout] 6c95779d987ab543824aac40eb2fb3b5c82f43a3fdf5eb8c213df8aeea538597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa4fe03cc398d28662aef05e8cb22c2d0bfb1a693d9ae07d1f8e9e4dc343497 [INFO] running `Command { std: "docker" "start" "-a" "dfa4fe03cc398d28662aef05e8cb22c2d0bfb1a693d9ae07d1f8e9e4dc343497", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - message_listeners : Vec> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - field_values : Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - field_values : Vec>, [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: use `dyn` [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 : &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: use `dyn` [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 : &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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn get_tag_value(&self, tag_num : u32) -> Result, ()>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn get_tag_value(&self, tag_num : u32) -> Result, ()> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn get_tag_value_at(&self, tag_num : u32, index : usize) -> Result, ()> { [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` cannot be made into an object [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` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; 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 cannot be made into an object... [INFO] [stdout] = help: consider moving `get_value` to another trait [INFO] [stdout] = help: consider moving `get_value_at` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fix` due to 3 previous errors; 9 warnings emitted [INFO] [stdout] error[E0038]: the trait `FIXMessage` cannot be made into an object [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` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; 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 cannot be made into an object... [INFO] [stdout] = help: consider moving `get_value` to another trait [INFO] [stdout] = help: consider moving `get_value_at` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfa4fe03cc398d28662aef05e8cb22c2d0bfb1a693d9ae07d1f8e9e4dc343497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa4fe03cc398d28662aef05e8cb22c2d0bfb1a693d9ae07d1f8e9e4dc343497", kill_on_drop: false }` [INFO] [stdout] dfa4fe03cc398d28662aef05e8cb22c2d0bfb1a693d9ae07d1f8e9e4dc343497