[INFO] cloning repository https://github.com/fengjian/tap-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fengjian/tap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjian%2Ftap-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjian%2Ftap-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a909d4dd06b78f16e41df0fdf40901771cb73d89 [INFO] building fengjian/tap-rs against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjian%2Ftap-rs" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fengjian/tap-rs on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fengjian/tap-rs [INFO] finished tweaking git repo https://github.com/fengjian/tap-rs [INFO] tweaked toml for git repo https://github.com/fengjian/tap-rs written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/fengjian/tap-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c07add16b1306734d82720466ae3d8a572e0f2c130ce13e4ff2d4e2656a7f8 [INFO] running `Command { std: "docker" "start" "-a" "d0c07add16b1306734d82720466ae3d8a572e0f2c130ce13e4ff2d4e2656a7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c07add16b1306734d82720466ae3d8a572e0f2c130ce13e4ff2d4e2656a7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c07add16b1306734d82720466ae3d8a572e0f2c130ce13e4ff2d4e2656a7f8", kill_on_drop: false }` [INFO] [stdout] d0c07add16b1306734d82720466ae3d8a572e0f2c130ce13e4ff2d4e2656a7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfa9b8e5b0bf2ff9e066cb7e110be296c3974219e2fc327e021566aa64f193c8 [INFO] running `Command { std: "docker" "start" "-a" "bfa9b8e5b0bf2ff9e066cb7e110be296c3974219e2fc327e021566aa64f193c8", 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] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pnet_base v0.26.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling cache-padded v1.1.0 [INFO] [stderr] Compiling parking v1.0.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling fastrand v1.2.4 [INFO] [stderr] Compiling sysinfo v0.13.4 [INFO] [stderr] Compiling pnet v0.26.0 [INFO] [stderr] Compiling boxfnonce v0.1.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling tap-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling pnet_macros_support v0.26.0 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling pnet_sys v0.26.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling daemonize v0.4.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling js-sys v0.3.40 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.26.0 [INFO] [stderr] Compiling web-sys v0.3.40 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling pnet_packet v0.26.0 [INFO] [stderr] Compiling ipnetwork v0.16.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling pnet_datalink v0.26.0 [INFO] [stderr] Compiling pnet_transport v0.26.0 [INFO] [stdout] warning: unused import: `DiskExt` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use sysinfo::{DiskExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/iface.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mode: Mode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Iface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/iface.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | iface.as_ref().write(eth_packet.packet()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | / report_handle.await.map_err(|e| { [INFO] [stdout] 155 | | error!("tcp proc report err: {}", e); [INFO] [stdout] 156 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | / tcp_server_process(s, c).await.map_err(|e| { [INFO] [stdout] 262 | | error!("tcp server process err: {}",e); [INFO] [stdout] 263 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | / tcp_client_mode(config.clone()).await.map_err(|e| { [INFO] [stdout] 279 | | error!("tcp client err: {}", e); [INFO] [stdout] 280 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.11s [INFO] running `Command { std: "docker" "inspect" "bfa9b8e5b0bf2ff9e066cb7e110be296c3974219e2fc327e021566aa64f193c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa9b8e5b0bf2ff9e066cb7e110be296c3974219e2fc327e021566aa64f193c8", kill_on_drop: false }` [INFO] [stdout] bfa9b8e5b0bf2ff9e066cb7e110be296c3974219e2fc327e021566aa64f193c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6ef9268b3cd75050e2d608682a3c56caf67b12e338323a46af4581c089b2c0a [INFO] running `Command { std: "docker" "start" "-a" "b6ef9268b3cd75050e2d608682a3c56caf67b12e338323a46af4581c089b2c0a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tap-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/tap_packet.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/util.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiskExt` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use sysinfo::{DiskExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/iface.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mode: Mode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Iface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/iface.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | iface.as_ref().write(eth_packet.packet()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | / report_handle.await.map_err(|e| { [INFO] [stdout] 155 | | error!("tcp proc report err: {}", e); [INFO] [stdout] 156 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | / tcp_server_process(s, c).await.map_err(|e| { [INFO] [stdout] 262 | | error!("tcp server process err: {}",e); [INFO] [stdout] 263 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | / tcp_client_mode(config.clone()).await.map_err(|e| { [INFO] [stdout] 279 | | error!("tcp client err: {}", e); [INFO] [stdout] 280 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "b6ef9268b3cd75050e2d608682a3c56caf67b12e338323a46af4581c089b2c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ef9268b3cd75050e2d608682a3c56caf67b12e338323a46af4581c089b2c0a", kill_on_drop: false }` [INFO] [stdout] b6ef9268b3cd75050e2d608682a3c56caf67b12e338323a46af4581c089b2c0a