[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] checking karenhong/prusti_vec against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarenhong%2Fprusti_vec" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karenhong/prusti_vec on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4018688fbc5e280daab56a13741238da090a9b96b9bea117d345a6e6c7cd819 [INFO] running `Command { std: "docker" "start" "-a" "c4018688fbc5e280daab56a13741238da090a9b96b9bea117d345a6e6c7cd819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4018688fbc5e280daab56a13741238da090a9b96b9bea117d345a6e6c7cd819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4018688fbc5e280daab56a13741238da090a9b96b9bea117d345a6e6c7cd819", kill_on_drop: false }` [INFO] [stdout] c4018688fbc5e280daab56a13741238da090a9b96b9bea117d345a6e6c7cd819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e0ab4a59e34d8ed922a5636e99e6f85d07c7de2e652a82db2671e90acd140c4 [INFO] running `Command { std: "docker" "start" "-a" "7e0ab4a59e34d8ed922a5636e99e6f85d07c7de2e652a82db2671e90acd140c4", kill_on_drop: false }` [INFO] [stderr] Checking 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[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 `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 `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: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 `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 `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: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: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: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: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: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: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: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: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 `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 `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: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: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: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: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 `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: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 `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 `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: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: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: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: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 `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 `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: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 `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 `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: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: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: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: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: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: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: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: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: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: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: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: 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] [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` (lib) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `prusti-lib-support` (lib test) due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "7e0ab4a59e34d8ed922a5636e99e6f85d07c7de2e652a82db2671e90acd140c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0ab4a59e34d8ed922a5636e99e6f85d07c7de2e652a82db2671e90acd140c4", kill_on_drop: false }` [INFO] [stdout] 7e0ab4a59e34d8ed922a5636e99e6f85d07c7de2e652a82db2671e90acd140c4 [INFO] checking karenhong/prusti_vec against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarenhong%2Fprusti_vec" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karenhong/prusti_vec on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b675d9928b0eca2ca6f37cddb5f796cf0f9d5b46da45c4bacdc669e413e03d [INFO] running `Command { std: "docker" "start" "-a" "b3b675d9928b0eca2ca6f37cddb5f796cf0f9d5b46da45c4bacdc669e413e03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b675d9928b0eca2ca6f37cddb5f796cf0f9d5b46da45c4bacdc669e413e03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b675d9928b0eca2ca6f37cddb5f796cf0f9d5b46da45c4bacdc669e413e03d", kill_on_drop: false }` [INFO] [stdout] b3b675d9928b0eca2ca6f37cddb5f796cf0f9d5b46da45c4bacdc669e413e03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63f9e81d5cceeb62a2ee5345da74a4a2b5bbce5cf2eb9000fc2cc5e6df5fb711 [INFO] running `Command { std: "docker" "start" "-a" "63f9e81d5cceeb62a2ee5345da74a4a2b5bbce5cf2eb9000fc2cc5e6df5fb711", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "63f9e81d5cceeb62a2ee5345da74a4a2b5bbce5cf2eb9000fc2cc5e6df5fb711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f9e81d5cceeb62a2ee5345da74a4a2b5bbce5cf2eb9000fc2cc5e6df5fb711", kill_on_drop: false }` [INFO] [stdout] 63f9e81d5cceeb62a2ee5345da74a4a2b5bbce5cf2eb9000fc2cc5e6df5fb711