[INFO] fetching crate vptr 0.2.2... [INFO] checking vptr-0.2.2 against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901-1 [INFO] extracting crate vptr 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate vptr 0.2.2 [INFO] finished tweaking crates.io crate vptr 0.2.2 [INFO] tweaked toml for crates.io crate vptr 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vptr 0.2.2 on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8fca80168db5836a42db8b3e55169da39dd4ab791fcd93db489c875f08d09ae [INFO] running `Command { std: "docker" "start" "-a" "f8fca80168db5836a42db8b3e55169da39dd4ab791fcd93db489c875f08d09ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8fca80168db5836a42db8b3e55169da39dd4ab791fcd93db489c875f08d09ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fca80168db5836a42db8b3e55169da39dd4ab791fcd93db489c875f08d09ae", kill_on_drop: false }` [INFO] [stdout] f8fca80168db5836a42db8b3e55169da39dd4ab791fcd93db489c875f08d09ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4331c03b534dfa0e535633ab0b25be8cea5ee23188e65d76aeeeec9abef9d1da [INFO] running `Command { std: "docker" "start" "-a" "4331c03b534dfa0e535633ab0b25be8cea5ee23188e65d76aeeeec9abef9d1da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vptr-macros v0.2.2 [INFO] [stderr] Checking vptr v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | fn as_thin_ref(&self) -> ThinRef [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn as_thin_ref(&self) -> ThinRef<'_, Trait> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | fn as_thin_ref_mut(&mut self) -> ThinRefMut [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | fn as_thin_ref_mut(&mut self) -> ThinRefMut<'_, Trait> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 265 | fn as_pin_thin_ref(self: Pin<&Self>) -> Pin> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | fn as_pin_thin_ref(self: Pin<&Self>) -> Pin> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | fn as_pin_thin_ref_mut(self: Pin<&mut Self>) -> Pin> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | fn as_pin_thin_ref_mut(self: Pin<&mut Self>) -> Pin> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:467:27 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn as_thin_ref(b: &ThinBox) -> ThinRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | pub fn as_thin_ref(b: &ThinBox) -> ThinRef<'_, Trait> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn as_thin_ref_mut(b: &mut ThinBox) -> ThinRefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn as_thin_ref_mut(b: &mut ThinBox) -> ThinRefMut<'_, Trait> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 597 | #[vptr(MyTrait, SomeOtherTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 597 | #[vptr(MyTrait, SomeOtherTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 654 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ evaluation of ` as HasVPtr<(dyn tests::MyTrait + 'static)>>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:677:5 [INFO] [stdout] | [INFO] [stdout] 677 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | #[vptr(core::fmt::Display)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value: encountered a null reference [INFO] [stdout] --> src/lib.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | #[vptr("TraitWithGen")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of ` + 'static)>>::init::VTABLE` failed here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vptr` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "4331c03b534dfa0e535633ab0b25be8cea5ee23188e65d76aeeeec9abef9d1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4331c03b534dfa0e535633ab0b25be8cea5ee23188e65d76aeeeec9abef9d1da", kill_on_drop: false }` [INFO] [stdout] 4331c03b534dfa0e535633ab0b25be8cea5ee23188e65d76aeeeec9abef9d1da