[INFO] fetching crate hooks-core 3.0.0-alpha.6... [INFO] checking hooks-core-3.0.0-alpha.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hooks-core 3.0.0-alpha.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate hooks-core 3.0.0-alpha.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hooks-core 3.0.0-alpha.6 [INFO] tweaked toml for crates.io crate hooks-core 3.0.0-alpha.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hooks-core 3.0.0-alpha.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c72a2ab0002e6fc8a8dabb787e30e217852fc3c1b82f4175a9ba9a623c9563 [INFO] running `Command { std: "docker" "start" "-a" "a7c72a2ab0002e6fc8a8dabb787e30e217852fc3c1b82f4175a9ba9a623c9563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c72a2ab0002e6fc8a8dabb787e30e217852fc3c1b82f4175a9ba9a623c9563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c72a2ab0002e6fc8a8dabb787e30e217852fc3c1b82f4175a9ba9a623c9563", kill_on_drop: false }` [INFO] [stdout] a7c72a2ab0002e6fc8a8dabb787e30e217852fc3c1b82f4175a9ba9a623c9563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b0940c94f2a02d9b10dfe88e5a602a5791f3be6ed8ea48061268fff21e3b35 [INFO] running `Command { std: "docker" "start" "-a" "28b0940c94f2a02d9b10dfe88e5a602a5791f3be6ed8ea48061268fff21e3b35", kill_on_drop: false }` [INFO] [stderr] Checking syn-lite v0.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking hooks-core v3.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ext/values.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn next_value(self: Pin<&mut Self>) -> NextValue { [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] 31 | pub fn next_value(self: Pin<&mut Self>) -> NextValue<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ext/values.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn next_value(self: Pin<&mut Self>) -> NextValue { [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] 31 | pub fn next_value(self: Pin<&mut Self>) -> NextValue<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hooks_dev` [INFO] [stdout] --> tests/pin.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate hooks_dev as hooks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pin.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | use_my_hook().assert_not_unpin() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `impl UpdateHookUninitialized + IntoHook HookValue<'hook, Value = ()>>: uninitialized_is_not_unpin::AssertNotUnpin<_>` found [INFO] [stdout] --> tests/pin.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | impl AssertNotUnpin<()> for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | impl AssertNotUnpin for T where T::Uninitialized: Unpin {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pin.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | use_my_hook().assert_not_unpin() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `impl UpdateHookUninitialized + IntoHook HookValue<'hook, Value = ()>>: into_hook_is_not_unpin::AssertNotUnpin<_>` found [INFO] [stdout] --> tests/pin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | impl AssertNotUnpin<()> for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | impl AssertNotUnpin for T where T::Hook: Unpin {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hooks-core` (test "pin") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 62 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 63 | fn specify_elided_bounds<'a>(_: &'a str) {} [INFO] [stdout] | -- ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 - type Bounds = impl '_; [INFO] [stdout] 62 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:91:64 [INFO] [stdout] | [INFO] [stdout] 90 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 91 | fn explicit_and_used_specify_elided_bounds<'a>(v: &'a str) { [INFO] [stdout] | -- ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 90 - type Bounds = impl '_; [INFO] [stdout] 90 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 108 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 109 | fn specify_elided_bounds<'a>(v: &'a str) -> &'a str { [INFO] [stdout] | -- ^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 108 - type Bounds = impl '_; [INFO] [stdout] 108 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 163 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 164 | fn specify_elided_bounds<'a, T>(_: &'a T) {} [INFO] [stdout] | -- ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 163 - type Bounds = impl '_; [INFO] [stdout] 163 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:191:86 [INFO] [stdout] | [INFO] [stdout] 190 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 191 | fn explicit_and_used_specify_elided_bounds<'a, T: std::fmt::Display>(v: &'a T) { [INFO] [stdout] | -- ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 190 - type Bounds = impl '_; [INFO] [stdout] 190 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:215:53 [INFO] [stdout] | [INFO] [stdout] 214 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 215 | fn specify_elided_bounds<'a, T: 'a>(v: &'a T) -> &'a T { [INFO] [stdout] | -- ^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 - type Bounds = impl '_; [INFO] [stdout] 214 + type Bounds = impl 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tests/bounds.rs:245:37 [INFO] [stdout] | [INFO] [stdout] 244 | type Bounds = impl '_; [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] 245 | fn default_lifetime(v: &'outer str) { [INFO] [stdout] | ^^^^^^ the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'outer` [INFO] [stdout] | [INFO] [stdout] 244 - type Bounds = impl '_; [INFO] [stdout] 244 + type Bounds = impl 'outer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28b0940c94f2a02d9b10dfe88e5a602a5791f3be6ed8ea48061268fff21e3b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b0940c94f2a02d9b10dfe88e5a602a5791f3be6ed8ea48061268fff21e3b35", kill_on_drop: false }` [INFO] [stdout] 28b0940c94f2a02d9b10dfe88e5a602a5791f3be6ed8ea48061268fff21e3b35