[INFO] fetching crate memory_slice 0.1.0-preview3...
[INFO] checking memory_slice-0.1.0-preview3 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate memory_slice 0.1.0-preview3 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate memory_slice 0.1.0-preview3 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate memory_slice 0.1.0-preview3
[INFO] finished tweaking crates.io crate memory_slice 0.1.0-preview3
[INFO] tweaked toml for crates.io crate memory_slice 0.1.0-preview3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded contracts v0.6.3
[INFO] [stderr]   Downloaded rstest v0.6.4
[INFO] [stderr]   Downloaded galvanic-assert v0.8.7
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 861a01b5a6856ab97b99c10db759f74113de5b317326da656039401555db17d7
[INFO] running `Command { std: "docker" "start" "-a" "861a01b5a6856ab97b99c10db759f74113de5b317326da656039401555db17d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "861a01b5a6856ab97b99c10db759f74113de5b317326da656039401555db17d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "861a01b5a6856ab97b99c10db759f74113de5b317326da656039401555db17d7", kill_on_drop: false }`
[INFO] [stdout] 861a01b5a6856ab97b99c10db759f74113de5b317326da656039401555db17d7
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c214e0bc7b240463a92af3c68bd5dae03a69ee8f5513df5173951809a0e19951
[INFO] running `Command { std: "docker" "start" "-a" "c214e0bc7b240463a92af3c68bd5dae03a69ee8f5513df5173951809a0e19951", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking galvanic-assert v0.8.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rstest v0.6.4
[INFO] [stderr]    Compiling contracts v0.6.3
[INFO] [stderr]     Checking memory_slice v0.1.0-preview3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Unpin` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 | use core::marker::{PhantomData, Unpin};
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Unpin` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Drop` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |     Deref, DerefMut, Drop, Index, IndexMut, Range, RangeBounds, RangeFrom, RangeFull,
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Drop` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn split_at(&self, mid: usize) -> (&Self, &Self) {
[INFO] [stdout]     |                     -                      - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     let's call the lifetime of this reference `'1`
[INFO] [stdout] 223 |         let (l,r) = self.inner.split_at(mid);
[INFO] [stdout] 224 |         (l.as_memory(), r.as_memory())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |     pub fn align_for(&self, layout: Layout) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                      -                          - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 335 |         (pad, data, rem)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 |     #[test_ensures(ret.1.len()<mem::size_of::<T>())]
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn align_for_type<T>(&self) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                              -          - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              let's call the lifetime of this reference `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `test_ensures` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:353:5
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[test_ensures(ret.1.len()<mem::size_of_val(v))]
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn align_for_val<T: ?Sized>(&self, v: &T) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                                     -                 - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     let's call the lifetime of this reference `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `test_ensures` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory_slice` (lib) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `Unpin` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 | use core::marker::{PhantomData, Unpin};
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Unpin` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Drop` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |     Deref, DerefMut, Drop, Index, IndexMut, Range, RangeBounds, RangeFrom, RangeFull,
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Drop` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `buffer` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:831:9
[INFO] [stdout]     |
[INFO] [stdout] 819 | / macro_rules! buffer {
[INFO] [stdout] 820 | |     ($size:expr,$alignment:literal) => {{
[INFO] [stdout] 821 | |         use $crate::align;
[INFO] [stdout] 822 | |         align!($alignment, $crate::BufferAs::<[u8; $size]>::new())
[INFO] [stdout] ...   |
[INFO] [stdout] 826 | |     }};
[INFO] [stdout] 827 | | }
[INFO] [stdout]     | |_- the item `buffer` is already defined here
[INFO] [stdout] ...
[INFO] [stdout] 831 |       use super::buffer;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn split_at(&self, mid: usize) -> (&Self, &Self) {
[INFO] [stdout]     |                     -                      - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     let's call the lifetime of this reference `'1`
[INFO] [stdout] 223 |         let (l,r) = self.inner.split_at(mid);
[INFO] [stdout] 224 |         (l.as_memory(), r.as_memory())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |     pub fn align_for(&self, layout: Layout) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                      -                          - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 335 |         (pad, data, rem)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 |     #[test_ensures(ret.1.len()<mem::size_of::<T>())]
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn align_for_type<T>(&self) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                              -          - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              let's call the lifetime of this reference `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `test_ensures` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/lib.rs:353:5
[INFO] [stdout]     |
[INFO] [stdout] 353 |     #[test_ensures(ret.1.len()<mem::size_of_val(v))]
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn align_for_val<T: ?Sized>(&self, v: &T) -> (&Self, &Self, &Self) {
[INFO] [stdout]     |                                     -                 - let's call the lifetime of this reference `'2`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     let's call the lifetime of this reference `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `test_ensures` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory_slice` (lib test) due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c214e0bc7b240463a92af3c68bd5dae03a69ee8f5513df5173951809a0e19951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c214e0bc7b240463a92af3c68bd5dae03a69ee8f5513df5173951809a0e19951", kill_on_drop: false }`
[INFO] [stdout] c214e0bc7b240463a92af3c68bd5dae03a69ee8f5513df5173951809a0e19951
