[INFO] fetching crate pin-project-lite 0.2.6... [INFO] testing pin-project-lite-0.2.6 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate pin-project-lite 0.2.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pin-project-lite 0.2.6 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pin-project-lite 0.2.6 [INFO] finished tweaking crates.io crate pin-project-lite 0.2.6 [INFO] tweaked toml for crates.io crate pin-project-lite 0.2.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macrotest v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54959e01e42376cfad609aa1c950dd87f93d21315c9543e9275eb62111481099 [INFO] running `Command { std: "docker" "start" "-a" "54959e01e42376cfad609aa1c950dd87f93d21315c9543e9275eb62111481099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54959e01e42376cfad609aa1c950dd87f93d21315c9543e9275eb62111481099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54959e01e42376cfad609aa1c950dd87f93d21315c9543e9275eb62111481099", kill_on_drop: false }` [INFO] [stdout] 54959e01e42376cfad609aa1c950dd87f93d21315c9543e9275eb62111481099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 749a760ae99c665a41dd28bf9ed006d1657986b998391ee8370fdc0d44f51c6b [INFO] running `Command { std: "docker" "start" "-a" "749a760ae99c665a41dd28bf9ed006d1657986b998391ee8370fdc0d44f51c6b", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "749a760ae99c665a41dd28bf9ed006d1657986b998391ee8370fdc0d44f51c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749a760ae99c665a41dd28bf9ed006d1657986b998391ee8370fdc0d44f51c6b", kill_on_drop: false }` [INFO] [stdout] 749a760ae99c665a41dd28bf9ed006d1657986b998391ee8370fdc0d44f51c6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16761ecaa686bcd524ccf6c91137704b0a913108f21d568a5231db72216cefd0 [INFO] running `Command { std: "docker" "start" "-a" "16761ecaa686bcd524ccf6c91137704b0a913108f21d568a5231db72216cefd0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling macrotest v1.0.8 [INFO] [stderr] Compiling pin-project-lite v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `rustdoc` has been removed: use `rustdoc::all` instead [INFO] [stdout] --> tests/lint.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(nonstandard_style, rust_2018_idioms, rustdoc, unused)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: warn(unaligned_references) incompatible with previous forbid [INFO] [stdout] --> tests/lint.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | #![forbid(future_incompatible, rust_2018_compatibility)] [INFO] [stdout] | ------------------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 24 | unaligned_references, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` on by default [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] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: warn(unaligned_references) incompatible with previous forbid [INFO] [stdout] --> tests/lint.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | #![forbid(future_incompatible, rust_2018_compatibility)] [INFO] [stdout] | ------------------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 24 | unaligned_references, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [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] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.14s [INFO] running `Command { std: "docker" "inspect" "16761ecaa686bcd524ccf6c91137704b0a913108f21d568a5231db72216cefd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16761ecaa686bcd524ccf6c91137704b0a913108f21d568a5231db72216cefd0", kill_on_drop: false }` [INFO] [stdout] 16761ecaa686bcd524ccf6c91137704b0a913108f21d568a5231db72216cefd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d42c28120a7c82a21746ad64f48b3f6789afa21ac04fa05373020c251bef903f [INFO] running `Command { std: "docker" "start" "-a" "d42c28120a7c82a21746ad64f48b3f6789afa21ac04fa05373020c251bef903f", kill_on_drop: false }` [INFO] [stderr] warning: lint `rustdoc` has been removed: use `rustdoc::all` instead [INFO] [stderr] --> tests/lint.rs:2:46 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(nonstandard_style, rust_2018_idioms, rustdoc, unused)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: warn(unaligned_references) incompatible with previous forbid [INFO] [stderr] --> tests/lint.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 5 | #![forbid(future_incompatible, rust_2018_compatibility)] [INFO] [stderr] | ------------------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 24 | unaligned_references, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: warn(unaligned_references) incompatible with previous forbid [INFO] [stderr] --> tests/lint.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 5 | #![forbid(future_incompatible, rust_2018_compatibility)] [INFO] [stderr] | ------------------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 24 | unaligned_references, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pin_project_lite-5138938aaa7165b3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-8f85eb1ef864239a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking macrotest v1.0.8 [INFO] [stderr] Checking pin-project-lite-tests v0.0.0 (/opt/rustwide/target/tests/pin-project-lite) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.39s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/conflict-drop.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/conflict-drop.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0119]: conflicting implementations of trait `_::MustNotImplDrop` for type `Foo<_, _>` [INFO] [stderr] --> $DIR/conflict-drop.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0119 [INFO] [stderr] 4 | | struct Foo { [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | future: T, [INFO] [stderr] 7 | | field: U, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_first implementation here [INFO] [stderr] | conflicting implementation for `Foo<_, _>` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/conflict-unpin.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/conflict-unpin.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Foo<_, _>` [INFO] [stderr] --> $DIR/conflict-unpin.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / pin_project! { //~ ERROR E0119 [INFO] [stderr] 6 | | struct Foo { [INFO] [stderr] 7 | | #[pin] [INFO] [stderr] 8 | | future: T, [INFO] [stderr] 9 | | field: U, [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | |_^ conflicting implementation for `Foo<_, _>` [INFO] [stderr] ... [INFO] [stderr] 14 | impl Unpin for Foo where T: Unpin {} // Conditional Unpin impl [INFO] [stderr] | --------------------------------------------- first implementation here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Bar<_, _>` [INFO] [stderr] --> $DIR/conflict-unpin.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / pin_project! { //~ ERROR E0119 [INFO] [stderr] 19 | | struct Bar { [INFO] [stderr] 20 | | #[pin] [INFO] [stderr] 21 | | future: T, [INFO] [stderr] 22 | | field: U, [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [INFO] [stderr] | |_^ conflicting implementation for `Bar<_, _>` [INFO] [stderr] ... [INFO] [stderr] 27 | impl Unpin for Bar {} // Non-conditional Unpin impl [INFO] [stderr] | ------------------------------ first implementation here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0119]: conflicting implementations of trait `std::marker::Unpin` for type `Baz<_, _>` [INFO] [stderr] --> $DIR/conflict-unpin.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / pin_project! { //~ ERROR E0119 [INFO] [stderr] 30 | | struct Baz { [INFO] [stderr] 31 | | #[pin] [INFO] [stderr] 32 | | future: T, [INFO] [stderr] 33 | | field: U, [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ conflicting implementation for `Baz<_, _>` [INFO] [stderr] ... [INFO] [stderr] 38 | impl Unpin for Baz {} // Conditional Unpin impl [INFO] [stderr] | -------------------------------------------- first implementation here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/invalid-bounds.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/invalid-bounds.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { [INFO] [stderr] 4 | | struct Generics1 { //~ ERROR no rules expected the token `:` [INFO] [stderr] 5 | | field: T, [INFO] [stderr] 6 | | } [INFO] [stderr] 7 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pin_project! { [INFO] [stderr] 10 | | struct Generics2 { //~ ERROR no rules expected the token `:` [INFO] [stderr] 11 | | field: T, [INFO] [stderr] 12 | | } [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / pin_project! { [INFO] [stderr] 16 | | struct Generics3 { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] 17 | | field: T, [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | expected one of `+`, `,`, `=`, or `>` [INFO] [stderr] | |_unexpected token [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / pin_project! { [INFO] [stderr] 22 | | struct Generics4 { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] 23 | | field: T, [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | expected one of `+`, `,`, `=`, or `>` [INFO] [stderr] | |_unexpected token [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / pin_project! { [INFO] [stderr] 28 | | struct Generics5 { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:` [INFO] [stderr] 29 | | field: T, [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | expected one of `+`, `,`, `=`, or `>` [INFO] [stderr] | |_unexpected token [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / pin_project! { [INFO] [stderr] 34 | | struct Generics6 { //~ ERROR no rules expected the token `Sized` [INFO] [stderr] 35 | | field: T, [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / pin_project! { [INFO] [stderr] 40 | | struct WhereClause1 [INFO] [stderr] 41 | | where [INFO] [stderr] 42 | | T: 'static : Sized //~ ERROR no rules expected the token `:` [INFO] [stderr] ... | [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | / pin_project! { [INFO] [stderr] 49 | | struct WhereClause2 [INFO] [stderr] 50 | | where [INFO] [stderr] 51 | | T: 'static : ?Sized //~ ERROR no rules expected the token `:` [INFO] [stderr] ... | [INFO] [stderr] 54 | | } [INFO] [stderr] 55 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected `where`, or `{` after struct name, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / pin_project! { [INFO] [stderr] 58 | | struct WhereClause3 [INFO] [stderr] 59 | | where [INFO] [stderr] 60 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` [INFO] [stderr] ... | [INFO] [stderr] 63 | | } [INFO] [stderr] 64 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_expected `where`, or `{` after struct name [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected `where`, or `{` after struct name, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | / pin_project! { [INFO] [stderr] 67 | | struct WhereClause4 [INFO] [stderr] 68 | | where [INFO] [stderr] 69 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [INFO] [stderr] 73 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_expected `where`, or `{` after struct name [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected `where`, or `{` after struct name, found `:` [INFO] [stderr] --> $DIR/invalid-bounds.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | / pin_project! { [INFO] [stderr] 76 | | struct WhereClause5 [INFO] [stderr] 77 | | where [INFO] [stderr] 78 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:` [INFO] [stderr] ... | [INFO] [stderr] 81 | | } [INFO] [stderr] 82 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_expected `where`, or `{` after struct name [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid-bounds.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / pin_project! { [INFO] [stderr] 85 | | struct WhereClause6 [INFO] [stderr] 86 | | where [INFO] [stderr] 87 | | T: ?Sized : Sized //~ ERROR no rules expected the token `Sized` [INFO] [stderr] ... | [INFO] [stderr] 90 | | } [INFO] [stderr] 91 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/invalid.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/invalid.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { [INFO] [stderr] 4 | | struct A { [INFO] [stderr] 5 | | #[pin()] //~ ERROR no rules expected the token `(` [INFO] [stderr] 6 | | pinned: T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/invalid.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / pin_project! { [INFO] [stderr] 18 | | struct C { [INFO] [stderr] 19 | | #[pin] [INFO] [stderr] 20 | | #[pin] //~ ERROR no rules expected the token `#` [INFO] [stderr] 21 | | pinned: T, [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `pin` in this scope [INFO] [stderr] --> $DIR/invalid.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | #[pin] //~ ERROR cannot find attribute `pin` in this scope [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/overlapping_lifetime_names.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/overlapping_lifetime_names.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0263]: lifetime name `'__pin` declared twice in the same scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ^^^^^^ declared twice [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_- previous declaration here [INFO] [stderr] [INFO] [stderr] error[E0263]: lifetime name `'__pin` declared twice in the same scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ^^^^^^ declared twice [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_- previous declaration here [INFO] [stderr] [INFO] [stderr] error[E0263]: lifetime name `'__pin` declared twice in the same scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ^^^^^^ declared twice [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_- previous declaration here [INFO] [stderr] [INFO] [stderr] error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ------ first declared here [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ lifetime `'__pin` already in scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ------ first declared here [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ lifetime `'__pin` already in scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0263]: lifetime name `'__pin` declared twice in the same scope [INFO] [stderr] --> $DIR/overlapping_lifetime_names.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR E0496 [INFO] [stderr] 4 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 [INFO] [stderr] | | ^^^^^^ declared twice [INFO] [stderr] 5 | | #[pin] [INFO] [stderr] 6 | | field: &'__pin mut T, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_- previous declaration here [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/overlapping_unpin_struct.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/overlapping_unpin_struct.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: `PhantomPinned` cannot be unpinned [INFO] [stderr] --> $DIR/overlapping_unpin_struct.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 15 | fn is_unpin() {} [INFO] [stderr] | ----- required by this bound in `is_unpin` [INFO] [stderr] ... [INFO] [stderr] 18 | is_unpin::>(); //~ ERROR E0277 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `_::__Origin<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned` [INFO] [stderr] | [INFO] [stderr] = note: consider using `Box::pin` [INFO] [stderr] note: required because it appears within the type `_::__Origin<'_, PhantomPinned>` [INFO] [stderr] --> $DIR/overlapping_unpin_struct.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / pin_project! { [INFO] [stderr] 5 | | struct Foo { [INFO] [stderr] 6 | | #[pin] [INFO] [stderr] 7 | | inner: T, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: required because of the requirements on the impl of `Unpin` for `Foo` [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/packed.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/packed.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 4 | | #[repr(packed, C)] [INFO] [stderr] 5 | | struct Packed { [INFO] [stderr] 6 | | #[pin] [INFO] [stderr] 7 | | field: u16, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> $DIR/packed.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 4 | | #[repr(packed, C)] [INFO] [stderr] 5 | | struct Packed { [INFO] [stderr] 6 | | #[pin] [INFO] [stderr] 7 | | field: u16, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 12 | | #[repr(packed(2))] [INFO] [stderr] 13 | | struct PackedN { [INFO] [stderr] 14 | | #[pin] [INFO] [stderr] 15 | | field: u32, [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> $DIR/packed.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 12 | | #[repr(packed(2))] [INFO] [stderr] 13 | | struct PackedN { [INFO] [stderr] 14 | | #[pin] [INFO] [stderr] 15 | | field: u32, [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 4 | | #[repr(packed, C)] [INFO] [stderr] 5 | | struct Packed { [INFO] [stderr] 6 | | #[pin] [INFO] [stderr] 7 | | field: u16, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this warning originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 4 | | #[repr(packed, C)] [INFO] [stderr] 5 | | struct Packed { [INFO] [stderr] 6 | | #[pin] [INFO] [stderr] 7 | | field: u16, [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this warning originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 12 | | #[repr(packed(2))] [INFO] [stderr] 13 | | struct PackedN { [INFO] [stderr] 14 | | #[pin] [INFO] [stderr] 15 | | field: u32, [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this warning originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> $DIR/packed.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / pin_project! { //~ ERROR reference to packed field is unaligned [INFO] [stderr] 12 | | #[repr(packed(2))] [INFO] [stderr] 13 | | struct PackedN { [INFO] [stderr] 14 | | #[pin] [INFO] [stderr] 15 | | field: u32, [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = note: this warning originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/pin_project/unpin_sneaky.rs ... ok [INFO] [stderr] test tests/ui/pin_project/unsupported.rs ... wip [INFO] [stderr] [INFO] [stderr] NOTE: writing the following output to `tests/ui/pin_project/unsupported.stderr`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/unsupported.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / pin_project! { [INFO] [stderr] 4 | | struct Struct1 {} //~ ERROR no rules expected the token `}` [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/unsupported.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / pin_project! { [INFO] [stderr] 8 | | struct Struct2(); //~ ERROR no rules expected the token `(` [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/unsupported.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / pin_project! { [INFO] [stderr] 12 | | struct Struct3; //~ ERROR no rules expected the token `;` [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/unsupported.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / pin_project! { [INFO] [stderr] 16 | | enum Enum { //~ ERROR no rules expected the token `enum` [INFO] [stderr] 17 | | A(u8) [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `[` [INFO] [stderr] --> $DIR/unsupported.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / pin_project! { [INFO] [stderr] 22 | | union Union { //~ ERROR no rules expected the token `union` [INFO] [stderr] 23 | | x: u8, [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] error [INFO] [stderr] failed to write stderr file: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui stdout ---- [INFO] [stdout] thread 'ui' panicked at '8 of 9 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56179f1fb440 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56179f1fb440 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56179f1fb440 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56179f1fb440 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56179f22099c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x56179f1f7885 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x56179f1fd77b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56179f1fd77b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56179f1fd77b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56179f1fd28c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56179f1fde21 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56179f1fd927 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56179f1fb93c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] error: test failed, to rerun pass '--test compiletest' [INFO] [stdout] 13: 0x56179f1fd889 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x56179efa2dfb - std[77c0456e0eb29f0c]::panicking::begin_panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x56179efcbbb2 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] 16: 0x56179efd0832 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/lib.rs:305:13 [INFO] [stdout] 17: 0x56179efa4cc7 - core[ee1ca6415511a9c4]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x56179efa565b - compiletest[cee3df36d5342f6]::ui [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:15:1 [INFO] [stdout] 19: 0x56179efa558a - compiletest[cee3df36d5342f6]::ui::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:8:1 [INFO] [stdout] 20: 0x56179efa4dbe - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56179f1d06e3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56179f1d06e3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x56179f1cf1ac - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x56179f1cf1ac - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x56179f1cf1ac - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x56179f1cf1ac - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x56179f1cf1ac - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x56179f1cf1ac - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x56179f1cf1ac - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x56179f1aee72 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x56179f1aee72 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x56179f1af758 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x56179f1af758 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x56179f1af758 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x56179f1af758 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x56179f1af758 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x56179f1af758 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x56179f1af758 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x56179f203dd7 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x56179f203dd7 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x56179f203dd7 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7f68d6175609 - start_thread [INFO] [stdout] 43: 0x7f68d5f47293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 28.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d42c28120a7c82a21746ad64f48b3f6789afa21ac04fa05373020c251bef903f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42c28120a7c82a21746ad64f48b3f6789afa21ac04fa05373020c251bef903f", kill_on_drop: false }` [INFO] [stdout] d42c28120a7c82a21746ad64f48b3f6789afa21ac04fa05373020c251bef903f