[INFO] fetching crate mbpr 0.0.1... [INFO] testing mbpr-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate mbpr 0.0.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mbpr 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a36b08b09ed2295c7e9d83aa126fd1b6b88a021dfe7e7f6d59eb9e557e447d0b [INFO] running `Command { std: "docker" "start" "-a" "a36b08b09ed2295c7e9d83aa126fd1b6b88a021dfe7e7f6d59eb9e557e447d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36b08b09ed2295c7e9d83aa126fd1b6b88a021dfe7e7f6d59eb9e557e447d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36b08b09ed2295c7e9d83aa126fd1b6b88a021dfe7e7f6d59eb9e557e447d0b", kill_on_drop: false }` [INFO] [stdout] a36b08b09ed2295c7e9d83aa126fd1b6b88a021dfe7e7f6d59eb9e557e447d0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf557d9ecd7e51b21cba74b2dcb03d4e06179d3adfc46425664c488dc223fe4f [INFO] running `Command { std: "docker" "start" "-a" "bf557d9ecd7e51b21cba74b2dcb03d4e06179d3adfc46425664c488dc223fe4f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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] | help: replace this with: `u16::to_ne_bytes` [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] [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] | help: replace this with: `u32::to_ne_bytes` [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] [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] | help: replace this with: `u64::to_ne_bytes` [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] [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.72s [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 2` [INFO] running `Command { std: "docker" "inspect" "bf557d9ecd7e51b21cba74b2dcb03d4e06179d3adfc46425664c488dc223fe4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf557d9ecd7e51b21cba74b2dcb03d4e06179d3adfc46425664c488dc223fe4f", kill_on_drop: false }` [INFO] [stdout] bf557d9ecd7e51b21cba74b2dcb03d4e06179d3adfc46425664c488dc223fe4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ab78f45916b5aaac23e6110a0ec53f45307951ef75f6c48a34878478cde29d [INFO] running `Command { std: "docker" "start" "-a" "75ab78f45916b5aaac23e6110a0ec53f45307951ef75f6c48a34878478cde29d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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] | help: replace this with: `u16::to_ne_bytes` [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] [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] | help: replace this with: `u32::to_ne_bytes` [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] [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] | help: replace this with: `u64::to_ne_bytes` [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] [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] 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] | help: replace this with: `u16::to_ne_bytes` [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] [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] | help: replace this with: `u32::to_ne_bytes` [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] [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] | help: replace this with: `u64::to_ne_bytes` [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] [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.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 2` [INFO] running `Command { std: "docker" "inspect" "75ab78f45916b5aaac23e6110a0ec53f45307951ef75f6c48a34878478cde29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ab78f45916b5aaac23e6110a0ec53f45307951ef75f6c48a34878478cde29d", kill_on_drop: false }` [INFO] [stdout] 75ab78f45916b5aaac23e6110a0ec53f45307951ef75f6c48a34878478cde29d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a7bdb6d1d98f29ae99eb9cd763d874f82730ced3b19188d1d80721ead53db11 [INFO] running `Command { std: "docker" "start" "-a" "6a7bdb6d1d98f29ae99eb9cd763d874f82730ced3b19188d1d80721ead53db11", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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] | help: replace this with: `u16::to_ne_bytes` [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] [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] | help: replace this with: `u32::to_ne_bytes` [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] [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] | help: replace this with: `u64::to_ne_bytes` [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] [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] [stdout] [INFO] [stderr] | the same lifetime is named here [INFO] [stdout] running 8 tests [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.07s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mbpr-10d5fadd06d34174) [INFO] [stdout] test opcode::test_opcode_decode ... ok [INFO] [stdout] test test_encode_slice ... ok [INFO] [stdout] test test_encode_u16 ... ok [INFO] [stdout] test test_encode_u64 ... ok [INFO] [stdout] test test_encode_u8 ... ok [INFO] [stdout] test test_encoding_vec ... ok [INFO] [stdout] test test_encode_u32 ... ok [INFO] [stdout] test status::test_status_field ... ok [INFO] [stderr] Running tests/doc_examples.rs (/opt/rustwide/target/debug/deps/doc_examples-77b1a047f5b439a6) [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test add_response ... ok [INFO] [stdout] test error_message_response ... ok [INFO] [stdout] test add_request ... ok [INFO] [stdout] test get_request ... ok [INFO] [stdout] test get_response_with_k ... ok [INFO] [stdout] test get_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] [stderr] Doc-tests mbpr [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" "6a7bdb6d1d98f29ae99eb9cd763d874f82730ced3b19188d1d80721ead53db11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7bdb6d1d98f29ae99eb9cd763d874f82730ced3b19188d1d80721ead53db11", kill_on_drop: false }` [INFO] [stdout] 6a7bdb6d1d98f29ae99eb9cd763d874f82730ced3b19188d1d80721ead53db11