[INFO] fetching crate socket-server-mocker 0.5.0... [INFO] testing socket-server-mocker-0.5.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate socket-server-mocker 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate socket-server-mocker 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate socket-server-mocker 0.5.0 [INFO] tweaked toml for crates.io crate socket-server-mocker 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate socket-server-mocker 0.5.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 233 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded trust-dns-client v0.23.2 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded hostname v0.4.1 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36ac746e000af77bf61038c87348b1ae3999638265f91547c813d25820dd9357 [INFO] running `Command { std: "docker" "start" "-a" "36ac746e000af77bf61038c87348b1ae3999638265f91547c813d25820dd9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ac746e000af77bf61038c87348b1ae3999638265f91547c813d25820dd9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ac746e000af77bf61038c87348b1ae3999638265f91547c813d25820dd9357", kill_on_drop: false }` [INFO] [stdout] 36ac746e000af77bf61038c87348b1ae3999638265f91547c813d25820dd9357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b4a9824eae3c138c26bae4776718662b156eac13660ea388c2a0d4147d706ad [INFO] running `Command { std: "docker" "start" "-a" "4b4a9824eae3c138c26bae4776718662b156eac13660ea388c2a0d4147d706ad", kill_on_drop: false }` [INFO] [stderr] Compiling socket-server-mocker v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/instructions.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | SendMessageDependingOnLastReceivedMessage(fn(Option>) -> Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "4b4a9824eae3c138c26bae4776718662b156eac13660ea388c2a0d4147d706ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4a9824eae3c138c26bae4776718662b156eac13660ea388c2a0d4147d706ad", kill_on_drop: false }` [INFO] [stdout] 4b4a9824eae3c138c26bae4776718662b156eac13660ea388c2a0d4147d706ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 590e2492f083e16befcc31247479363472be9a35e7a4fa0c5f980734040ace57 [INFO] running `Command { std: "docker" "start" "-a" "590e2492f083e16befcc31247479363472be9a35e7a4fa0c5f980734040ace57", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling socket-server-mocker v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/instructions.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | SendMessageDependingOnLastReceivedMessage(fn(Option>) -> Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling lettre v0.11.18 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling postgres v0.19.11 [INFO] [stderr] Compiling trust-dns-client v0.23.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/simple_tcp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::{Read, Write}; [INFO] [stdout] 2 | | use std::net::TcpStream; [INFO] [stdout] 3 | | use std::str::from_utf8; [INFO] [stdout] 4 | | use std::thread::sleep; [INFO] [stdout] ... | [INFO] [stdout] 136 | | assert!(!err.is_fatal()); [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/dns_mock.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::net::Ipv4Addr; [INFO] [stdout] 2 | | use std::str::FromStr; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use socket_server_mocker::Instruction::{ [INFO] [stdout] ... | [INFO] [stdout] 66 | | assert!(server.pop_server_error().is_none()); [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/simple_udp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::net::UdpSocket; [INFO] [stdout] 2 | | use std::str::from_utf8; [INFO] [stdout] 3 | | use std::thread::sleep; [INFO] [stdout] ... | [INFO] [stdout] 142 | | assert!(!mocked_server_error_received.unwrap().is_fatal()); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/http_reqwest_api_mock.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::str::from_utf8; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use socket_server_mocker::Instruction::{ReceiveMessage, SendMessage, StopExchange}; [INFO] [stdout] 4 | | use socket_server_mocker::ServerMocker; [INFO] [stdout] ... | [INFO] [stdout] 43 | | assert!(server.pop_server_error().is_none()); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/simple_sending_tcp_message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::Read; [INFO] [stdout] 2 | | use std::net::TcpStream; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use socket_server_mocker::Instruction::SendMessage; [INFO] [stdout] ... | [INFO] [stdout] 29 | | assert!(server.pop_server_error().is_none()); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/smtp_mock.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::time::Duration; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use lettre::transport::smtp::client::Tls; [INFO] [stdout] 4 | | use lettre::{Message, SmtpTransport, Transport}; [INFO] [stdout] ... | [INFO] [stdout] 102 | | assert!(server.pop_server_error().is_none()); [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/instructions.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | SendMessageDependingOnLastReceivedMessage(fn(Option>) -> Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/simple_receiving_tcp_message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::Write; [INFO] [stdout] 2 | | use std::net::TcpStream; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use socket_server_mocker::Instruction::{ReceiveMessage, StopExchange}; [INFO] [stdout] ... | [INFO] [stdout] 21 | | assert!(server.pop_server_error().is_none()); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.91s [INFO] running `Command { std: "docker" "inspect" "590e2492f083e16befcc31247479363472be9a35e7a4fa0c5f980734040ace57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590e2492f083e16befcc31247479363472be9a35e7a4fa0c5f980734040ace57", kill_on_drop: false }` [INFO] [stdout] 590e2492f083e16befcc31247479363472be9a35e7a4fa0c5f980734040ace57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cde3edc712f6f62564a379c1e4b37836f9f30ebdf3e4ae74548b9565cafab423 [INFO] running `Command { std: "docker" "start" "-a" "cde3edc712f6f62564a379c1e4b37836f9f30ebdf3e4ae74548b9565cafab423", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/instructions.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 29 | SendMessageDependingOnLastReceivedMessage(fn(Option>) -> Option>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `socket-server-mocker` (lib) generated 1 warning [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/simple_receiving_tcp_message.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::io::Write; [INFO] [stderr] 2 | | use std::net::TcpStream; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use socket_server_mocker::Instruction::{ReceiveMessage, StopExchange}; [INFO] [stderr] ... | [INFO] [stderr] 21 | | assert!(server.pop_server_error().is_none()); [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/smtp_mock.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::time::Duration; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use lettre::transport::smtp::client::Tls; [INFO] [stderr] 4 | | use lettre::{Message, SmtpTransport, Transport}; [INFO] [stderr] ... | [INFO] [stderr] 102 | | assert!(server.pop_server_error().is_none()); [INFO] [stderr] 103 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/dns_mock.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::net::Ipv4Addr; [INFO] [stderr] 2 | | use std::str::FromStr; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use socket_server_mocker::Instruction::{ [INFO] [stderr] ... | [INFO] [stderr] 66 | | assert!(server.pop_server_error().is_none()); [INFO] [stderr] 67 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/http_reqwest_api_mock.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::str::from_utf8; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use socket_server_mocker::Instruction::{ReceiveMessage, SendMessage, StopExchange}; [INFO] [stderr] 4 | | use socket_server_mocker::ServerMocker; [INFO] [stderr] ... | [INFO] [stderr] 43 | | assert!(server.pop_server_error().is_none()); [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/simple_sending_tcp_message.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::io::Read; [INFO] [stderr] 2 | | use std::net::TcpStream; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use socket_server_mocker::Instruction::SendMessage; [INFO] [stderr] ... | [INFO] [stderr] 29 | | assert!(server.pop_server_error().is_none()); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/simple_udp.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::net::UdpSocket; [INFO] [stderr] 2 | | use std::str::from_utf8; [INFO] [stderr] 3 | | use std::thread::sleep; [INFO] [stderr] ... | [INFO] [stderr] 142 | | assert!(!mocked_server_error_received.unwrap().is_fatal()); [INFO] [stderr] 143 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/simple_tcp.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::io::{Read, Write}; [INFO] [stderr] 2 | | use std::net::TcpStream; [INFO] [stderr] 3 | | use std::str::from_utf8; [INFO] [stderr] 4 | | use std::thread::sleep; [INFO] [stderr] ... | [INFO] [stderr] 136 | | assert!(!err.is_fatal()); [INFO] [stderr] 137 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: `socket-server-mocker` (test "simple_receiving_tcp_message") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (test "smtp_mock") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (test "dns_mock") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `socket-server-mocker` (test "http_reqwest_api_mock") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (test "simple_sending_tcp_message") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (test "simple_udp") generated 1 warning [INFO] [stderr] warning: `socket-server-mocker` (test "simple_tcp") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/socket_server_mocker-e1f77265e0b4f137) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/dns_mock.rs (/opt/rustwide/target/debug/deps/dns_mock-c6078f781319b9c3) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_dns_mock ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/http_reqwest_api_mock.rs (/opt/rustwide/target/debug/deps/http_reqwest_api_mock-4dae2f4cd54e9776) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test http_get ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/postgres_mock.rs (/opt/rustwide/target/debug/deps/postgres_mock-eb089869a4f94940) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test postgres_select_mock ... ok [INFO] [stdout] test postgres_insert_mock ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- postgres_insert_mock stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'postgres_insert_mock' panicked at tests/postgres_mock.rs:78:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Error { kind: Closed, cause: None } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58e41e745692 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58e41e745692 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58e41e745692 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58e41e745692 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58e41e76e893 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58e41e76e893 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58e41e741673 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58e41e741673 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58e41e7454e2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58e41e746c09 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x58e41e746a3e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x58e41e57e3b4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x58e41e57e3b4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58e41e7475de - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x58e41e7475de - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x58e41e7473aa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x58e41e745b89 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58e41e74703d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x58e41e76ce50 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x58e41e76d316 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x58e41e512f77 - core::result::Result::unwrap::hf4b4e959ab04e3d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x58e41e512f77 - postgres_mock::postgres_insert_mock::hdaf47ee371a19837 [INFO] [stdout] at /opt/rustwide/workdir/tests/postgres_mock.rs:78:10 [INFO] [stdout] 22: 0x58e41e512277 - postgres_mock::postgres_insert_mock::{{closure}}::hb91f32d785999842 [INFO] [stdout] at /opt/rustwide/workdir/tests/postgres_mock.rs:17:26 [INFO] [stdout] 23: 0x58e41e4f5f96 - core::ops::function::FnOnce::call_once::hd43982e5a815fac4 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x58e41e583c1b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x58e41e583c1b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x58e41e582d55 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x58e41e582d55 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x58e41e582d55 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x58e41e582d55 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x58e41e582d55 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58e41e582d55 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x58e41e582d55 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x58e41e546954 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x58e41e546954 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x58e41e54a32a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x58e41e54a32a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x58e41e54a32a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x58e41e54a32a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x58e41e54a32a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58e41e54a32a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x58e41e54a32a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x58e41e74a6ef - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x58e41e74a6ef - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x76b011ba4aa4 - [INFO] [stdout] 45: 0x76b011c31a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] postgres_insert_mock [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test postgres_mock` [INFO] running `Command { std: "docker" "inspect" "cde3edc712f6f62564a379c1e4b37836f9f30ebdf3e4ae74548b9565cafab423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde3edc712f6f62564a379c1e4b37836f9f30ebdf3e4ae74548b9565cafab423", kill_on_drop: false }` [INFO] [stdout] cde3edc712f6f62564a379c1e4b37836f9f30ebdf3e4ae74548b9565cafab423