[INFO] crate truetype 0.29.0 is already in cache [INFO] checking truetype-0.29.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate truetype 0.29.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate truetype 0.29.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate truetype 0.29.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate truetype 0.29.0 [INFO] tweaked toml for crates.io crate truetype 0.29.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-6/source/tests/fixture.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1498d2467e29aead691428261c583bfa02bdbb23c9a1a5b0eea77cec37d2f0c7 [INFO] running `"docker" "start" "-a" "1498d2467e29aead691428261c583bfa02bdbb23c9a1a5b0eea77cec37d2f0c7"` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/fixture.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking truetype v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | value!(i8, 1); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | value!(u8, 1); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | value!(i16, 2); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | value!(u16, 2); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | value!(u32, 4); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | value!(i64, 8); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | value!([u8; 3], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | value!([i8; 4], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | value!([u8; 4], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | value!([u8; 10], 1); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | value!(i8, 1); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | value!(u8, 1); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | value!(i16, 2); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | value!(u16, 2); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | value!(u32, 4); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | value!(i64, 8); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | value!([u8; 3], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | value!([i8; 4], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | value!([u8; 4], 1); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/tape.rs:77:39 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [u8; $size] = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | value!([u8; 10], 1); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding0` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / table! { [INFO] [stderr] 54 | | #[doc = "A char-to-glyph encoding in format 0."] [INFO] [stderr] 55 | | pub Encoding0 { [INFO] [stderr] 56 | | format (u16) = { 0 }, // format [INFO] [stderr] ... | [INFO] [stderr] 63 | | } [INFO] [stderr] 64 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding4` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | / table! { [INFO] [stderr] 67 | | #[doc = "A char-to-glyph encoding in format 4."] [INFO] [stderr] 68 | | pub Encoding4 { [INFO] [stderr] 69 | | format (u16) = { 4 }, // format [INFO] [stderr] ... | [INFO] [stderr] 98 | | } [INFO] [stderr] 99 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding6` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:101:1 [INFO] [stderr] | [INFO] [stderr] 101 | / table! { [INFO] [stderr] 102 | | #[doc = "A char-to-glyph encoding in format 6."] [INFO] [stderr] 103 | | pub Encoding6 { [INFO] [stderr] 104 | | format (u16) = { 6 }, // format [INFO] [stderr] ... | [INFO] [stderr] 113 | | } [INFO] [stderr] 114 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding12` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:116:1 [INFO] [stderr] | [INFO] [stderr] 116 | / table! { [INFO] [stderr] 117 | | #[doc = "A char-to-glyph encoding in format 12."] [INFO] [stderr] 118 | | pub Encoding12 { [INFO] [stderr] 119 | | format (u16) = { 12 }, // format [INFO] [stderr] ... | [INFO] [stderr] 128 | | } [INFO] [stderr] 129 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding14` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 | / table! { [INFO] [stderr] 132 | | #[doc = "A char-to-glyph encoding in format 14."] [INFO] [stderr] 133 | | pub Encoding14 { [INFO] [stderr] 134 | | format (u16) = { 14 }, // format [INFO] [stderr] ... | [INFO] [stderr] 141 | | } [INFO] [stderr] 142 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `naming_table::NamingTable0` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/naming_table.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / table! { [INFO] [stderr] 19 | | #[doc = "A naming table in format 0."] [INFO] [stderr] 20 | | pub NamingTable0 { [INFO] [stderr] 21 | | format (u16), // format [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `naming_table::NamingTable1` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/naming_table.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / table! { [INFO] [stderr] 36 | | #[doc = "A naming table in format 1."] [INFO] [stderr] 37 | | pub NamingTable1 { [INFO] [stderr] 38 | | format (u16), // format [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `offset_table::OffsetTable` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/offset_table.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / table! { [INFO] [stderr] 8 | | #[doc = "An offset table."] [INFO] [stderr] 9 | | pub OffsetTable { [INFO] [stderr] 10 | | header (Header), [INFO] [stderr] ... | [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `postscript::PostScript2` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/postscript.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / table! { [INFO] [stderr] 35 | | #[doc = "PostScript information of version 2."] [INFO] [stderr] 36 | | pub PostScript2 { [INFO] [stderr] 37 | | version (q32), // version [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding0` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / table! { [INFO] [stderr] 54 | | #[doc = "A char-to-glyph encoding in format 0."] [INFO] [stderr] 55 | | pub Encoding0 { [INFO] [stderr] 56 | | format (u16) = { 0 }, // format [INFO] [stderr] ... | [INFO] [stderr] 63 | | } [INFO] [stderr] 64 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding4` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | / table! { [INFO] [stderr] 67 | | #[doc = "A char-to-glyph encoding in format 4."] [INFO] [stderr] 68 | | pub Encoding4 { [INFO] [stderr] 69 | | format (u16) = { 4 }, // format [INFO] [stderr] ... | [INFO] [stderr] 98 | | } [INFO] [stderr] 99 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding6` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:101:1 [INFO] [stderr] | [INFO] [stderr] 101 | / table! { [INFO] [stderr] 102 | | #[doc = "A char-to-glyph encoding in format 6."] [INFO] [stderr] 103 | | pub Encoding6 { [INFO] [stderr] 104 | | format (u16) = { 6 }, // format [INFO] [stderr] ... | [INFO] [stderr] 113 | | } [INFO] [stderr] 114 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding12` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:116:1 [INFO] [stderr] | [INFO] [stderr] 116 | / table! { [INFO] [stderr] 117 | | #[doc = "A char-to-glyph encoding in format 12."] [INFO] [stderr] 118 | | pub Encoding12 { [INFO] [stderr] 119 | | format (u16) = { 12 }, // format [INFO] [stderr] ... | [INFO] [stderr] 128 | | } [INFO] [stderr] 129 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `char_mapping::Encoding14` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/char_mapping.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 | / table! { [INFO] [stderr] 132 | | #[doc = "A char-to-glyph encoding in format 14."] [INFO] [stderr] 133 | | pub Encoding14 { [INFO] [stderr] 134 | | format (u16) = { 14 }, // format [INFO] [stderr] ... | [INFO] [stderr] 141 | | } [INFO] [stderr] 142 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `naming_table::NamingTable0` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/naming_table.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / table! { [INFO] [stderr] 19 | | #[doc = "A naming table in format 0."] [INFO] [stderr] 20 | | pub NamingTable0 { [INFO] [stderr] 21 | | format (u16), // format [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `naming_table::NamingTable1` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/naming_table.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / table! { [INFO] [stderr] 36 | | #[doc = "A naming table in format 1."] [INFO] [stderr] 37 | | pub NamingTable1 { [INFO] [stderr] 38 | | format (u16), // format [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `offset_table::OffsetTable` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/offset_table.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / table! { [INFO] [stderr] 8 | | #[doc = "An offset table."] [INFO] [stderr] 9 | | pub OffsetTable { [INFO] [stderr] 10 | | header (Header), [INFO] [stderr] ... | [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `postscript::PostScript2` does not permit zero-initialization [INFO] [stderr] --> src/macros.rs:64:49 [INFO] [stderr] | [INFO] [stderr] 64 | let mut table: $name = unsafe { ::std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/postscript.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / table! { [INFO] [stderr] 35 | | #[doc = "PostScript information of version 2."] [INFO] [stderr] 36 | | pub PostScript2 { [INFO] [stderr] 37 | | version (q32), // version [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> tests/lib.rs:63:53 [INFO] [stderr] | [INFO] [stderr] 63 | assert!(table.search_range == 2 * (1 << 103f64.log2().floor() as usize)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `truetype`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1498d2467e29aead691428261c583bfa02bdbb23c9a1a5b0eea77cec37d2f0c7"` [INFO] running `"docker" "rm" "-f" "1498d2467e29aead691428261c583bfa02bdbb23c9a1a5b0eea77cec37d2f0c7"` [INFO] [stdout] 1498d2467e29aead691428261c583bfa02bdbb23c9a1a5b0eea77cec37d2f0c7