[INFO] fetching crate unsize 1.1.0... [INFO] checking unsize-1.1.0 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] extracting crate unsize 1.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate unsize 1.1.0 [INFO] finished tweaking crates.io crate unsize 1.1.0 [INFO] tweaked toml for crates.io crate unsize 1.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unsize 1.1.0 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f00b73ecf22c7d1919d61093da207178ad161968c4d9b636d66a820c95b5228f [INFO] running `Command { std: "docker" "start" "-a" "f00b73ecf22c7d1919d61093da207178ad161968c4d9b636d66a820c95b5228f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f00b73ecf22c7d1919d61093da207178ad161968c4d9b636d66a820c95b5228f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00b73ecf22c7d1919d61093da207178ad161968c4d9b636d66a820c95b5228f", kill_on_drop: false }` [INFO] [stdout] f00b73ecf22c7d1919d61093da207178ad161968c4d9b636d66a820c95b5228f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64986951d62b91fca3667c37e447364065a53bc7425bc1053ee2e46f2aa5f9e5 [INFO] running `Command { std: "docker" "start" "-a" "64986951d62b91fca3667c37e447364065a53bc7425bc1053ee2e46f2aa5f9e5", kill_on_drop: false }` [INFO] [stderr] Compiling unsize v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_sized_ptr(self: &mut *const T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_sized_ptr(self: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_sized_ptr(self: &mut &'lt T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_sized_ptr(self: &mut &'lt mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | / /// ``` [INFO] [stdout] 409 | | /// use unsize::{Coercion, CoerceUnsize}; [INFO] [stdout] 410 | | /// fn arg0(fptr: &F) -> &dyn FnOnce() { [INFO] [stdout] 411 | | /// fptr.unsize(Coercion::<_, dyn FnOnce()>::to_fn_once()) [INFO] [stdout] ... | [INFO] [stdout] 423 | | /// arg6(&|_,_,_,_,_,_| {}); [INFO] [stdout] 424 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 425 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | / /// Ensure that using `CoerceUnsize` does not import as_sized_ptr. [INFO] [stdout] 516 | | /// [INFO] [stdout] 517 | | /// ```compile_fail [INFO] [stdout] 518 | | /// use unsize::CoerceUnsize; [INFO] [stdout] ... | [INFO] [stdout] 522 | | /// let _ = ptr.as_sized_ptr(); [INFO] [stdout] 523 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 524 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:524:1 [INFO] [stdout] | [INFO] [stdout] 524 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_sized_ptr(self: &mut *const T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_sized_ptr(self: &mut *mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_sized_ptr(self: &mut &'lt T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/lib.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_sized_ptr(self: &mut &'lt mut T) -> *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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 #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | / /// ``` [INFO] [stdout] 409 | | /// use unsize::{Coercion, CoerceUnsize}; [INFO] [stdout] 410 | | /// fn arg0(fptr: &F) -> &dyn FnOnce() { [INFO] [stdout] 411 | | /// fptr.unsize(Coercion::<_, dyn FnOnce()>::to_fn_once()) [INFO] [stdout] ... | [INFO] [stdout] 423 | | /// arg6(&|_,_,_,_,_,_| {}); [INFO] [stdout] 424 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 425 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | / /// Ensure that using `CoerceUnsize` does not import as_sized_ptr. [INFO] [stdout] 516 | | /// [INFO] [stdout] 517 | | /// ```compile_fail [INFO] [stdout] 518 | | /// use unsize::CoerceUnsize; [INFO] [stdout] ... | [INFO] [stdout] 522 | | /// let _ = ptr.as_sized_ptr(); [INFO] [stdout] 523 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 524 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:524:1 [INFO] [stdout] | [INFO] [stdout] 524 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unsize` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `unsize` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64986951d62b91fca3667c37e447364065a53bc7425bc1053ee2e46f2aa5f9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64986951d62b91fca3667c37e447364065a53bc7425bc1053ee2e46f2aa5f9e5", kill_on_drop: false }` [INFO] [stdout] 64986951d62b91fca3667c37e447364065a53bc7425bc1053ee2e46f2aa5f9e5