[INFO] fetching crate memory_slice 0.1.0-preview3... [INFO] testing memory_slice-0.1.0-preview3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate memory_slice 0.1.0-preview3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate memory_slice 0.1.0-preview3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bc3d2728818696ea6c40b515d2d4f8431b6d32ed74c4c02c9a9572a7c439b96 [INFO] running `Command { std: "docker" "start" "-a" "4bc3d2728818696ea6c40b515d2d4f8431b6d32ed74c4c02c9a9572a7c439b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc3d2728818696ea6c40b515d2d4f8431b6d32ed74c4c02c9a9572a7c439b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc3d2728818696ea6c40b515d2d4f8431b6d32ed74c4c02c9a9572a7c439b96", kill_on_drop: false }` [INFO] [stdout] 4bc3d2728818696ea6c40b515d2d4f8431b6d32ed74c4c02c9a9572a7c439b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c8d032d643883e6295666d1db5708baef6e1bb9459f9a6e77cbfe9c7c386e6b [INFO] running `Command { std: "docker" "start" "-a" "7c8d032d643883e6295666d1db5708baef6e1bb9459f9a6e77cbfe9c7c386e6b", kill_on_drop: false }` [INFO] [stderr] Compiling contracts v0.6.3 [INFO] [stderr] Compiling memory_slice v0.1.0-preview3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/lib.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | let (l,r) = self.inner.split_at(mid); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined here... [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[test_ensures(self.len() == ret.0.len() + ret.1.len())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[test_ensures(self.len() == ret.0.len() + ret.1.len())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn split_at(&self, mid: usize) -> (&Self, &Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[test_ensures(self.len() == ret.0.len() + ret.1.len())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected `(&Memory, &Memory)` [INFO] [stdout] found `(&Memory, &Memory)` [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[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/lib.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | let (pad, rest) = self.split_at(s0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined here... [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | #[test_ensures(ret.0.len() src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | #[test_ensures(ret.0.len() src/lib.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn align_for(&self, layout: Layout) -> (&Self, &Self, &Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | #[test_ensures(ret.0.len() src/lib.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | self.align_for(unsafe { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined here... [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[test_ensures(ret.1.len()())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[test_ensures(ret.1.len()())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/lib.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn align_for_type(&self) -> (&Self, &Self, &Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[test_ensures(ret.1.len()())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected `(&Memory, &Memory, &Memory)` [INFO] [stdout] found `(&Memory, &Memory, &Memory)` [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[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stdout] --> src/lib.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | self.align_for(Layout::for_value(v)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined here... [INFO] [stdout] --> src/lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | #[test_ensures(ret.1.len() src/lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | #[test_ensures(ret.1.len() src/lib.rs:362:37 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn align_for_val(&self, v: &T) -> (&Self, &Self, &Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/lib.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | #[test_ensures(ret.1.len()