[INFO] fetching crate unsized-vec 0.0.2-alpha.13... [INFO] checking unsized-vec-0.0.2-alpha.13 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate unsized-vec 0.0.2-alpha.13 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate unsized-vec 0.0.2-alpha.13 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate unsized-vec 0.0.2-alpha.13 [INFO] tweaked toml for crates.io crate unsized-vec 0.0.2-alpha.13 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unsized-vec 0.0.2-alpha.13 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 unsized-vec 0.0.2-alpha.13 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded emplacable v0.1.0-alpha.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] df140691425cb64ac8c9927e5680e133e4908f47e4e1cd7ea63d11f23ec94b70 [INFO] running `Command { std: "docker" "start" "-a" "df140691425cb64ac8c9927e5680e133e4908f47e4e1cd7ea63d11f23ec94b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df140691425cb64ac8c9927e5680e133e4908f47e4e1cd7ea63d11f23ec94b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df140691425cb64ac8c9927e5680e133e4908f47e4e1cd7ea63d11f23ec94b70", kill_on_drop: false }` [INFO] [stdout] df140691425cb64ac8c9927e5680e133e4908f47e4e1cd7ea63d11f23ec94b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0760cdadac5d813f22b8fda097f60c6eb9438b829c2d99439963547ea3df0ec4 [INFO] running `Command { std: "docker" "start" "-a" "0760cdadac5d813f22b8fda097f60c6eb9438b829c2d99439963547ea3df0ec4", kill_on_drop: false }` [INFO] [stderr] Checking emplacable v0.1.0-alpha.16 [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emplacable-0.1.0-alpha.16/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emplacable-0.1.0-alpha.16/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@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emplacable-0.1.0-alpha.16/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emplacable-0.1.0-alpha.16/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] [stderr] error: could not compile `emplacable` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0760cdadac5d813f22b8fda097f60c6eb9438b829c2d99439963547ea3df0ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0760cdadac5d813f22b8fda097f60c6eb9438b829c2d99439963547ea3df0ec4", kill_on_drop: false }` [INFO] [stdout] 0760cdadac5d813f22b8fda097f60c6eb9438b829c2d99439963547ea3df0ec4