[INFO] fetching crate mbpr 0.0.1... [INFO] testing mbpr-0.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate mbpr 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate mbpr 0.0.1 [INFO] finished tweaking crates.io crate mbpr 0.0.1 [INFO] tweaked toml for crates.io crate mbpr 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mbpr 0.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding nom v2.2.1 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4de4785596967a75cdc2755c2943420fe2f79e00602a270831aff4ea28e3a29 [INFO] running `Command { std: "docker" "start" "-a" "e4de4785596967a75cdc2755c2943420fe2f79e00602a270831aff4ea28e3a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4de4785596967a75cdc2755c2943420fe2f79e00602a270831aff4ea28e3a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4de4785596967a75cdc2755c2943420fe2f79e00602a270831aff4ea28e3a29", kill_on_drop: false }` [INFO] [stdout] e4de4785596967a75cdc2755c2943420fe2f79e00602a270831aff4ea28e3a29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dfe2268f4414b93c8255bc694009ee0cbd9deee146e120daca463d66dd7803d [INFO] running `Command { std: "docker" "start" "-a" "1dfe2268f4414b93c8255bc694009ee0cbd9deee146e120daca463d66dd7803d", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling mbpr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/request.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | ///Parse only the header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | write_data!(x, 2, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u16::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | write_data!(x, 4, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u32::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | write_data!(x, 8, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u64::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 154 | | h: parse_req_header >> [INFO] [stdout] 155 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 156 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 163 | | }) [INFO] [stdout] 164 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/response.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 176 | | h: parse_res_header >> [INFO] [stdout] 177 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 178 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1dfe2268f4414b93c8255bc694009ee0cbd9deee146e120daca463d66dd7803d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dfe2268f4414b93c8255bc694009ee0cbd9deee146e120daca463d66dd7803d", kill_on_drop: false }` [INFO] [stdout] 1dfe2268f4414b93c8255bc694009ee0cbd9deee146e120daca463d66dd7803d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd6a6293d5dceb8af7c0658451d55157ee01a6b1019913a76269dd23a8a6b01f [INFO] running `Command { std: "docker" "start" "-a" "bd6a6293d5dceb8af7c0658451d55157ee01a6b1019913a76269dd23a8a6b01f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/request.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | ///Parse only the header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | write_data!(x, 2, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u16::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | write_data!(x, 4, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u32::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | write_data!(x, 8, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u64::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 154 | | h: parse_req_header >> [INFO] [stdout] 155 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 156 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 163 | | }) [INFO] [stdout] 164 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mbpr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/response.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 176 | | h: parse_res_header >> [INFO] [stdout] 177 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 178 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/request.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | ///Parse only the header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | write_data!(x, 2, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u16::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | write_data!(x, 4, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u32::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | write_data!(x, 8, self.pos, self.data.as_mut_slice()); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stdout] 42 + let buff: [u8;$len] = u64::to_ne_bytes(swap); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 154 | | h: parse_req_header >> [INFO] [stdout] 155 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 156 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 163 | | }) [INFO] [stdout] 164 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 153 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/response.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request, do_parse!( [INFO] [stdout] | - ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 176 | | h: parse_res_header >> [INFO] [stdout] 177 | | e: take!(h.get_extralen()) >> [INFO] [stdout] 178 | | k: take!(h.get_keylen()) >> [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 175 | named!(parse_request>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bd6a6293d5dceb8af7c0658451d55157ee01a6b1019913a76269dd23a8a6b01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd6a6293d5dceb8af7c0658451d55157ee01a6b1019913a76269dd23a8a6b01f", kill_on_drop: false }` [INFO] [stdout] bd6a6293d5dceb8af7c0658451d55157ee01a6b1019913a76269dd23a8a6b01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ad237002ef583fa1e0f408335e37090c798f9abecb311d5140ff8a0188bd2ed [INFO] running `Command { std: "docker" "start" "-a" "4ad237002ef583fa1e0f408335e37090c798f9abecb311d5140ff8a0188bd2ed", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/request.rs:94:1 [INFO] [stderr] | [INFO] [stderr] 94 | ///Parse only the header [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/lib.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | write_data!(x, 2, self.pos, self.data.as_mut_slice()); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stderr] 42 + let buff: [u8;$len] = u16::to_ne_bytes(swap); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | write_data!(x, 4, self.pos, self.data.as_mut_slice()); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stderr] 42 + let buff: [u8;$len] = u32::to_ne_bytes(swap); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | let buff: [u8;$len] = transmute(swap); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 231 | write_data!(x, 8, self.pos, self.data.as_mut_slice()); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `write_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 42 - let buff: [u8;$len] = transmute(swap); [INFO] [stderr] 42 + let buff: [u8;$len] = u64::to_ne_bytes(swap); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/request.rs:153:26 [INFO] [stderr] | [INFO] [stderr] 153 | named!(parse_request, do_parse!( [INFO] [stderr] | - ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | _____| [INFO] [stderr] | | [INFO] [stderr] 154 | | h: parse_req_header >> [INFO] [stderr] 155 | | e: take!(h.get_extralen()) >> [INFO] [stderr] 156 | | k: take!(h.get_keylen()) >> [INFO] [stderr] ... | [INFO] [stderr] 163 | | }) [INFO] [stderr] 164 | | )); [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |______the lifetime is named here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 153 | named!(parse_request>, do_parse!( [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/response.rs:175:26 [INFO] [stderr] | [INFO] [stderr] 175 | named!(parse_request, do_parse!( [INFO] [stderr] | - ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | _____| [INFO] [stderr] | | [INFO] [stderr] 176 | | h: parse_res_header >> [INFO] [stderr] 177 | | e: take!(h.get_extralen()) >> [INFO] [stderr] 178 | | k: take!(h.get_keylen()) >> [INFO] [stderr] ... | [INFO] [stderr] 185 | | }) [INFO] [stderr] 186 | | )); [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |______the lifetime is named here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 175 | named!(parse_request>, do_parse!( [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mbpr` (lib) generated 7 warnings (run `cargo fix --lib -p mbpr` to apply 5 suggestions) [INFO] [stderr] warning: `mbpr` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mbpr-cf0507575e259361) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test opcode::test_opcode_decode ... ok [INFO] [stdout] test test_encode_u16 ... ok [INFO] [stdout] test test_encode_u32 ... ok [INFO] [stdout] test test_encode_u64 ... ok [INFO] [stdout] test test_encoding_vec ... ok [INFO] [stdout] test status::test_status_field ... ok [INFO] [stdout] test test_encode_slice ... ok [INFO] [stderr] Running tests/doc_examples.rs (/opt/rustwide/target/debug/deps/doc_examples-cbca4af34209426d) [INFO] [stdout] test test_encode_u8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test error_message_response ... ok [INFO] [stdout] test add_request ... ok [INFO] [stdout] test get_response ... ok [INFO] [stdout] test get_request ... ok [INFO] [stdout] test get_response_with_k ... ok [INFO] [stderr] Doc-tests mbpr [INFO] [stdout] test add_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "4ad237002ef583fa1e0f408335e37090c798f9abecb311d5140ff8a0188bd2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad237002ef583fa1e0f408335e37090c798f9abecb311d5140ff8a0188bd2ed", kill_on_drop: false }` [INFO] [stdout] 4ad237002ef583fa1e0f408335e37090c798f9abecb311d5140ff8a0188bd2ed