[INFO] cloning repository https://github.com/varesa/rs-network-stack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/varesa/rs-network-stack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2Frs-network-stack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2Frs-network-stack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48d0cc59118c19121ae62a7a08e01ea891efd3d1 [INFO] building varesa/rs-network-stack against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2Frs-network-stack" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/varesa/rs-network-stack on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-106/source/.cargo/config [INFO] started tweaking git repo https://github.com/varesa/rs-network-stack [INFO] finished tweaking git repo https://github.com/varesa/rs-network-stack [INFO] tweaked toml for git repo https://github.com/varesa/rs-network-stack written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/varesa/rs-network-stack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded internet-checksum v0.2.0 [INFO] [stderr] Downloaded netdevice v0.1.1 [INFO] [stderr] Downloaded nix v0.19.0 [INFO] [stderr] Downloaded network_bridge v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8218ae30fd594e79dbb8fbc8177313a79084000177809be9b1960b4b5fafd0e [INFO] running `Command { std: "docker" "start" "-a" "f8218ae30fd594e79dbb8fbc8177313a79084000177809be9b1960b4b5fafd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8218ae30fd594e79dbb8fbc8177313a79084000177809be9b1960b4b5fafd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8218ae30fd594e79dbb8fbc8177313a79084000177809be9b1960b4b5fafd0e", kill_on_drop: false }` [INFO] [stdout] f8218ae30fd594e79dbb8fbc8177313a79084000177809be9b1960b4b5fafd0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944d57798a5ea1e61d717355d3c6a3fa117d1bc7d3cd5f6faa26bfe1c9a362ab [INFO] running `Command { std: "docker" "start" "-a" "944d57798a5ea1e61d717355d3c6a3fa117d1bc7d3cd5f6faa26bfe1c9a362ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling internet-checksum v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling netdevice v0.1.1 [INFO] [stderr] Compiling nix v0.19.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling network_bridge v0.1.1 [INFO] [stderr] Compiling rs-network-stack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `my_protocol_address` [INFO] [stdout] --> src/net.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | my_protocol_address: &ProtocolAddress<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_protocol_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `echo_request` [INFO] [stdout] --> src/net.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | echo_request: &mut IcmpPacket<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_echo_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/net.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | mut send: F [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | mut send: F [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 is never used: `reply_ping` [INFO] [stdout] --> src/net.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn reply_ping<'a, F> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethertype` [INFO] [stdout] --> src/protocols/ethernet.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | ethertype: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnknownPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/ethernet.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[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: `bytes` [INFO] [stdout] --> src/protocols/ethernet.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | bytes: &'a mut [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnknownPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/ethernet.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[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: `options` [INFO] [stdout] --> src/protocols/ipv4.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option<&'a mut [u8]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(format!("Usage: {} ", args.get(0).unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 16 - panic!(format!("Usage: {} ", args.get(0).unwrap())); [INFO] [stdout] 16 + panic!("Usage: {} ", args.get(0).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "944d57798a5ea1e61d717355d3c6a3fa117d1bc7d3cd5f6faa26bfe1c9a362ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944d57798a5ea1e61d717355d3c6a3fa117d1bc7d3cd5f6faa26bfe1c9a362ab", kill_on_drop: false }` [INFO] [stdout] 944d57798a5ea1e61d717355d3c6a3fa117d1bc7d3cd5f6faa26bfe1c9a362ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca3b495ca539ac6c58363a0c9527aed55bcd05c128d02f93cbffc1cf600553eb [INFO] running `Command { std: "docker" "start" "-a" "ca3b495ca539ac6c58363a0c9527aed55bcd05c128d02f93cbffc1cf600553eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rs-network-stack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `my_protocol_address` [INFO] [stdout] --> src/net.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | my_protocol_address: &ProtocolAddress<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_protocol_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `echo_request` [INFO] [stdout] --> src/net.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | echo_request: &mut IcmpPacket<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_echo_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/net.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | mut send: F [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | mut send: F [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 is never used: `reply_ping` [INFO] [stdout] --> src/net.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn reply_ping<'a, F> ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethertype` [INFO] [stdout] --> src/protocols/ethernet.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | ethertype: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnknownPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/ethernet.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[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: `bytes` [INFO] [stdout] --> src/protocols/ethernet.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | bytes: &'a mut [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnknownPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/ethernet.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[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: `options` [INFO] [stdout] --> src/protocols/ipv4.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option<&'a mut [u8]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(format!("Usage: {} ", args.get(0).unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 16 - panic!(format!("Usage: {} ", args.get(0).unwrap())); [INFO] [stdout] 16 + panic!("Usage: {} ", args.get(0).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.17s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rs_network_stack-d46217e409a76a86) [INFO] running `Command { std: "docker" "inspect" "ca3b495ca539ac6c58363a0c9527aed55bcd05c128d02f93cbffc1cf600553eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3b495ca539ac6c58363a0c9527aed55bcd05c128d02f93cbffc1cf600553eb", kill_on_drop: false }` [INFO] [stdout] ca3b495ca539ac6c58363a0c9527aed55bcd05c128d02f93cbffc1cf600553eb