[INFO] fetching crate memory_slice 0.1.0-preview3... [INFO] checking memory_slice-0.1.0-preview3 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate memory_slice 0.1.0-preview3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate memory_slice 0.1.0-preview3 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding rstest v0.6.4 (latest: v0.18.2) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded galvanic-assert v0.8.7 [INFO] [stderr] Downloaded rstest v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 426115e1cac3761a818c47b6c6e7039b9d41ad142e6480de9243bb5a00cbad49 [INFO] running `Command { std: "docker" "start" "-a" "426115e1cac3761a818c47b6c6e7039b9d41ad142e6480de9243bb5a00cbad49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "426115e1cac3761a818c47b6c6e7039b9d41ad142e6480de9243bb5a00cbad49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426115e1cac3761a818c47b6c6e7039b9d41ad142e6480de9243bb5a00cbad49", kill_on_drop: false }` [INFO] [stdout] 426115e1cac3761a818c47b6c6e7039b9d41ad142e6480de9243bb5a00cbad49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d976b5ad0b5428a662ae2be63def78259d17bdb7dd094400c695f94fd8e4911 [INFO] running `Command { std: "docker" "start" "-a" "9d976b5ad0b5428a662ae2be63def78259d17bdb7dd094400c695f94fd8e4911", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver-parser v0.7.0 [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] 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()())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn align_for_type(&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()(&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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memory_slice` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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()())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn align_for_type(&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()(&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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memory_slice` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9d976b5ad0b5428a662ae2be63def78259d17bdb7dd094400c695f94fd8e4911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d976b5ad0b5428a662ae2be63def78259d17bdb7dd094400c695f94fd8e4911", kill_on_drop: false }` [INFO] [stdout] 9d976b5ad0b5428a662ae2be63def78259d17bdb7dd094400c695f94fd8e4911