[INFO] fetching crate libtftp 0.1.2... [INFO] testing libtftp-0.1.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate libtftp 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate libtftp 0.1.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libtftp 0.1.2 [INFO] finished tweaking crates.io crate libtftp 0.1.2 [INFO] tweaked toml for crates.io crate libtftp 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b072dd9b1c64deee7a1d9cbbb638e7bd125ecc34bdfdfecf12633b573373bcdb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b072dd9b1c64deee7a1d9cbbb638e7bd125ecc34bdfdfecf12633b573373bcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b072dd9b1c64deee7a1d9cbbb638e7bd125ecc34bdfdfecf12633b573373bcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b072dd9b1c64deee7a1d9cbbb638e7bd125ecc34bdfdfecf12633b573373bcdb", kill_on_drop: false }` [INFO] [stdout] b072dd9b1c64deee7a1d9cbbb638e7bd125ecc34bdfdfecf12633b573373bcdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 217de36ec120498a79676c0dccc1fe9edfd21157a618b8df39e70d44aa36a655 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "217de36ec120498a79676c0dccc1fe9edfd21157a618b8df39e70d44aa36a655", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.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 iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling libtftp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | buf.put_u16::(opcode); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | buf.put_u16::(3); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | buf.put_u16::(code); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | let opcode = opcode.into_buf().get_u16::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | 4 => Packet::ACK(rest.into_buf().get_u16::()), [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 5.25s [INFO] running `Command { std: "docker" "inspect" "217de36ec120498a79676c0dccc1fe9edfd21157a618b8df39e70d44aa36a655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "217de36ec120498a79676c0dccc1fe9edfd21157a618b8df39e70d44aa36a655", kill_on_drop: false }` [INFO] [stdout] 217de36ec120498a79676c0dccc1fe9edfd21157a618b8df39e70d44aa36a655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9883924ea51474a6bf90a3dc8c05bbf19aeef0330ab5f9566c046ebcbd1b592d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9883924ea51474a6bf90a3dc8c05bbf19aeef0330ab5f9566c046ebcbd1b592d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | buf.put_u16::(opcode); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | buf.put_u16::(3); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | buf.put_u16::(code); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | let opcode = opcode.into_buf().get_u16::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | 4 => Packet::ACK(rest.into_buf().get_u16::()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling libtftp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | buf.put_u16::(opcode); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | buf.put_u16::(3); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | buf.put_u16::(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | buf.put_u16::(4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/tftp/packet.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | buf.put_u16::(code); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | let opcode = opcode.into_buf().get_u16::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stdout] --> src/tftp/packet.rs:163:46 [INFO] [stdout] | [INFO] [stdout] 163 | 4 => Packet::ACK(rest.into_buf().get_u16::()), [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 7.19s [INFO] running `Command { std: "docker" "inspect" "9883924ea51474a6bf90a3dc8c05bbf19aeef0330ab5f9566c046ebcbd1b592d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9883924ea51474a6bf90a3dc8c05bbf19aeef0330ab5f9566c046ebcbd1b592d", kill_on_drop: false }` [INFO] [stdout] 9883924ea51474a6bf90a3dc8c05bbf19aeef0330ab5f9566c046ebcbd1b592d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8eeb7883f06461258993f4988b5498b2b7216ace823c7cff5bbfa1acc93a6679 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8eeb7883f06461258993f4988b5498b2b7216ace823c7cff5bbfa1acc93a6679", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | buf.put_u16::(opcode); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | buf.put_u16::(3); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | buf.put_u16::(block); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | buf.put_u16::(4); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | buf.put_u16::(block); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | buf.put_u16::(4); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | buf.put_u16::(code); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stderr] --> src/tftp/packet.rs:150:40 [INFO] [stderr] | [INFO] [stderr] 150 | let opcode = opcode.into_buf().get_u16::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stderr] --> src/tftp/packet.rs:163:46 [INFO] [stderr] | [INFO] [stderr] 163 | 4 => Packet::ACK(rest.into_buf().get_u16::()), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | buf.put_u16::(opcode); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | buf.put_u16::(3); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | buf.put_u16::(block); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | buf.put_u16::(4); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | buf.put_u16::(block); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | buf.put_u16::(4); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/tftp/packet.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | buf.put_u16::(code); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stderr] --> src/tftp/packet.rs:150:40 [INFO] [stderr] | [INFO] [stderr] 150 | let opcode = opcode.into_buf().get_u16::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u16`: use get_u16_be or get_u16_le [INFO] [stderr] --> src/tftp/packet.rs:163:46 [INFO] [stderr] | [INFO] [stderr] 163 | 4 => Packet::ACK(rest.into_buf().get_u16::()), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libtftp-5756652b131fcdd4) [INFO] [stdout] running 4 tests [INFO] [stdout] test tftp::packet::tests::error ... ok [INFO] [stdout] test tftp::packet::tests::wrq ... ok [INFO] [stdout] test tftp::packet::tests::rrq ... ok [INFO] [stdout] test tftp::packet::tests::ack ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libtftp [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" "8eeb7883f06461258993f4988b5498b2b7216ace823c7cff5bbfa1acc93a6679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eeb7883f06461258993f4988b5498b2b7216ace823c7cff5bbfa1acc93a6679", kill_on_drop: false }` [INFO] [stdout] 8eeb7883f06461258993f4988b5498b2b7216ace823c7cff5bbfa1acc93a6679