[INFO] cloning repository https://github.com/karenhong/prusti_vec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karenhong/prusti_vec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarenhong%2Fprusti_vec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarenhong%2Fprusti_vec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6ae59a4ea39261f6dcc587a5a37a99ac624d720 [INFO] testing karenhong/prusti_vec against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarenhong%2Fprusti_vec" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karenhong/prusti_vec 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 git repo https://github.com/karenhong/prusti_vec [INFO] finished tweaking git repo https://github.com/karenhong/prusti_vec [INFO] tweaked toml for git repo https://github.com/karenhong/prusti_vec written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/karenhong/prusti_vec already has a lockfile, it will not be regenerated [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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 471241021fbaeca3db6eef5720b2ea71ac4e45775721fdd9eca6ccfe6e9b5530 [INFO] running `Command { std: "docker" "start" "-a" "471241021fbaeca3db6eef5720b2ea71ac4e45775721fdd9eca6ccfe6e9b5530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "471241021fbaeca3db6eef5720b2ea71ac4e45775721fdd9eca6ccfe6e9b5530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471241021fbaeca3db6eef5720b2ea71ac4e45775721fdd9eca6ccfe6e9b5530", kill_on_drop: false }` [INFO] [stdout] 471241021fbaeca3db6eef5720b2ea71ac4e45775721fdd9eca6ccfe6e9b5530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] dd733469f96802595cb726ffb8a72d62b7ef7ac7a82a3456e1b821e650034175 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd733469f96802595cb726ffb8a72d62b7ef7ac7a82a3456e1b821e650034175", kill_on_drop: false }` [INFO] [stderr] Compiling prusti-lib-support v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `prusti_contracts` [INFO] [stdout] --> src/prusti_vec.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate prusti_contracts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[ensures="result.len() == 0"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `requires` in this scope [INFO] [stdout] --> src/prusti_vec.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[requires="capacity >= 0"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[ensures="result.len() == 0"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[ensures="result.capacity() == capacity"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pure` in this scope [INFO] [stdout] --> src/prusti_vec.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[pure] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[ensures="result >= self.len()"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[ensures="self.capacity() >= self.len()"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[ensures="self.capacity() >= old(self.len())"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[ensures="forall i: usize :: (i >= 0 && i < self.len()) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[ensures="self.len() == old(self.len()) + 1"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[ensures="forall i: usize :: (i >= 0 && i < old(self.len())) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[ensures="self.index(self.len()-1) == value"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[ensures="self.len() == old(self.len()) - 1"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[ensures="forall i: usize :: (i >= 0 && i < self.len()) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pure` in this scope [INFO] [stdout] --> src/prusti_vec.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[pure] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[ensures="result >= 0"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[ensures="self.len() == old(self.len()) + other.len()"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[ensures="self.len() == 0"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[ensures="self.len() == result.len()"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[ensures="forall i: usize :: (i >= 0 && i < result.len()) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `requires` in this scope [INFO] [stdout] --> src/prusti_vec.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[requires="index >= 0"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `requires` in this scope [INFO] [stdout] --> src/prusti_vec.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[requires="index >= 0"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pure` in this scope [INFO] [stdout] --> src/prusti_vec.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | #[pure] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[ensures="result >= 0"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[ensures="self.len() == 0 ==> true"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[ensures="self.len() != 0 ==> false"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[ensures="result == self.get(0)"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[ensures="result == self.get(self.len() - 1)"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `requires` in this scope [INFO] [stdout] --> src/prusti_vec.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[requires="a >= 0 && a < self.len() && b >= 0 && b < self.len()"] // Panics if a or b are out of bounds. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[ensures="self.len() == old(self.len())"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[ensures="self.get(a) == old(self.get(b)) && self.get(b) == old(self.get(a))"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[ensures="forall i: usize :: (i >= 0 && i < self.len() && i != a && i != b) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[ensures="self.len() == old(self.len())"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[ensures="forall i: usize, j: usize :: [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[ensures="self.len() == old(self.len())"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ensures` in this scope [INFO] [stdout] --> src/prusti_vec.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[ensures="forall i : usize :: (i >= 0 && i < self.len()) ==> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prusti-lib-support` due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "dd733469f96802595cb726ffb8a72d62b7ef7ac7a82a3456e1b821e650034175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd733469f96802595cb726ffb8a72d62b7ef7ac7a82a3456e1b821e650034175", kill_on_drop: false }` [INFO] [stdout] dd733469f96802595cb726ffb8a72d62b7ef7ac7a82a3456e1b821e650034175