[INFO] fetching crate memory_slice 0.1.0-preview3...
[INFO] testing memory_slice-0.1.0-preview3 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate memory_slice 0.1.0-preview3 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate memory_slice 0.1.0-preview3 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] [stderr]       Adding rstest v0.6.4 (available: v0.23.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0f3262163f6af6407293fa61c1a546472f271a0b40ac97470bb710e232a10df
[INFO] running `Command { std: "docker" "start" "-a" "c0f3262163f6af6407293fa61c1a546472f271a0b40ac97470bb710e232a10df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0f3262163f6af6407293fa61c1a546472f271a0b40ac97470bb710e232a10df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f3262163f6af6407293fa61c1a546472f271a0b40ac97470bb710e232a10df", kill_on_drop: false }`
[INFO] [stdout] c0f3262163f6af6407293fa61c1a546472f271a0b40ac97470bb710e232a10df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d6cb38dc8851c0529cdd78d67693e9d266ce2706f5777064347c122efe863e8
[INFO] running `Command { std: "docker" "start" "-a" "4d6cb38dc8851c0529cdd78d67693e9d266ce2706f5777064347c122efe863e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling contracts v0.6.3
[INFO] [stderr]    Compiling memory_slice v0.1.0-preview3 (/opt/rustwide/workdir)
[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] [stderr] error: could not compile `memory_slice` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "4d6cb38dc8851c0529cdd78d67693e9d266ce2706f5777064347c122efe863e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d6cb38dc8851c0529cdd78d67693e9d266ce2706f5777064347c122efe863e8", kill_on_drop: false }`
[INFO] [stdout] 4d6cb38dc8851c0529cdd78d67693e9d266ce2706f5777064347c122efe863e8
