[INFO] fetching crate packed_ptr 0.1.2... [INFO] checking packed_ptr-0.1.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate packed_ptr 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate packed_ptr 0.1.2 [INFO] finished tweaking crates.io crate packed_ptr 0.1.2 [INFO] tweaked toml for crates.io crate packed_ptr 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate packed_ptr 0.1.2 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f3cd3ddcfe77122121e17c5728b026a43f5f2a26d9f35f792be47003a3a71a7 [INFO] running `Command { std: "docker" "start" "-a" "9f3cd3ddcfe77122121e17c5728b026a43f5f2a26d9f35f792be47003a3a71a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f3cd3ddcfe77122121e17c5728b026a43f5f2a26d9f35f792be47003a3a71a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3cd3ddcfe77122121e17c5728b026a43f5f2a26d9f35f792be47003a3a71a7", kill_on_drop: false }` [INFO] [stdout] 9f3cd3ddcfe77122121e17c5728b026a43f5f2a26d9f35f792be47003a3a71a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3e1638bee00bb047cd1859a99d8c3ef462f9dd195fffaa6f25014b80e9d1097 [INFO] running `Command { std: "docker" "start" "-a" "b3e1638bee00bb047cd1859a99d8c3ef462f9dd195fffaa6f25014b80e9d1097", kill_on_drop: false }` [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking packed_ptr v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [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: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | / ptr_cfg! { [INFO] [stdout] 123 | | /// 64-bit address [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// Can pack no data into a pointer. [INFO] [stdout] 126 | | pub struct None(false, 0); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | / ptr_cfg! { [INFO] [stdout] 123 | | /// 64-bit address [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// Can pack no data into a pointer. [INFO] [stdout] 126 | | pub struct None(false, 0); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / ptr_cfg! { [INFO] [stdout] 130 | | /// 64-bit address with alignment requirements [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// Can pack [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 133 | | pub struct AlignOnly(true, 0); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / ptr_cfg! { [INFO] [stdout] 130 | | /// 64-bit address with alignment requirements [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// Can pack [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 133 | | pub struct AlignOnly(true, 0); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | / ptr_cfg! { [INFO] [stdout] 138 | | /// 57-bit address [INFO] [stdout] 139 | | /// [INFO] [stdout] 140 | | /// Can pack 7 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 141 | | pub struct Level5Paging(true, 7); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | / ptr_cfg! { [INFO] [stdout] 138 | | /// 57-bit address [INFO] [stdout] 139 | | /// [INFO] [stdout] 140 | | /// Can pack 7 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 141 | | pub struct Level5Paging(true, 7); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / ptr_cfg! { [INFO] [stdout] 146 | | /// 48-bit address [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// Can pack 16 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 149 | | pub struct Level4Paging(true, 16); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / ptr_cfg! { [INFO] [stdout] 146 | | /// 48-bit address [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// Can pack 16 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 149 | | pub struct Level4Paging(true, 16); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [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: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | / ptr_cfg! { [INFO] [stdout] 123 | | /// 64-bit address [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// Can pack no data into a pointer. [INFO] [stdout] 126 | | pub struct None(false, 0); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | / ptr_cfg! { [INFO] [stdout] 123 | | /// 64-bit address [INFO] [stdout] 124 | | /// [INFO] [stdout] 125 | | /// Can pack no data into a pointer. [INFO] [stdout] 126 | | pub struct None(false, 0); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / ptr_cfg! { [INFO] [stdout] 130 | | /// 64-bit address with alignment requirements [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// Can pack [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 133 | | pub struct AlignOnly(true, 0); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / ptr_cfg! { [INFO] [stdout] 130 | | /// 64-bit address with alignment requirements [INFO] [stdout] 131 | | /// [INFO] [stdout] 132 | | /// Can pack [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 133 | | pub struct AlignOnly(true, 0); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | / ptr_cfg! { [INFO] [stdout] 138 | | /// 57-bit address [INFO] [stdout] 139 | | /// [INFO] [stdout] 140 | | /// Can pack 7 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 141 | | pub struct Level5Paging(true, 7); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | / ptr_cfg! { [INFO] [stdout] 138 | | /// 57-bit address [INFO] [stdout] 139 | | /// [INFO] [stdout] 140 | | /// Can pack 7 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 141 | | pub struct Level5Paging(true, 7); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / ptr_cfg! { [INFO] [stdout] 146 | | /// 48-bit address [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// Can pack 16 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 149 | | pub struct Level4Paging(true, 16); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/config.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / ptr_cfg! { [INFO] [stdout] 146 | | /// 48-bit address [INFO] [stdout] 147 | | /// [INFO] [stdout] 148 | | /// Can pack 16 + [`align_of::()`] bits of data into a pointer. [INFO] [stdout] 149 | | pub struct Level4Paging(true, 16); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `ptr_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn data(self) -> D { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(self) -> (&'a T, D) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn set_data(&mut self, data: D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn data(self) -> D { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(self) -> (&'a T, D) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/reference.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn set_data(&mut self, data: D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | impl Deref for PackedRef<'_, T, C, D> { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 81 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packed_ptr` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `packed_ptr` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3e1638bee00bb047cd1859a99d8c3ef462f9dd195fffaa6f25014b80e9d1097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e1638bee00bb047cd1859a99d8c3ef462f9dd195fffaa6f25014b80e9d1097", kill_on_drop: false }` [INFO] [stdout] b3e1638bee00bb047cd1859a99d8c3ef462f9dd195fffaa6f25014b80e9d1097