[INFO] fetching crate libtftp 0.1.2... [INFO] building libtftp-0.1.2 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2 [INFO] extracting crate libtftp 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate libtftp 0.1.2 on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.9.0) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.6) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6abc9bba9caf8e863c91c65addfef181c8e82489b259353b29abb5320d5b5028 [INFO] running `Command { std: "docker" "start" "-a" "6abc9bba9caf8e863c91c65addfef181c8e82489b259353b29abb5320d5b5028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6abc9bba9caf8e863c91c65addfef181c8e82489b259353b29abb5320d5b5028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abc9bba9caf8e863c91c65addfef181c8e82489b259353b29abb5320d5b5028", kill_on_drop: false }` [INFO] [stdout] 6abc9bba9caf8e863c91c65addfef181c8e82489b259353b29abb5320d5b5028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a5b5fc732d1c54e00c159bb69b1800c5ce73d9e4b973f28c1ff55a924066713 [INFO] running `Command { std: "docker" "start" "-a" "7a5b5fc732d1c54e00c159bb69b1800c5ce73d9e4b973f28c1ff55a924066713", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [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 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(all(feature = "cargo-clippy", feature = "pedantic"), warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", warn(use_self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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: field `data` is never read [INFO] [stdout] --> src/server.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct TftpServer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | data: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TftpServer` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.02s [INFO] running `Command { std: "docker" "inspect" "7a5b5fc732d1c54e00c159bb69b1800c5ce73d9e4b973f28c1ff55a924066713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5b5fc732d1c54e00c159bb69b1800c5ce73d9e4b973f28c1ff55a924066713", kill_on_drop: false }` [INFO] [stdout] 7a5b5fc732d1c54e00c159bb69b1800c5ce73d9e4b973f28c1ff55a924066713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 867c391b0aedb4a7b59359bf05fbd451ef8d5227d9f2653e9d382d5534a316bb [INFO] running `Command { std: "docker" "start" "-a" "867c391b0aedb4a7b59359bf05fbd451ef8d5227d9f2653e9d382d5534a316bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(all(feature = "cargo-clippy", feature = "pedantic"), warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", warn(use_self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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: field `data` is never read [INFO] [stdout] --> src/server.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct TftpServer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | data: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TftpServer` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling libtftp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(all(feature = "cargo-clippy", feature = "pedantic"), warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", warn(use_self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `pedantic` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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: field `data` is never read [INFO] [stdout] --> src/server.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct TftpServer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | data: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TftpServer` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "867c391b0aedb4a7b59359bf05fbd451ef8d5227d9f2653e9d382d5534a316bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "867c391b0aedb4a7b59359bf05fbd451ef8d5227d9f2653e9d382d5534a316bb", kill_on_drop: false }` [INFO] [stdout] 867c391b0aedb4a7b59359bf05fbd451ef8d5227d9f2653e9d382d5534a316bb