[INFO] fetching crate dfx 1.0.0-beta... [INFO] checking dfx-1.0.0-beta against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dfx 1.0.0-beta into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate dfx 1.0.0-beta [INFO] finished tweaking crates.io crate dfx 1.0.0-beta [INFO] tweaked toml for crates.io crate dfx 1.0.0-beta written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dfx 1.0.0-beta on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.4) [INFO] [stderr] Adding derive_builder v0.11.2 (available: v0.20.2) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.6) [INFO] [stderr] Adding quick-xml v0.26.0 (available: v0.38.3) [INFO] [stderr] Adding serde-xml-rs v0.6.0 (available: v0.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cec02ab11b23bb1abae0241bfa0fd5562bc9f63a4386423938c384d88daebb9 [INFO] running `Command { std: "docker" "start" "-a" "3cec02ab11b23bb1abae0241bfa0fd5562bc9f63a4386423938c384d88daebb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cec02ab11b23bb1abae0241bfa0fd5562bc9f63a4386423938c384d88daebb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cec02ab11b23bb1abae0241bfa0fd5562bc9f63a4386423938c384d88daebb9", kill_on_drop: false }` [INFO] [stdout] 3cec02ab11b23bb1abae0241bfa0fd5562bc9f63a4386423938c384d88daebb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e46a8acb3ecaab349fd3ecfbf0261971e834af9681c6638bbcc295101f09aa [INFO] running `Command { std: "docker" "start" "-a" "a4e46a8acb3ecaab349fd3ecfbf0261971e834af9681c6638bbcc295101f09aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking dfx-base v1.0.0-beta [INFO] [stderr] Checking dfx v1.0.0-beta (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) mod fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `fields` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use dfx_base::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) mod fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) mod fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `fields` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use dfx_base::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) mod fields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/message_store.rs:442:38 [INFO] [stdout] | [INFO] [stdout] 442 | use std::{path::Path, assert_eq, fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::session` [INFO] [stdout] --> src/session/application.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::session; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/connection/reactor.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logging::LogFactory` [INFO] [stdout] --> src/session/session.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::logging::LogFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/connection/reactor.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logging::LogFactory` [INFO] [stdout] --> src/session/session.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::logging::LogFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/initiator.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | ConnectionError(ConnectionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 84 - ConnectionError(ConnectionError), [INFO] [stdout] 84 + ConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/initiator.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - IoError(std::io::Error), [INFO] [stdout] 86 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | ConnectionError(ConnectionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - ConnectionError(ConnectionError), [INFO] [stdout] 40 + ConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | MessageParseError(MessageParseError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - MessageParseError(MessageParseError), [INFO] [stdout] 42 + MessageParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - IoError(std::io::Error), [INFO] [stdout] 43 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | StreamError(StreamError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - StreamError(StreamError), [INFO] [stdout] 44 + StreamError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fields/fields.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct MsgType(Field); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `TAG` and `new` are never used [INFO] [stdout] --> src/fields/fields.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl MsgType { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub const TAG: Tag = tags::MsgType; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(msg_type: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NONE` is never used [INFO] [stdout] --> src/fields/fields.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 52 | impl HeartBtInt { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub const NONE: u32 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NONE` is never used [INFO] [stdout] --> src/fields/fields.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 89 | impl ResetSeqNumFlag { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub const NONE: u32 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoLogger` is never constructed [INFO] [stdout] --> src/logging.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct NoLogger; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_session_id` is never used [INFO] [stdout] --> src/session/session.rs:1528:19 [INFO] [stdout] | [INFO] [stdout] 166 | / impl ISession [INFO] [stdout] 167 | | where App: Application + Clone + 'static, [INFO] [stdout] 168 | | DDP: DataDictionaryProvider + Send + Clone + 'static, [INFO] [stdout] 169 | | Log: Logger + Clone, [INFO] [stdout] 170 | | MF: MessageFactory + Send + Clone + 'static, [INFO] [stdout] | |__________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1528 | pub(crate) fn set_session_id(&mut self, clone: SessionId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EvenMinutes` is never constructed [INFO] [stdout] --> src/session/session_schedule.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum SessionSchedule { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | EvenMinutes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionSchedule` 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: unused variable: `n` [INFO] [stdout] --> tests/common/runner.rs:161:57 [INFO] [stdout] | [INFO] [stdout] 161 | if !(matches!(filtered[0], &TestStep::ExpectConnect(n)) || matches!(filtered[0], &TestStep::InitiateConnect(n))) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> tests/common/runner.rs:161:113 [INFO] [stdout] | [INFO] [stdout] 161 | if !(matches!(filtered[0], &TestStep::ExpectConnect(n)) || matches!(filtered[0], &TestStep::InitiateConnect(n))) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> tests/common/runner.rs:162:64 [INFO] [stdout] | [INFO] [stdout] 162 | assert!(matches!(filtered[0], &TestStep::ExpectConnect(n)) || matches!(filtered[0], &TestStep::InitiateConnect(n))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> tests/common/runner.rs:162:120 [INFO] [stdout] | [INFO] [stdout] 162 | assert!(matches!(filtered[0], &TestStep::ExpectConnect(n)) || matches!(filtered[0], &TestStep::InitiateConnect(n))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/common/runner.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | let mut stream = TcpStream::connect(format!("127.0.0.1:{}", port)) [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: function `version` is never used [INFO] [stdout] --> tests/common/runner.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn version(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> tests/common/test_application.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TestApplication { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendTestApplication` is never constructed [INFO] [stdout] --> tests/common/test_application.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct SendTestApplication; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common/test_application.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl SendTestApplication { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 146 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/initiate_logon_timeout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | runner_thread.join().unwrap(); [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] 28 | let _ = runner_thread.join().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/session/settings/mod.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let session_id = SessionId::new("", "sender", "", "", "target3", "", ""); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/initiator.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | ConnectionError(ConnectionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 84 - ConnectionError(ConnectionError), [INFO] [stdout] 84 + ConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/initiator.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitiatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 - IoError(std::io::Error), [INFO] [stdout] 86 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | ConnectionError(ConnectionError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - ConnectionError(ConnectionError), [INFO] [stdout] 40 + ConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | MessageParseError(MessageParseError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - MessageParseError(MessageParseError), [INFO] [stdout] 42 + MessageParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - IoError(std::io::Error), [INFO] [stdout] 43 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection/reactor.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | StreamError(StreamError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReactorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - StreamError(StreamError), [INFO] [stdout] 44 + StreamError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fields/fields.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct MsgType(Field); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `TAG` and `new` are never used [INFO] [stdout] --> src/fields/fields.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl MsgType { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub const TAG: Tag = tags::MsgType; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(msg_type: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NONE` is never used [INFO] [stdout] --> src/fields/fields.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 52 | impl HeartBtInt { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub const NONE: u32 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NONE` is never used [INFO] [stdout] --> src/fields/fields.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 89 | impl ResetSeqNumFlag { [INFO] [stdout] | -------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub const NONE: u32 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoLogger` is never constructed [INFO] [stdout] --> src/logging.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct NoLogger; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_session_id` is never used [INFO] [stdout] --> src/session/session.rs:1528:19 [INFO] [stdout] | [INFO] [stdout] 166 | / impl ISession [INFO] [stdout] 167 | | where App: Application + Clone + 'static, [INFO] [stdout] 168 | | DDP: DataDictionaryProvider + Send + Clone + 'static, [INFO] [stdout] 169 | | Log: Logger + Clone, [INFO] [stdout] 170 | | MF: MessageFactory + Send + Clone + 'static, [INFO] [stdout] | |__________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1528 | pub(crate) fn set_session_id(&mut self, clone: SessionId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EvenMinutes` is never constructed [INFO] [stdout] --> src/session/session_schedule.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum SessionSchedule { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | EvenMinutes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionSchedule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dfx_testing` [INFO] [stdout] --> tests/server_ext_macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dfx_testing::runner; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dfx_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dfx_testing`, use `cargo add dfx_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `future` [INFO] [stdout] --> tests/server_ext_macro.rs:630:7 [INFO] [stdout] | [INFO] [stdout] 630 | #[cfg(feature="future")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `log` [INFO] [stdout] = help: consider adding `future` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dfx` (test "server_ext_macro") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a4e46a8acb3ecaab349fd3ecfbf0261971e834af9681c6638bbcc295101f09aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e46a8acb3ecaab349fd3ecfbf0261971e834af9681c6638bbcc295101f09aa", kill_on_drop: false }` [INFO] [stdout] a4e46a8acb3ecaab349fd3ecfbf0261971e834af9681c6638bbcc295101f09aa