[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] checking ckolek/FIXEngine-rs against master#d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee for pr-127481-2 [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] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ckolek/FIXEngine-rs against try#3d1ad905b56a11961be37df7dc5e56be58204dd8 for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain 3d1ad905b56a11961be37df7dc5e56be58204dd8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ckolek/FIXEngine-rs against try#3d1ad905b56a11961be37df7dc5e56be58204dd8 for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain 3d1ad905b56a11961be37df7dc5e56be58204dd8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ckolek/FIXEngine-rs against try#3d1ad905b56a11961be37df7dc5e56be58204dd8 for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain 3d1ad905b56a11961be37df7dc5e56be58204dd8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ckolek/FIXEngine-rs against try#3d1ad905b56a11961be37df7dc5e56be58204dd8 for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckolek%2FFIXEngine-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ckolek/FIXEngine-rs on toolchain 3d1ad905b56a11961be37df7dc5e56be58204dd8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb5e6ae4bac9879765ba1657b907a8198fdd13c19a7bd8fa4d903767ea2c7b9d [INFO] running `Command { std: "docker" "start" "-a" "bb5e6ae4bac9879765ba1657b907a8198fdd13c19a7bd8fa4d903767ea2c7b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb5e6ae4bac9879765ba1657b907a8198fdd13c19a7bd8fa4d903767ea2c7b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5e6ae4bac9879765ba1657b907a8198fdd13c19a7bd8fa4d903767ea2c7b9d", kill_on_drop: false }` [INFO] [stdout] bb5e6ae4bac9879765ba1657b907a8198fdd13c19a7bd8fa4d903767ea2c7b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+3d1ad905b56a11961be37df7dc5e56be58204dd8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a032d44791aa541c1a87786c2173b765efd23a20a8334daa63178d2d754e669 [INFO] running `Command { std: "docker" "start" "-a" "0a032d44791aa541c1a87786c2173b765efd23a20a8334daa63178d2d754e669", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking fix v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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/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] help: if this is an object-safe 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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] error[E0433]: failed to resolve: maybe a missing crate `fix`? [INFO] [stdout] --> src/messages/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use fix::fields::{FIXMessageField, StringField}; [INFO] [stdout] | ^^^ maybe a missing crate `fix`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate fix` to use the `fix` crate [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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/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] help: if this is an object-safe 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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] 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] = help: only type `messages::RawFIXMessage` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `FIXMessage` can 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] [INFO] [stdout] [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] = help: only type `messages::RawFIXMessage` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `FIXMessage` can 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] [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 an object-safe 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 an object-safe 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` 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] = help: only type `messages::RawFIXMessage` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `FIXMessage` can 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] [INFO] [stdout] [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] = help: only type `messages::RawFIXMessage` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `FIXMessage` can 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] [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 an object-safe 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 an object-safe 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: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fix` (lib test) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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)]` 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] error: aborting due to 2 previous errors; 12 warnings emitted [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 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a032d44791aa541c1a87786c2173b765efd23a20a8334daa63178d2d754e669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a032d44791aa541c1a87786c2173b765efd23a20a8334daa63178d2d754e669", kill_on_drop: false }` [INFO] [stdout] 0a032d44791aa541c1a87786c2173b765efd23a20a8334daa63178d2d754e669