[INFO] cloning repository https://github.com/khetzl/zfx-socket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khetzl/zfx-socket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhetzl%2Fzfx-socket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhetzl%2Fzfx-socket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d6f16d8e5ade4358881a1cd33b9350c03728b9a [INFO] testing khetzl/zfx-socket against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhetzl%2Fzfx-socket" "/workspace/builds/worker-113/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-113/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khetzl/zfx-socket on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/khetzl/zfx-socket [INFO] finished tweaking git repo https://github.com/khetzl/zfx-socket [INFO] tweaked toml for git repo https://github.com/khetzl/zfx-socket written to /workspace/builds/worker-113/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bd11e56ef4f44f8f9ba9f68d59aa85617b775bc09024adca894c03334fe918d [INFO] running `Command { std: "docker" "start" "-a" "8bd11e56ef4f44f8f9ba9f68d59aa85617b775bc09024adca894c03334fe918d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bd11e56ef4f44f8f9ba9f68d59aa85617b775bc09024adca894c03334fe918d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd11e56ef4f44f8f9ba9f68d59aa85617b775bc09024adca894c03334fe918d", kill_on_drop: false }` [INFO] [stdout] 8bd11e56ef4f44f8f9ba9f68d59aa85617b775bc09024adca894c03334fe918d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d6a4558bf8e396713ae2110282c15aaa4b7c96ffd4ca3b56f9056ec65409d92 [INFO] running `Command { std: "docker" "start" "-a" "1d6a4558bf8e396713ae2110282c15aaa4b7c96ffd4ca3b56f9056ec65409d92", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling zfx-socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `send_handler` [INFO] [stdout] --> src/active.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | send_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receive_handler` [INFO] [stdout] --> src/active.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receive_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.75s [INFO] running `Command { std: "docker" "inspect" "1d6a4558bf8e396713ae2110282c15aaa4b7c96ffd4ca3b56f9056ec65409d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6a4558bf8e396713ae2110282c15aaa4b7c96ffd4ca3b56f9056ec65409d92", kill_on_drop: false }` [INFO] [stdout] 1d6a4558bf8e396713ae2110282c15aaa4b7c96ffd4ca3b56f9056ec65409d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda2dd6b4e60a65bdb06e1f6e93d422df7a23bfdf95e4697344e6accded038bc [INFO] running `Command { std: "docker" "start" "-a" "fda2dd6b4e60a65bdb06e1f6e93d422df7a23bfdf95e4697344e6accded038bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: field is never read: `send_handler` [INFO] [stdout] --> src/active.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | send_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zfx-socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `receive_handler` [INFO] [stdout] --> src/active.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receive_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `send_handler` [INFO] [stdout] --> src/active.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | send_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receive_handler` [INFO] [stdout] --> src/active.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receive_handler: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/active.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> tests/one_to_one.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | Response { msg: IncomingMsg }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TestMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> tests/one_to_one.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "fda2dd6b4e60a65bdb06e1f6e93d422df7a23bfdf95e4697344e6accded038bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda2dd6b4e60a65bdb06e1f6e93d422df7a23bfdf95e4697344e6accded038bc", kill_on_drop: false }` [INFO] [stdout] fda2dd6b4e60a65bdb06e1f6e93d422df7a23bfdf95e4697344e6accded038bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4f3207f81dd8d2c685591e707d0d238a0db374f1ffa9c1d13536c3ba755a120 [INFO] running `Command { std: "docker" "start" "-a" "c4f3207f81dd8d2c685591e707d0d238a0db374f1ffa9c1d13536c3ba755a120", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `send_handler` [INFO] [stderr] --> src/active.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | send_handler: JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/active.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `receive_handler` [INFO] [stderr] --> src/active.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | receive_handler: JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Socket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/active.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `zfx-socket` (lib) generated 2 warnings [INFO] [stderr] warning: `zfx-socket` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: field is never read: `msg` [INFO] [stderr] --> tests/one_to_one.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | Response { msg: IncomingMsg }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TestMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> tests/one_to_one.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `zfx-socket` (test "one_to_one") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.58s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zfx_socket-096b62713760ca56) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zfx_socket-24caf2271e335a87) [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/one_to_one.rs (/opt/rustwide/target/debug/deps/one_to_one-5b5b7d3da9e59daa) [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test failure_to_connect_due_to_no_listener ... ok [INFO] [stdout] test simple_server_client_success ... ok [INFO] [stdout] test simple_connection_lifetime - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests zfx-socket [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] running `Command { std: "docker" "inspect" "c4f3207f81dd8d2c685591e707d0d238a0db374f1ffa9c1d13536c3ba755a120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f3207f81dd8d2c685591e707d0d238a0db374f1ffa9c1d13536c3ba755a120", kill_on_drop: false }` [INFO] [stdout] c4f3207f81dd8d2c685591e707d0d238a0db374f1ffa9c1d13536c3ba755a120