[INFO] fetching crate emplacable 0.1.0-alpha.16... [INFO] checking emplacable-0.1.0-alpha.16 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate emplacable 0.1.0-alpha.16 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate emplacable 0.1.0-alpha.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate emplacable 0.1.0-alpha.16 [INFO] tweaked toml for crates.io crate emplacable 0.1.0-alpha.16 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emplacable 0.1.0-alpha.16 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate emplacable 0.1.0-alpha.16 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05b2ba25140817cf7a37f3689f36e1f01f3d8c44c4a7bacc814d30b971537ca2 [INFO] running `Command { std: "docker" "start" "-a" "05b2ba25140817cf7a37f3689f36e1f01f3d8c44c4a7bacc814d30b971537ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05b2ba25140817cf7a37f3689f36e1f01f3d8c44c4a7bacc814d30b971537ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b2ba25140817cf7a37f3689f36e1f01f3d8c44c4a7bacc814d30b971537ca2", kill_on_drop: false }` [INFO] [stdout] 05b2ba25140817cf7a37f3689f36e1f01f3d8c44c4a7bacc814d30b971537ca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894aafe093deafe2a89815f19281271ac638a436768379a876b93887ad324051 [INFO] running `Command { std: "docker" "start" "-a" "894aafe093deafe2a89815f19281271ac638a436768379a876b93887ad324051", kill_on_drop: false }` [INFO] [stderr] Checking emplacable v0.1.0-alpha.16 (/opt/rustwide/workdir) [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/lib.rs:309:56 [INFO] [stdout] | [INFO] [stdout] 309 | pub type WithEmplacableForFn<'a, T: ?Sized + 'a> = impl EmplacableFn + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithEmplacableForFn` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/lib.rs:309:56 [INFO] [stdout] | [INFO] [stdout] 309 | pub type WithEmplacableForFn<'a, T: ?Sized + 'a> = impl EmplacableFn + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithEmplacableForFn` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub type WithEmplacableForFn<'a, T: ?Sized + 'a> = impl EmplacableFn + 'a; [INFO] [stdout] | ------------------------- the expected opaque type [INFO] [stdout] 310 | [INFO] [stdout] 311 | pub fn with_emplacable_closure(val: &mut T) -> WithEmplacableForFn<'_, T> { [INFO] [stdout] | -------------------------- expected `WithEmplacableForFn<'_, T>` because of return type [INFO] [stdout] 312 | / move |emplacer: &mut Emplacer<'_, T>| { [INFO] [stdout] 313 | | let layout = Layout::for_value(val); [INFO] [stdout] 314 | | let metadata = ptr::metadata(val); [INFO] [stdout] ... | [INFO] [stdout] 333 | | }); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_________^ expected opaque type, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `WithEmplacableForFn<'_, T>` [INFO] [stdout] found closure `{closure@src/lib.rs:312:9: 312:46}` [INFO] [stdout] note: this item must have a `#[define_opaque(WithEmplacableForFn)]` attribute to be able to define hidden types [INFO] [stdout] --> src/lib.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn with_emplacable_closure(val: &mut T) -> WithEmplacableForFn<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub type WithEmplacableForFn<'a, T: ?Sized + 'a> = impl EmplacableFn + 'a; [INFO] [stdout] | ------------------------- the expected opaque type [INFO] [stdout] 310 | [INFO] [stdout] 311 | pub fn with_emplacable_closure(val: &mut T) -> WithEmplacableForFn<'_, T> { [INFO] [stdout] | -------------------------- expected `WithEmplacableForFn<'_, T>` because of return type [INFO] [stdout] 312 | / move |emplacer: &mut Emplacer<'_, T>| { [INFO] [stdout] 313 | | let layout = Layout::for_value(val); [INFO] [stdout] 314 | | let metadata = ptr::metadata(val); [INFO] [stdout] ... | [INFO] [stdout] 333 | | }); [INFO] [stdout] 334 | | } [INFO] [stdout] | |_________^ expected opaque type, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `WithEmplacableForFn<'_, T>` [INFO] [stdout] found closure `{closure@src/lib.rs:312:9: 312:46}` [INFO] [stdout] note: this item must have a `#[define_opaque(WithEmplacableForFn)]` attribute to be able to define hidden types [INFO] [stdout] --> src/lib.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn with_emplacable_closure(val: &mut T) -> WithEmplacableForFn<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emplacable` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `emplacable` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "894aafe093deafe2a89815f19281271ac638a436768379a876b93887ad324051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894aafe093deafe2a89815f19281271ac638a436768379a876b93887ad324051", kill_on_drop: false }` [INFO] [stdout] 894aafe093deafe2a89815f19281271ac638a436768379a876b93887ad324051