[INFO] fetching crate pinned-init 0.0.10... [INFO] checking pinned-init-0.0.10 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pinned-init 0.0.10 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pinned-init 0.0.10 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pinned-init 0.0.10 [INFO] tweaked toml for crates.io crate pinned-init 0.0.10 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pinned-init 0.0.10 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pinned-init 0.0.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a7b751e5ca2602065b35967a07345ce517a6a17a2cc1d1b09142f151cc1662 [INFO] running `Command { std: "docker" "start" "-a" "13a7b751e5ca2602065b35967a07345ce517a6a17a2cc1d1b09142f151cc1662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a7b751e5ca2602065b35967a07345ce517a6a17a2cc1d1b09142f151cc1662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a7b751e5ca2602065b35967a07345ce517a6a17a2cc1d1b09142f151cc1662", kill_on_drop: false }` [INFO] [stdout] 13a7b751e5ca2602065b35967a07345ce517a6a17a2cc1d1b09142f151cc1662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7e7895b16719153b80979de3b96d587b3985666f7bd2e664fd1b589d24028b [INFO] running `Command { std: "docker" "start" "-a" "ef7e7895b16719153b80979de3b96d587b3985666f7bd2e664fd1b589d24028b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling pinned-init-macro v0.0.6 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Compiling pinned-init v0.0.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking syn v2.0.58 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking toml v0.9.4 [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stderr] Checking macrotest v1.2.0 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/const-generic-default.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | stack_pin_init!(let array: Array<1024> = init!(Array { array <- init_zeroed() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/const-generic-default.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | stack_pin_init!(let array: Array<1024> = init!(Array { array <- init_zeroed() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/const-generic-default.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | stack_pin_init!(let array: Array<1024> = init!(Array { array <- init_zeroed() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/const-generic-default.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | stack_pin_init!(let array: Array<1024> = init!(Array { array <- init_zeroed() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> tests/const-generic-default.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | stack_pin_init!(let array: Array<1024> = init!(Array { array <- init_zeroed() })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | init!(ManagedBuf { buf <- init_zeroed() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | init!(ManagedBuf { buf <- init_zeroed() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | init!(ManagedBuf { buf <- init_zeroed() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | init!(ManagedBuf { buf <- init_zeroed() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: Box = Box::init(init!(BigStruct { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 33 | | buf <- init_zeroed(), [INFO] [stdout] 34 | | a: 7, [INFO] [stdout] 35 | | b: 186, [INFO] [stdout] ... | [INFO] [stdout] 38 | | managed_buf <- ManagedBuf::new(), [INFO] [stdout] 39 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: Box = Box::init(init!(BigStruct { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 33 | | buf <- init_zeroed(), [INFO] [stdout] 34 | | a: 7, [INFO] [stdout] 35 | | b: 186, [INFO] [stdout] ... | [INFO] [stdout] 38 | | managed_buf <- ManagedBuf::new(), [INFO] [stdout] 39 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: Box = Box::init(init!(BigStruct { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 33 | | buf <- init_zeroed(), [INFO] [stdout] 34 | | a: 7, [INFO] [stdout] 35 | | b: 186, [INFO] [stdout] ... | [INFO] [stdout] 38 | | managed_buf <- ManagedBuf::new(), [INFO] [stdout] 39 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: Box = Box::init(init!(BigStruct { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 33 | | buf <- init_zeroed(), [INFO] [stdout] 34 | | a: 7, [INFO] [stdout] 35 | | b: 186, [INFO] [stdout] ... | [INFO] [stdout] 38 | | managed_buf <- ManagedBuf::new(), [INFO] [stdout] 39 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/big_struct_in_place.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: Box = Box::init(init!(BigStruct { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 33 | | buf <- init_zeroed(), [INFO] [stdout] 34 | | a: 7, [INFO] [stdout] 35 | | b: 186, [INFO] [stdout] ... | [INFO] [stdout] 38 | | managed_buf <- ManagedBuf::new(), [INFO] [stdout] 39 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinned-init` (example "big_struct_in_place") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pinned-init` (test "const-generic-default") due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/linked_list.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | stack_pin_init!(let b = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/linked_list.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | stack_pin_init!(let c = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/linked_list.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | stack_pin_init!(let d = ListHead::insert_next(&b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinned-init` (example "linked_list") due to 12 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/__internal.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | / slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] 204 | | a: 42, [INFO] [stdout] 205 | | b: "Hello".to_owned(), [INFO] [stdout] 206 | | })); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1147:25 [INFO] [stdout] | [INFO] [stdout] 1147 | move |slot| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 1148 | | { [INFO] [stdout] 1149 | | // Shadow the structure so it cannot be used to return early. [INFO] [stdout] 1150 | | struct __InitOk; [INFO] [stdout] ... | [INFO] [stdout] 1185 | | Ok(__InitOk) [INFO] [stdout] 1186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 204 | | a: 42, [INFO] [stdout] 205 | | b: "Hello".to_owned(), [INFO] [stdout] 206 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1185:17 [INFO] [stdout] | [INFO] [stdout] 1185 | Ok(__InitOk) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 204 | | a: 42, [INFO] [stdout] 205 | | b: "Hello".to_owned(), [INFO] [stdout] 206 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | init(slot).map(|__InitOk| ()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 204 | | a: 42, [INFO] [stdout] 205 | | b: "Hello".to_owned(), [INFO] [stdout] 206 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/__internal.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let value = value.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/__internal.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | / slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] 211 | | a: 24, [INFO] [stdout] 212 | | b: "world!".to_owned(), [INFO] [stdout] 213 | | })); [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1147:25 [INFO] [stdout] | [INFO] [stdout] 1147 | move |slot| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 1148 | | { [INFO] [stdout] 1149 | | // Shadow the structure so it cannot be used to return early. [INFO] [stdout] 1150 | | struct __InitOk; [INFO] [stdout] ... | [INFO] [stdout] 1185 | | Ok(__InitOk) [INFO] [stdout] 1186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 211 | | a: 24, [INFO] [stdout] 212 | | b: "world!".to_owned(), [INFO] [stdout] 213 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1185:17 [INFO] [stdout] | [INFO] [stdout] 1185 | Ok(__InitOk) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 211 | | a: 24, [INFO] [stdout] 212 | | b: "world!".to_owned(), [INFO] [stdout] 213 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<__internal::stack_init_reuse::__InitOk, Infallible> [INFO] [stdout] --> src/macros.rs:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | init(slot).map(|__InitOk| ()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/__internal.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | slot.as_mut().init(crate::init!(Foo { [INFO] [stdout] | ____________________________- [INFO] [stdout] 211 | | a: 24, [INFO] [stdout] 212 | | b: "world!".to_owned(), [INFO] [stdout] 213 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `crate::init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/__internal.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let value = value.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinned-init` (lib test) due to 10 previous errors [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/mutex.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | stack_pin_init!(let wait_entry = WaitEntry::insert_new(&self.wait_list)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | stack_pin_init!(let b = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | stack_pin_init!(let c = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | stack_pin_init!(let d = ListHead::insert_next(&b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::new::__InitOk, Infallible> [INFO] [stdout] --> examples/mutex.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / pin_init!(CMutex { [INFO] [stdout] 80 | | wait_list <- ListHead::new(), [INFO] [stdout] 81 | | spin_lock: SpinLock::new(), [INFO] [stdout] 82 | | locked: Cell::new(false), [INFO] [stdout] ... | [INFO] [stdout] 87 | | }, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/mutex.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | stack_pin_init!(let wait_entry = WaitEntry::insert_new(&self.wait_list)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/mutex.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / pin_init!(Self { [INFO] [stdout] 178 | | thread: thread::current(), [INFO] [stdout] 179 | | wait_list <- ListHead::insert_prev(list), [INFO] [stdout] 180 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / try_pin_init!(&this in Self { [INFO] [stdout] 36 | | next: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 37 | | prev: unsafe { Link::new_unchecked(this) }, [INFO] [stdout] 38 | | pin: PhantomPinned, [INFO] [stdout] 39 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / try_pin_init!(&this in Self { [INFO] [stdout] 46 | | prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 47 | | next: list.next.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 48 | | pin: PhantomPinned, [INFO] [stdout] 49 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/./linked_list.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / try_pin_init!(&this in Self { [INFO] [stdout] 55 | | next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 56 | | prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), [INFO] [stdout] 57 | | pin: PhantomPinned, [INFO] [stdout] 58 | | }? Infallible) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__init_internal` which comes from the expansion of the macro `try_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | stack_pin_init!(let b = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | stack_pin_init!(let c = ListHead::insert_next(&a)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/./linked_list.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | stack_pin_init!(let d = ListHead::insert_next(&b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stack_pin_init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinned-init` (example "mutex") due to 22 previous errors [INFO] [stderr] error: could not compile `pinned-init` (example "static_init") due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "ef7e7895b16719153b80979de3b96d587b3985666f7bd2e664fd1b589d24028b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7e7895b16719153b80979de3b96d587b3985666f7bd2e664fd1b589d24028b", kill_on_drop: false }` [INFO] [stdout] ef7e7895b16719153b80979de3b96d587b3985666f7bd2e664fd1b589d24028b