[INFO] fetching crate safe-transmute 0.11.3... [INFO] testing safe-transmute-0.11.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate safe-transmute 0.11.3 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safe-transmute 0.11.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccf5a102eb9b13fb8409d285bb03278147771307def148822992c848e0094287 [INFO] running `Command { std: "docker" "start" "-a" "ccf5a102eb9b13fb8409d285bb03278147771307def148822992c848e0094287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccf5a102eb9b13fb8409d285bb03278147771307def148822992c848e0094287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf5a102eb9b13fb8409d285bb03278147771307def148822992c848e0094287", kill_on_drop: false }` [INFO] [stdout] ccf5a102eb9b13fb8409d285bb03278147771307def148822992c848e0094287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4235cc60f53b1aaa558988569685fe02214254fa5645c63e56dab3d524982d0 [INFO] running `Command { std: "docker" "start" "-a" "c4235cc60f53b1aaa558988569685fe02214254fa5645c63e56dab3d524982d0", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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.35s [INFO] running `Command { std: "docker" "inspect" "c4235cc60f53b1aaa558988569685fe02214254fa5645c63e56dab3d524982d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4235cc60f53b1aaa558988569685fe02214254fa5645c63e56dab3d524982d0", kill_on_drop: false }` [INFO] [stdout] c4235cc60f53b1aaa558988569685fe02214254fa5645c63e56dab3d524982d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa3735faf6cfb9b425ee77240cd72c2a85a2fe87e7b5817c307dcb91c02c968d [INFO] running `Command { std: "docker" "start" "-a" "aa3735faf6cfb9b425ee77240cd72c2a85a2fe87e7b5817c307dcb91c02c968d", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] [stderr] Compiling safe-transmute v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/full.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bool.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/align.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivial.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 1.05s [INFO] running `Command { std: "docker" "inspect" "aa3735faf6cfb9b425ee77240cd72c2a85a2fe87e7b5817c307dcb91c02c968d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3735faf6cfb9b425ee77240cd72c2a85a2fe87e7b5817c307dcb91c02c968d", kill_on_drop: false }` [INFO] [stdout] aa3735faf6cfb9b425ee77240cd72c2a85a2fe87e7b5817c307dcb91c02c968d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 356d152b28268cde546aeea2339371861682b188f2946e205acc48902a745ba1 [INFO] running `Command { std: "docker" "start" "-a" "356d152b28268cde546aeea2339371861682b188f2946e205acc48902a745ba1", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/full.rs:52:55 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | pub fn transmute_one(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/full.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn transmute_one_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | pub fn transmute_many(bytes: &[u8]) -> Result<&[T], Error<'_, u8, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/base.rs:51:42 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn from_bytes(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 93 | pub unsafe fn from_bytes_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bool.rs:48:36 [INFO] [stderr] | [INFO] [stderr] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error> { [INFO] [stderr] | ^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | fn transmute_bool(bytes: &[u8]) -> Result<&[bool], Error<'_, u8, bool>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/align.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError> { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | pub fn check_alignment(data: &[S]) -> Result<(), UnalignedError<'_, S, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trivial.rs:199:66 [INFO] [stderr] | [INFO] [stderr] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | pub unsafe fn transmute_trivial(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 237 | pub unsafe fn transmute_trivial_pedantic(bytes: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/safe_transmute-f25d5df8bd61e53c) [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-1a9b7c67049c17a1) [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::too_much ... ok [INFO] [stdout] test base::from_bytes::too_short ... ok [INFO] [stdout] test base::from_bytes_pedantic::just_enough ... ok [INFO] [stdout] test base::from_bytes::just_enough ... ok [INFO] [stdout] test base::transmute_many::just_enough_mut ... ok [INFO] [stdout] test base::transmute_many::too_much_mut ... ok [INFO] [stdout] test base::transmute_many::too_much ... ok [INFO] [stdout] test base::from_bytes_pedantic::too_much ... ok [INFO] [stdout] test base::transmute_many::just_enough ... ok [INFO] [stdout] test base::transmute_many::too_short ... ok [INFO] [stdout] test base::transmute_many_pedantic::just_enough ... ok [INFO] [stdout] test base::transmute_many_pedantic::too_much ... 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::too_short_mut ... ok [INFO] [stdout] test base::transmute_many_permissive::too_short ... ok [INFO] [stdout] test base::transmute_many_pedantic::too_short ... ok [INFO] [stdout] test base::transmute_vec ... ok [INFO] [stdout] test base::from_bytes_pedantic::too_short ... ok [INFO] [stdout] test bool::pedantic::invalid_bytes ... ok [INFO] [stdout] test bool::pedantic::just_enough ... ok [INFO] [stdout] test bool::pedantic::too_short ... ok [INFO] [stdout] test bool::permissive::invalid_bytes ... ok [INFO] [stdout] test bool::permissive::just_enough ... ok [INFO] [stdout] test bool::vec_pedantic::invalid_bytes ... ok [INFO] [stdout] test bool::vec_pedantic::too_short ... ok [INFO] [stdout] test bool::vec_pedantic::just_enough ... ok [INFO] [stdout] test bool::vec_permissive::too_short ... ok [INFO] [stdout] test bool::vec_permissive::invalid_bytes ... ok [INFO] [stdout] test error::unaligned::unaligned_slicing_integers ... ok [INFO] [stdout] test bool::vec_permissive::just_enough ... ok [INFO] [stdout] test full::many_pedantic::just_enough ... ok [INFO] [stdout] test full::many::too_much ... ok [INFO] [stdout] test full::many_permissive::just_enough ... ok [INFO] [stdout] test full::many_pedantic::too_much ... ok [INFO] [stdout] test full::many_permissive::too_much ... ok [INFO] [stdout] test bool::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::many::too_short ... ok [INFO] [stdout] test full::many::just_enough ... ok [INFO] [stdout] test full::many_pedantic::too_short ... ok [INFO] [stdout] test full::many_permissive::too_short ... ok [INFO] [stdout] test full::one_pedantic::too_short ... ok [INFO] [stdout] test full::vec::bad_alignment ... ok [INFO] [stdout] test full::vec::bad_size ... ok [INFO] [stdout] test full::vec::just_enough ... ok [INFO] [stdout] test guard::zero_sized::all_or_nothing_guard ... ok [INFO] [stdout] test guard::zero_sized::pedantic_guard ... ok [INFO] [stdout] test guard::zero_sized::permissive_guard ... ok [INFO] [stdout] test guard::zero_sized::single_many_guard ... ok [INFO] [stdout] test guard::zero_sized::single_value_guard ... ok [INFO] [stdout] test util::designalise_f32 ... ok [INFO] [stdout] test util::designalise_f64 ... ok [INFO] [stdout] test util::smoke_check_alignment_from_4 ... ok [INFO] [stdout] test util::smoke_check_alignment_from_8 ... ok [INFO] [stdout] test util::test_aligned_vec ... ok [INFO] [stdout] test full::one_pedantic::just_enough ... 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] [stderr] Doc-tests safe_transmute [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test src/base.rs - base::transmute_vec (line 249) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many_pedantic (line 156) ... ok [INFO] [stdout] test src/base.rs - base::transmute_many_permissive (line 208) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many_mut (line 184) ... ok [INFO] [stdout] test src/base.rs - base::transmute_many (line 121) ... ok [INFO] [stdout] test src/error.rs - error::Error (line 24) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many (line 101) ... ok [INFO] [stdout] test src/bool.rs - bool::transmute_bool_vec_pedantic (line 138) ... ok [INFO] [stdout] test src/base.rs - base::from_bytes_pedantic (line 77) ... ok [INFO] [stdout] test src/base.rs - base::transmute_many_mut (line 166) ... ok [INFO] [stdout] test src/base.rs - base::from_bytes (line 38) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many_pedantic_mut (line 240) ... ok [INFO] [stdout] test src/bool.rs - bool::transmute_bool_permissive (line 70) ... ok [INFO] [stdout] test src/error.rs - error::GuardError (line 153) ... ok [INFO] [stdout] test src/bool.rs - bool::bytes_are_bool (line 30) ... ok [INFO] [stdout] test src/bool.rs - bool::transmute_bool_vec_permissive (line 110) ... ok [INFO] [stdout] test src/guard.rs - guard (line 47) ... ok [INFO] [stdout] test src/guard.rs - guard (line 35) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many_permissive (line 129) ... ok [INFO] [stdout] test src/full.rs - full::transmute_many_permissive_mut (line 213) ... ok [INFO] [stdout] test src/guard.rs - guard (line 8) ... ok [INFO] [stdout] test src/guard.rs - guard (line 23) ... ok [INFO] [stdout] test src/full.rs - full::transmute_vec (line 275) ... ok [INFO] [stdout] test src/bool.rs - bool::transmute_bool_pedantic (line 90) ... ok [INFO] [stdout] test src/full.rs - full::transmute_one (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 125) ... ok [INFO] [stdout] test src/lib.rs - (line 50) ... ok [INFO] [stdout] test src/full.rs - full::transmute_one_pedantic (line 72) ... ok [INFO] [stdout] test src/lib.rs - (line 82) ... ok [INFO] [stdout] test src/lib.rs - (line 142) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_one_to_bytes (line 238) ... ok [INFO] [stdout] test src/migration/v0_11.rs - migration::v0_11 (line 82) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_one_to_bytes_mut (line 295) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 138) ... ok [INFO] [stdout] test src/migration/v0_11.rs - migration::v0_11 (line 45) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_one_to_bytes_mut (line 280) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_one_to_bytes (line 253) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked (line 121) ... ok [INFO] [stdout] test src/lib.rs - (line 101) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 192) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes (line 346) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_mut (line 375) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_many_unchecked_mut (line 175) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 69) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes (line 331) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_vec (line 432) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 19) ... ok [INFO] [stdout] test src/trivial.rs - trivial::align_to_mut (line 152) ... ok [INFO] [stdout] test src/migration/v0_11.rs - migration::v0_11 (line 107) ... ok [INFO] [stdout] test src/trivial.rs - trivial::transmute_trivial (line 186) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked (line 36) ... ok [INFO] [stdout] test src/trivial.rs - trivial::transmute_trivial_many (line 259) ... ok [INFO] [stdout] test src/trivial.rs - trivial::transmute_trivial_many_mut (line 296) ... ok [INFO] [stdout] test src/to_bytes.rs - to_bytes::transmute_to_bytes_unchecked_mut (line 86) ... ok [INFO] [stdout] test src/trivial.rs - trivial::align_to (line 127) ... ok [INFO] [stdout] test src/util.rs - util::try_copy (line 20) ... ok [INFO] [stdout] test src/trivial.rs - trivial::transmute_trivial_pedantic (line 224) ... ok [INFO] [stdout] test src/trivial.rs - trivial::transmute_trivial_vec (line 351) ... ok [INFO] [stdout] test src/util.rs - util::try_copy_unchecked (line 60) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "356d152b28268cde546aeea2339371861682b188f2946e205acc48902a745ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356d152b28268cde546aeea2339371861682b188f2946e205acc48902a745ba1", kill_on_drop: false }` [INFO] [stdout] 356d152b28268cde546aeea2339371861682b188f2946e205acc48902a745ba1