[INFO] cloning repository https://github.com/zerocode/fix_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zerocode/fix_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerocode%2Ffix_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerocode%2Ffix_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3de33a80fc6dad32c6399fb027ce6f5dc315d78d [INFO] testing zerocode/fix_engine against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzerocode%2Ffix_engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zerocode/fix_engine on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zerocode/fix_engine [INFO] finished tweaking git repo https://github.com/zerocode/fix_engine [INFO] tweaked toml for git repo https://github.com/zerocode/fix_engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zerocode/fix_engine 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49f0388f8ed9cf9de9a56d299950a38931dc40b46c20b8d682e282c23d91c918 [INFO] running `Command { std: "docker" "start" "-a" "49f0388f8ed9cf9de9a56d299950a38931dc40b46c20b8d682e282c23d91c918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49f0388f8ed9cf9de9a56d299950a38931dc40b46c20b8d682e282c23d91c918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f0388f8ed9cf9de9a56d299950a38931dc40b46c20b8d682e282c23d91c918", kill_on_drop: false }` [INFO] [stdout] 49f0388f8ed9cf9de9a56d299950a38931dc40b46c20b8d682e282c23d91c918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304d08d90ee3db1f3f6c1588e2fa181d9a447de359d89bd727242781e2e36ade [INFO] running `Command { std: "docker" "start" "-a" "304d08d90ee3db1f3f6c1588e2fa181d9a447de359d89bd727242781e2e36ade", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling fix_engine_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::clock::Clock` [INFO] [stdout] --> src/message_optimised.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clock::Clock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/message_optimised.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CompID` is more private than the item `tag::FixTag::SenderCompID::0` [INFO] [stdout] --> src/tag.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | SenderCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::SenderCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CompID` is more private than the item `tag::FixTag::TargetCompID::0` [INFO] [stdout] --> src/tag.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | TargetCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::TargetCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PossDupFlag` is more private than the item `tag::FixTag::PossDupFlag::0` [INFO] [stdout] --> src/tag.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | PossDupFlag(PossDupFlag), [INFO] [stdout] | ^^^^^^^^^^^ field `tag::FixTag::PossDupFlag::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PossDupFlag` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tag.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHECKSUM_TAG` is never used [INFO] [stdout] --> src/tag.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CHECKSUM_TAG: &str = "10"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_HEADER_FIELDS` is never used [INFO] [stdout] --> src/tag.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const REQUIRED_HEADER_FIELDS: [&str; 7] = ["8", "9", "35", "49", "56", "34", "52"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tag.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl CompID { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | fn new(id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Yes` and `No` are never constructed [INFO] [stdout] --> src/tag.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 36 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | No, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PossDupFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/tag.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl PossDupFlag { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | fn from_str(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixMessage2` is never constructed [INFO] [stdout] --> src/message_optimised.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FixMessage2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/message_optimised.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FixMessage2 { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_body_length` is never used [INFO] [stdout] --> src/message_optimised.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_body_length(message: &FixMessage2) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_checksum` is never used [INFO] [stdout] --> src/message_optimised.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn calculate_checksum(fix_str: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_str_no_alloc` is never used [INFO] [stdout] --> src/message_optimised.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn int_to_str_no_alloc(n: usize, buffer: &mut [u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/message_optimised.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl FixMessage2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.12s [INFO] running `Command { std: "docker" "inspect" "304d08d90ee3db1f3f6c1588e2fa181d9a447de359d89bd727242781e2e36ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304d08d90ee3db1f3f6c1588e2fa181d9a447de359d89bd727242781e2e36ade", kill_on_drop: false }` [INFO] [stdout] 304d08d90ee3db1f3f6c1588e2fa181d9a447de359d89bd727242781e2e36ade [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfeb3eb57746088e57515f8d3e74e903259a318a887cc19cc3ff05767f6745d6 [INFO] running `Command { std: "docker" "start" "-a" "cfeb3eb57746088e57515f8d3e74e903259a318a887cc19cc3ff05767f6745d6", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::clock::Clock` [INFO] [stdout] --> src/message_optimised.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clock::Clock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/message_optimised.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CompID` is more private than the item `tag::FixTag::SenderCompID::0` [INFO] [stdout] --> src/tag.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | SenderCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::SenderCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CompID` is more private than the item `tag::FixTag::TargetCompID::0` [INFO] [stdout] --> src/tag.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | TargetCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::TargetCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PossDupFlag` is more private than the item `tag::FixTag::PossDupFlag::0` [INFO] [stdout] --> src/tag.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | PossDupFlag(PossDupFlag), [INFO] [stdout] | ^^^^^^^^^^^ field `tag::FixTag::PossDupFlag::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PossDupFlag` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tag.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHECKSUM_TAG` is never used [INFO] [stdout] --> src/tag.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CHECKSUM_TAG: &str = "10"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_HEADER_FIELDS` is never used [INFO] [stdout] --> src/tag.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const REQUIRED_HEADER_FIELDS: [&str; 7] = ["8", "9", "35", "49", "56", "34", "52"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tag.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl CompID { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | fn new(id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Yes` and `No` are never constructed [INFO] [stdout] --> src/tag.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 36 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | No, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PossDupFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fix_engine_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/tag.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl PossDupFlag { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | fn from_str(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixMessage2` is never constructed [INFO] [stdout] --> src/message_optimised.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FixMessage2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/message_optimised.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FixMessage2 { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn encode(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_body_length` is never used [INFO] [stdout] --> src/message_optimised.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_body_length(message: &FixMessage2) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_checksum` is never used [INFO] [stdout] --> src/message_optimised.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn calculate_checksum(fix_str: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_str_no_alloc` is never used [INFO] [stdout] --> src/message_optimised.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn int_to_str_no_alloc(n: usize, buffer: &mut [u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/message_optimised.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl FixMessage2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> tests/integration_tests.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::clock::Clock` [INFO] [stdout] --> src/message_optimised.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clock::Clock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/message_optimised.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag::CompID` is more private than the item `tag::FixTag::SenderCompID::0` [INFO] [stdout] --> src/tag.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | SenderCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::SenderCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `tag::CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag::CompID` is more private than the item `tag::FixTag::TargetCompID::0` [INFO] [stdout] --> src/tag.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | TargetCompID(CompID), [INFO] [stdout] | ^^^^^^ field `tag::FixTag::TargetCompID::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `tag::CompID` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tag.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tag::PossDupFlag` is more private than the item `tag::FixTag::PossDupFlag::0` [INFO] [stdout] --> src/tag.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | PossDupFlag(PossDupFlag), [INFO] [stdout] | ^^^^^^^^^^^ field `tag::FixTag::PossDupFlag::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `tag::PossDupFlag` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tag.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHECKSUM_TAG` is never used [INFO] [stdout] --> src/tag.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const CHECKSUM_TAG: &str = "10"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_HEADER_FIELDS` is never used [INFO] [stdout] --> src/tag.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const REQUIRED_HEADER_FIELDS: [&str; 7] = ["8", "9", "35", "49", "56", "34", "52"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `No` is never constructed [INFO] [stdout] --> src/tag.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum PossDupFlag { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 36 | Yes, [INFO] [stdout] 37 | No, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PossDupFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/tag.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl PossDupFlag { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | fn from_str(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine_factory.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "cfeb3eb57746088e57515f8d3e74e903259a318a887cc19cc3ff05767f6745d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfeb3eb57746088e57515f8d3e74e903259a318a887cc19cc3ff05767f6745d6", kill_on_drop: false }` [INFO] [stdout] cfeb3eb57746088e57515f8d3e74e903259a318a887cc19cc3ff05767f6745d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bddd6b4d0d6edb63d02f5b209fad5a65805743fa17273a3211fc75b171f32ed7 [INFO] running `Command { std: "docker" "start" "-a" "bddd6b4d0d6edb63d02f5b209fad5a65805743fa17273a3211fc75b171f32ed7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::clock::Clock` [INFO] [stderr] --> src/message_optimised.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::clock::Clock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/message_optimised.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `CompID` is more private than the item `tag::FixTag::SenderCompID::0` [INFO] [stderr] --> src/tag.rs:168:18 [INFO] [stderr] | [INFO] [stderr] 168 | SenderCompID(CompID), [INFO] [stderr] | ^^^^^^ field `tag::FixTag::SenderCompID::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/tag.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `CompID` is more private than the item `tag::FixTag::TargetCompID::0` [INFO] [stderr] --> src/tag.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | TargetCompID(CompID), [INFO] [stderr] | ^^^^^^ field `tag::FixTag::TargetCompID::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `CompID` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/tag.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `PossDupFlag` is more private than the item `tag::FixTag::PossDupFlag::0` [INFO] [stderr] --> src/tag.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | PossDupFlag(PossDupFlag), [INFO] [stderr] | ^^^^^^^^^^^ field `tag::FixTag::PossDupFlag::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `PossDupFlag` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/tag.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | enum PossDupFlag { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CHECKSUM_TAG` is never used [INFO] [stderr] --> src/tag.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | const CHECKSUM_TAG: &str = "10"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `REQUIRED_HEADER_FIELDS` is never used [INFO] [stderr] --> src/tag.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | const REQUIRED_HEADER_FIELDS: [&str; 7] = ["8", "9", "35", "49", "56", "34", "52"]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tag.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl CompID { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 15 | fn new(id: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Yes` and `No` are never constructed [INFO] [stderr] --> src/tag.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 35 | enum PossDupFlag { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 36 | Yes, [INFO] [stderr] | ^^^ [INFO] [stderr] 37 | No, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `PossDupFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/tag.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl PossDupFlag { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 41 | fn from_str(value: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FixMessage2` is never constructed [INFO] [stderr] --> src/message_optimised.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct FixMessage2 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `encode` is never used [INFO] [stderr] --> src/message_optimised.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl FixMessage2 { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 12 | pub(crate) fn encode(&mut self) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_body_length` is never used [INFO] [stderr] --> src/message_optimised.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn calculate_body_length(message: &FixMessage2) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_checksum` is never used [INFO] [stderr] --> src/message_optimised.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn calculate_checksum(fix_str: String) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `int_to_str_no_alloc` is never used [INFO] [stderr] --> src/message_optimised.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | fn int_to_str_no_alloc(n: usize, buffer: &mut [u8]) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/message_optimised.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl FixMessage2 { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 76 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/engine_factory.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 27 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/engine_factory.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 49 | let _ = engine.start(stream, outgoing_receiver, incoming_sender); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `fix_engine_2` (lib) generated 18 warnings (run `cargo fix --lib -p fix_engine_2` to apply 2 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stderr] --> tests/integration_tests.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | #[ctor::ctor] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fix_engine_2` (test "integration_tests") generated 1 warning [INFO] [stderr] warning: type `tag::CompID` is more private than the item `tag::FixTag::SenderCompID::0` [INFO] [stderr] --> src/tag.rs:168:18 [INFO] [stderr] | [INFO] [stderr] 168 | SenderCompID(CompID), [INFO] [stderr] | ^^^^^^ field `tag::FixTag::SenderCompID::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `tag::CompID` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/tag.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `tag::CompID` is more private than the item `tag::FixTag::TargetCompID::0` [INFO] [stderr] --> src/tag.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | TargetCompID(CompID), [INFO] [stderr] | ^^^^^^ field `tag::FixTag::TargetCompID::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `tag::CompID` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/tag.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct CompID(pub String); // Use &'static str instead of String. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `tag::PossDupFlag` is more private than the item `tag::FixTag::PossDupFlag::0` [INFO] [stderr] --> src/tag.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | PossDupFlag(PossDupFlag), [INFO] [stderr] | ^^^^^^^^^^^ field `tag::FixTag::PossDupFlag::0` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `tag::PossDupFlag` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/tag.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | enum PossDupFlag { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `No` is never constructed [INFO] [stderr] --> src/tag.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 35 | enum PossDupFlag { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 36 | Yes, [INFO] [stderr] 37 | No, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `PossDupFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `fix_engine_2` (lib test) generated 11 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fix_engine_2-07e46109109a7c2b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test message::tests::test_checksum_is_calculated_correctly ... ok [INFO] [stdout] test message::tests::test_fix_message_encode_decode ... ok [INFO] [stdout] test message::tests::test_fix_message_encode_correct_order ... ok [INFO] [stdout] test message::tests::test_message_without_soh_fails ... ok [INFO] [stdout] test message::tests::test_fix_message_encode_with_correct_body_length ... ok [INFO] [stdout] test message_optimised::tests::test_calculate_checksum_correctly ... ok [INFO] [stdout] test message::tests::test_invalid_checksum_throws_err ... ok [INFO] [stdout] test message_optimised::tests::test_calculate_body_length_correctly ... ok [INFO] [stdout] test message_optimised::tests::test_encode_decode_a_fix_message ... ok [INFO] [stdout] test tag::tests::test_fix_tags ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/fixed_clock.rs (/opt/rustwide/target/debug/deps/fixed_clock-bcb880bea80e3d5b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-e3e5d48faad4c27a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 2025-02-13T15:29:01.620382Z  INFO fix_engine_2::engine_factory: Creating Acceptor. [INFO] [stdout] 2025-02-13T15:29:01.620482Z  INFO fix_engine_2::engine_factory: Acceptor listening on 127.0.0.1:12345 [INFO] [stdout] 2025-02-13T15:29:01.720398Z  INFO fix_engine_2::engine_factory: Creating Initiator. [INFO] [stdout] 2025-02-13T15:29:01.720595Z  INFO fix_engine_2::engine_factory: Initiator connected to acceptor at 127.0.0.1:12345 [INFO] [stdout] 2025-02-13T15:29:01.720880Z  INFO fix_engine_2::engine: Initiator: Ready to receive messages. [INFO] [stdout] 2025-02-13T15:29:01.720964Z  INFO fix_engine_2::engine: Acceptor: Ready to receive messages. [INFO] [stdout] 2025-02-13T15:29:01.725929Z  INFO fix_engine_2::engine: Initiator: Ready to send messages. [INFO] [stdout] 2025-02-13T15:29:01.725988Z  INFO fix_engine_2::engine: Initiator: Sending message FixMessage { header: {"35": "A", "49": "INITIATOR", "52": "20231016-12:30:00.123", "8": "FIX.4.4", "56": "ACCEPTOR", "34": "1"}, body: {}, trailer: {} } [INFO] [stdout] 2025-02-13T15:29:01.726193Z  INFO fix_engine_2::engine: Acceptor: Received message FixMessage { header: {"9": "60", "8": "FIX.4.4", "49": "INITIATOR", "34": "1", "52": "20231016-12:30:00.123", "35": "A", "56": "ACCEPTOR"}, body: {"9": "60"}, trailer: {"10": "210"} } [INFO] [stdout] 2025-02-13T15:29:01.726304Z  INFO fix_engine_2::engine: Acceptor: Shutting down. [INFO] [stdout] 2025-02-13T15:29:01.725928Z  INFO fix_engine_2::engine: Acceptor: Ready to send messages. [INFO] [stdout] 2025-02-13T15:29:02.738933Z  INFO fix_engine_2::engine: Acceptor: Shutdown signal received, exiting receive thread. [INFO] [stdout] 2025-02-13T15:29:02.739158Z  INFO fix_engine_2::engine: Acceptor: Fully shut down. [INFO] [stdout] test test_initiator_acceptor_can_exchange_messages has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "bddd6b4d0d6edb63d02f5b209fad5a65805743fa17273a3211fc75b171f32ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddd6b4d0d6edb63d02f5b209fad5a65805743fa17273a3211fc75b171f32ed7", kill_on_drop: false }` [INFO] [stdout] bddd6b4d0d6edb63d02f5b209fad5a65805743fa17273a3211fc75b171f32ed7