[INFO] fetching crate safe-transmute 0.11.3... [INFO] testing safe-transmute-0.11.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate safe-transmute 0.11.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate safe-transmute 0.11.3 [INFO] finished tweaking crates.io crate safe-transmute 0.11.3 [INFO] tweaked toml for crates.io crate safe-transmute 0.11.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safe-transmute 0.11.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a391f1cc0967b10c2c932789d7b405c3eb265182805e492eb517182864aef516 [INFO] running `Command { std: "docker" "start" "-a" "a391f1cc0967b10c2c932789d7b405c3eb265182805e492eb517182864aef516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a391f1cc0967b10c2c932789d7b405c3eb265182805e492eb517182864aef516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a391f1cc0967b10c2c932789d7b405c3eb265182805e492eb517182864aef516", kill_on_drop: false }` [INFO] [stdout] a391f1cc0967b10c2c932789d7b405c3eb265182805e492eb517182864aef516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 500183b57763b9a72bd51308ec31c9a916c7708dd0aae38d1c1d7a978ba5cc95 [INFO] running `Command { std: "docker" "start" "-a" "500183b57763b9a72bd51308ec31c9a916c7708dd0aae38d1c1d7a978ba5cc95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling safe-transmute v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `i128_type` [INFO] [stdout] --> src/trivial.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [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 name: `i128_type` [INFO] [stdout] --> src/trivial.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:113:66 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:140:67 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:168:65 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:196:70 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:224:71 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:252:69 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:138:50 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { [INFO] [stdout] | ^^^^^^^^ -------- -------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:274:81 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:311:85 [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:319:86 [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:328:84 [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "500183b57763b9a72bd51308ec31c9a916c7708dd0aae38d1c1d7a978ba5cc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500183b57763b9a72bd51308ec31c9a916c7708dd0aae38d1c1d7a978ba5cc95", kill_on_drop: false }` [INFO] [stdout] 500183b57763b9a72bd51308ec31c9a916c7708dd0aae38d1c1d7a978ba5cc95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2e440027d3afbc045ecb524043f4759621ad2a1181c2c321a7f8ca6cc7f67bb4 [INFO] running `Command { std: "docker" "start" "-a" "2e440027d3afbc045ecb524043f4759621ad2a1181c2c321a7f8ca6cc7f67bb4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unexpected `cfg` condition name: `i128_type` [INFO] [stdout] --> src/trivial.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [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 name: `i128_type` [INFO] [stdout] --> src/trivial.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:113:66 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:140:67 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:168:65 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:196:70 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:224:71 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:252:69 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:138:50 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { [INFO] [stdout] | ^^^^^^^^ -------- -------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling safe-transmute v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:274:81 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:311:85 [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:319:86 [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:328:84 [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `i128_type` [INFO] [stdout] --> src/trivial.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [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 name: `i128_type` [INFO] [stdout] --> src/trivial.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:113:66 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:140:67 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:168:65 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:196:70 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:224:71 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/full.rs:252:69 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:138:50 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/base.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bool.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stdout] | ------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bool.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/align.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { [INFO] [stdout] | ^^^^^^^^ -------- -------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:274:81 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:311:85 [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:319:86 [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trivial.rs:328:84 [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stdout] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "2e440027d3afbc045ecb524043f4759621ad2a1181c2c321a7f8ca6cc7f67bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e440027d3afbc045ecb524043f4759621ad2a1181c2c321a7f8ca6cc7f67bb4", kill_on_drop: false }` [INFO] [stdout] 2e440027d3afbc045ecb524043f4759621ad2a1181c2c321a7f8ca6cc7f67bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 30842ddc372b7fa34084137b2cebabed5747f7d13cb56312533c1946b967ded1 [INFO] running `Command { std: "docker" "start" "-a" "30842ddc372b7fa34084137b2cebabed5747f7d13cb56312533c1946b967ded1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition name: `i128_type` [INFO] [stderr] --> src/trivial.rs:72:7 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg(i128_type)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `i128_type` [INFO] [stderr] --> src/trivial.rs:74:7 [INFO] [stderr] | [INFO] [stderr] 74 | #[cfg(i128_type)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(i128_type)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(i128_type)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:52:55 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:113:66 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:140:67 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | pub fn transmute_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:168:65 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 168 | pub fn transmute_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:196:70 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stderr] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 196 | pub fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:224:71 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stderr] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn transmute_many_permissive_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/full.rs:252:69 [INFO] [stderr] | [INFO] [stderr] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stderr] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 252 | pub fn transmute_many_pedantic_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/base.rs:51:42 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/base.rs:93:51 [INFO] [stderr] | [INFO] [stderr] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/base.rs:138:50 [INFO] [stderr] | [INFO] [stderr] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 138 | pub unsafe fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/base.rs:183:54 [INFO] [stderr] | [INFO] [stderr] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stderr] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 183 | pub unsafe fn transmute_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bool.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stderr] | ------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bool.rs:45:53 [INFO] [stderr] | [INFO] [stderr] 45 | unsafe { b == transmute::<_, u8>(false) || b == transmute::<_, u8>(true) } [INFO] [stderr] | ------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bool.rs:48:36 [INFO] [stderr] | [INFO] [stderr] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stderr] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bool.rs:80:41 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stderr] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn transmute_bool_permissive(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bool.rs:100:39 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stderr] | ^^^^^ ------- --------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 100 | pub fn transmute_bool_pedantic(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/align.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stderr] | ^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/align.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError> { [INFO] [stderr] | ^^^^^^^^ -------- -------------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn check_alignment_mut(data: &mut [S]) -> Result<&mut [S], UnalignedError<'_, S, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:199:66 [INFO] [stderr] | [INFO] [stderr] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:237:75 [INFO] [stderr] | [INFO] [stderr] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:274:81 [INFO] [stderr] | [INFO] [stderr] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 274 | pub unsafe fn transmute_trivial_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:311:85 [INFO] [stderr] | [INFO] [stderr] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error> { [INFO] [stderr] | ^^^^^^^^^ -------- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 311 | pub unsafe fn transmute_trivial_many_mut(bytes: &mut [u8]) -> Result<&mut [T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:319:86 [INFO] [stderr] | [INFO] [stderr] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 319 | pub unsafe fn guarded_transmute_pod_many_permissive(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trivial.rs:328:84 [INFO] [stderr] | [INFO] [stderr] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error> { [INFO] [stderr] | ^^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 328 | pub unsafe fn guarded_transmute_pod_many_pedantic(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `safe-transmute` (lib) generated 27 warnings (run `cargo fix --lib -p safe-transmute` to apply 25 suggestions) [INFO] [stderr] warning: `safe-transmute` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/safe_transmute-7ca377f00c6853dd) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-11cb4b2d23c80aac) [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] [stdout] [INFO] [stdout] running 60 tests [INFO] [stdout] test base::from_bytes_pedantic::too_short ... ok [INFO] [stdout] test base::from_bytes::too_much ... ok [INFO] [stdout] test base::transmute_many::just_enough ... ok [INFO] [stdout] test base::transmute_many::just_enough_mut ... ok [INFO] [stdout] test base::from_bytes::just_enough ... ok [INFO] [stdout] test base::from_bytes::too_short ... ok [INFO] [stdout] test base::from_bytes_pedantic::too_much ... ok [INFO] [stdout] test base::transmute_many::too_short ... ok [INFO] [stdout] test base::transmute_many::too_short_mut ... ok [INFO] [stdout] test base::transmute_many::too_much_mut ... ok [INFO] [stdout] test base::transmute_many_pedantic::just_enough ... ok [INFO] [stdout] test base::transmute_many::too_much ... ok [INFO] [stdout] test base::transmute_many_pedantic::too_short ... ok [INFO] [stdout] test base::transmute_many_pedantic::too_much ... ok [INFO] [stdout] test base::from_bytes_pedantic::just_enough ... ok [INFO] [stdout] test base::transmute_many_permissive::just_enough ... ok [INFO] [stdout] test base::transmute_many_permissive::too_much ... ok [INFO] [stdout] test base::transmute_many_permissive::too_short ... ok [INFO] [stdout] test base::transmute_vec ... ok [INFO] [stdout] test bool::permissive::too_short ... ok [INFO] [stdout] test bool::vec_pedantic::too_short ... ok [INFO] [stdout] test bool::vec_permissive::just_enough ... ok [INFO] [stdout] test bool::pedantic::just_enough ... ok [INFO] [stdout] test bool::pedantic::invalid_bytes ... ok [INFO] [stdout] test bool::permissive::invalid_bytes ... ok [INFO] [stdout] test bool::permissive::just_enough ... ok [INFO] [stdout] test bool::vec_pedantic::just_enough ... ok [INFO] [stdout] test bool::vec_permissive::invalid_bytes ... ok [INFO] [stdout] test error::unaligned::unaligned_slicing_integers ... ok [INFO] [stdout] test bool::pedantic::too_short ... ok [INFO] [stdout] test bool::vec_pedantic::invalid_bytes ... ok [INFO] [stdout] test bool::vec_permissive::too_short ... ok [INFO] [stdout] test full::many::just_enough ... ok [INFO] [stdout] test full::many::too_much ... ok [INFO] [stdout] test full::many_pedantic::just_enough ... ok [INFO] [stdout] test full::many_pedantic::too_much ... ok [INFO] [stdout] test full::many_permissive::just_enough ... ok [INFO] [stdout] test full::many_permissive::too_much ... ok [INFO] [stdout] test full::many::too_short ... ok [INFO] [stdout] test full::many_pedantic::too_short ... ok [INFO] [stdout] test full::many_permissive::too_short ... ok [INFO] [stdout] test full::one::just_enough ... ok [INFO] [stdout] test full::one::too_much ... ok [INFO] [stdout] test full::one::too_short ... ok [INFO] [stdout] test full::one_pedantic::too_much ... ok [INFO] [stdout] test full::one_pedantic::just_enough ... ok [INFO] [stdout] test full::vec::just_enough ... ok [INFO] [stdout] test guard::zero_sized::pedantic_guard ... ok [INFO] [stdout] test guard::zero_sized::single_many_guard ... ok [INFO] [stdout] test util::designalise_f32 ... ok [INFO] [stdout] test util::smoke_check_alignment_from_8 ... ok [INFO] [stdout] test full::vec::bad_alignment ... ok [INFO] [stdout] test guard::zero_sized::all_or_nothing_guard ... ok [INFO] [stdout] test guard::zero_sized::permissive_guard ... ok [INFO] [stdout] test guard::zero_sized::single_value_guard ... ok [INFO] [stdout] test full::one_pedantic::too_short ... ok [INFO] [stdout] test util::designalise_f64 ... ok [INFO] [stdout] test util::smoke_check_alignment_from_4 ... ok [INFO] [stdout] test util::test_aligned_vec ... ok [INFO] [stdout] test full::vec::bad_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30842ddc372b7fa34084137b2cebabed5747f7d13cb56312533c1946b967ded1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30842ddc372b7fa34084137b2cebabed5747f7d13cb56312533c1946b967ded1", kill_on_drop: false }` [INFO] [stdout] 30842ddc372b7fa34084137b2cebabed5747f7d13cb56312533c1946b967ded1