[INFO] fetching crate vstd 0.0.0-2025-08-12-1837... [INFO] testing vstd-0.0.0-2025-08-12-1837 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate vstd 0.0.0-2025-08-12-1837 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate vstd 0.0.0-2025-08-12-1837 [INFO] finished tweaking crates.io crate vstd 0.0.0-2025-08-12-1837 [INFO] tweaked toml for crates.io crate vstd 0.0.0-2025-08-12-1837 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vstd 0.0.0-2025-08-12-1837 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vstd 0.0.0-2025-08-12-1837 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded verus_builtin v0.0.0-2025-08-12-1837 [INFO] [stderr] Downloaded verus_state_machines_macros v0.0.0-2025-08-12-1837 [INFO] [stderr] Downloaded verus_builtin_macros v0.0.0-2025-08-12-1837 [INFO] [stderr] Downloaded verus_prettyplease v0.0.0-2025-08-12-1837 [INFO] [stderr] Downloaded verus_syn v0.0.0-2025-08-12-1837 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07b0afa4c4a943e3303e9d9b5aa65496f18f2e7c315981ad4e6b7144167721e4 [INFO] running `Command { std: "docker" "start" "-a" "07b0afa4c4a943e3303e9d9b5aa65496f18f2e7c315981ad4e6b7144167721e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b0afa4c4a943e3303e9d9b5aa65496f18f2e7c315981ad4e6b7144167721e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b0afa4c4a943e3303e9d9b5aa65496f18f2e7c315981ad4e6b7144167721e4", kill_on_drop: false }` [INFO] [stdout] 07b0afa4c4a943e3303e9d9b5aa65496f18f2e7c315981ad4e6b7144167721e4 [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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 095c548ce9fd44bff733561354b64263be6417a2d11ccebefe0eb2b58b71cb87 [INFO] running `Command { std: "docker" "start" "-a" "095c548ce9fd44bff733561354b64263be6417a2d11ccebefe0eb2b58b71cb87", kill_on_drop: false }` [INFO] [stderr] Compiling verus_prettyplease v0.0.0-2025-08-12-1837 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling vstd v0.0.0-2025-08-12-1837 (/opt/rustwide/workdir) [INFO] [stderr] Compiling verus_builtin v0.0.0-2025-08-12-1837 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling verus_syn v0.0.0-2025-08-12-1837 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling verus_state_machines_macros v0.0.0-2025-08-12-1837 [INFO] [stderr] Compiling verus_builtin_macros v0.0.0-2025-08-12-1837 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:529:26 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle)) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle<'_, V, Pred>)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:619:25 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle<'_, V, Pred>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.80s [INFO] running `Command { std: "docker" "inspect" "095c548ce9fd44bff733561354b64263be6417a2d11ccebefe0eb2b58b71cb87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095c548ce9fd44bff733561354b64263be6417a2d11ccebefe0eb2b58b71cb87", kill_on_drop: false }` [INFO] [stdout] 095c548ce9fd44bff733561354b64263be6417a2d11ccebefe0eb2b58b71cb87 [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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d43e9e420430c1e34bd37175bfd9efdb27b8172ea5a0676dbd4f5a99ce6e10ae [INFO] running `Command { std: "docker" "start" "-a" "d43e9e420430c1e34bd37175bfd9efdb27b8172ea5a0676dbd4f5a99ce6e10ae", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:529:26 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle)) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle<'_, V, Pred>)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:619:25 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle<'_, V, Pred>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vstd v0.0.0-2025-08-12-1837 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:529:26 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle)) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle<'_, V, Pred>)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rwlock.rs:619:25 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle) [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle<'_, V, Pred>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "d43e9e420430c1e34bd37175bfd9efdb27b8172ea5a0676dbd4f5a99ce6e10ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43e9e420430c1e34bd37175bfd9efdb27b8172ea5a0676dbd4f5a99ce6e10ae", kill_on_drop: false }` [INFO] [stdout] d43e9e420430c1e34bd37175bfd9efdb27b8172ea5a0676dbd4f5a99ce6e10ae [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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5df67156be5eb658c6008682e82a15ec0ad2670644d87c476a33d46c10ad991e [INFO] running `Command { std: "docker" "start" "-a" "5df67156be5eb658c6008682e82a15ec0ad2670644d87c476a33d46c10ad991e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> rwlock.rs:529:26 [INFO] [stderr] | [INFO] [stderr] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle)) [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 529 | pub fn acquire_write(&self) -> (ret: (V, WriteHandle<'_, V, Pred>)) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> rwlock.rs:619:25 [INFO] [stderr] | [INFO] [stderr] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle) [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 619 | pub fn acquire_read(&self) -> (read_handle: ReadHandle<'_, V, Pred>) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `vstd` (lib) generated 2 warnings (run `cargo fix --lib -p vstd` to apply 2 suggestions) [INFO] [stderr] warning: `vstd` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests vstd.rs (/opt/rustwide/target/debug/deps/vstd-a717a6719a6b3516) [INFO] [stderr] Doc-tests vstd [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test invariant.rs - invariant::open_atomic_invariant (line 353) ... FAILED [INFO] [stdout] test invariant.rs - invariant::open_local_invariant (line 480) ... FAILED [INFO] [stdout] test arithmetic/overflow.rs - arithmetic::overflow (line 13) ... FAILED [INFO] [stdout] test invariant.rs - invariant::open_local_invariant (line 459) ... FAILED [INFO] [stdout] test invariant.rs - invariant::open_local_invariant (line 505) ... FAILED [INFO] [stdout] test map.rs - map::assert_maps_equal (line 355) ... FAILED [INFO] [stdout] test map.rs - map::assert_maps_equal (line 368) ... FAILED [INFO] [stdout] test pervasive.rs - pervasive::assert_by_contradiction (line 225) ... FAILED [INFO] [stdout] test rwlock.rs - rwlock::RwLock (line 277) ... ignored [INFO] [stdout] test rwlock.rs - rwlock::RwLock (line 308) ... ignored [INFO] [stdout] test atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 299) ... FAILED [INFO] [stdout] test atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 230) ... FAILED [INFO] [stdout] test pervasive.rs - pervasive::struct_with_invariants (line 275) ... FAILED [INFO] [stdout] test calc_macro.rs - calc_macro::calc (line 17) ... FAILED [INFO] [stdout] test seq_lib.rs - seq_lib::assert_seqs_equal (line 3615) ... FAILED [INFO] [stdout] test invariant.rs - invariant::open_local_invariant (line 496) ... FAILED [INFO] [stdout] test calc_macro.rs - calc_macro::calc (line 37) ... FAILED [INFO] [stdout] test seq.rs - seq::seq (line 442) ... FAILED [INFO] [stdout] test thread.rs - thread::spawn (line 68) ... ignored [INFO] [stdout] test pervasive.rs - pervasive::struct_with_invariants (line 305) ... FAILED [INFO] [stdout] test seq_lib.rs - seq_lib::assert_seqs_equal (line 3634) ... FAILED [INFO] [stdout] test simple_pptr.rs - simple_pptr::PPtr (line 92) ... FAILED [INFO] [stdout] test tokens/frac.rs - tokens::frac::FracGhost (line 86) ... FAILED [INFO] [stdout] test set_lib.rs - set_lib::assert_sets_equal (line 1234) ... FAILED [INFO] [stdout] test set_lib.rs - set_lib::assert_sets_equal (line 1228) ... FAILED [INFO] [stdout] test simple_pptr.rs - simple_pptr::PPtr (line 118) ... FAILED [INFO] [stdout] test tokens/frac.rs - tokens::frac::GhostVarAuth (line 335) ... FAILED [INFO] [stdout] test simple_pptr.rs - simple_pptr::PPtr (line 58) ... FAILED [INFO] [stdout] test tokens/seq.rs - tokens::seq::GhostSeqAuth (line 23) ... FAILED [INFO] [stdout] test tokens/map.rs - tokens::map::GhostMapAuth (line 121) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- invariant.rs - invariant::open_atomic_invariant (line 353) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> invariant.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 3 | open_atomic_invariant($inv => $id => { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- invariant.rs - invariant::open_local_invariant (line 480) stdout ---- [INFO] [stdout] error: expected pattern, found `$` [INFO] [stdout] --> invariant.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 4 | let $id: V = /* an arbitrary value */; [INFO] [stdout] | ^ expected pattern [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- arithmetic/overflow.rs - arithmetic::overflow (line 13) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `:` [INFO] [stdout] --> arithmetic/overflow.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 14 | fn test2(a: u64, b: u64, c: u64, d: u64) -> (e: Option) [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- invariant.rs - invariant::open_local_invariant (line 459) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> invariant.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 3 | open_local_invariant($inv => $id => { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- invariant.rs - invariant::open_local_invariant (line 505) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> invariant.rs:510:32 [INFO] [stdout] | [INFO] [stdout] 3 | | open_local_invariant!(&inv => id1 => { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 4 | | ^ this invariant [INFO] [stdout] 5 | | open_local_invariant!(&inv => id2 => { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 9 | | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> invariant.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 3 | | open_local_invariant!(&inv => id1 => { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 9 | | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- map.rs - map::assert_maps_equal (line 355) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> map.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 1 | proof fn insert_remove(m: Map, k: int, v: int) [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- map.rs - map::assert_maps_equal (line 368) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> map.rs:369:7 [INFO] [stdout] | [INFO] [stdout] 1 | proof fn bitvector_maps() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- pervasive.rs - pervasive::assert_by_contradiction (line 225) stdout ---- [INFO] [stdout] error: cannot find macro `assert_by_contradiction` in this scope [INFO] [stdout] --> pervasive.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 3 | assert_by_contradiction!(b, { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::assert_by_contradiction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 299) stdout ---- [INFO] [stdout] error: cannot find macro `atomic_with_ghost` in this scope [INFO] [stdout] --> atomic_ghost.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = atomic_with_ghost!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::atomic_with_ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 230) stdout ---- [INFO] [stdout] error: cannot find macro `atomic_with_ghost` in this scope [INFO] [stdout] --> atomic_ghost.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = atomic_with_ghost!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::atomic_with_ghost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- pervasive.rs - pervasive::struct_with_invariants (line 275) stdout ---- [INFO] [stdout] error: cannot find macro `struct_with_invariants` in this scope [INFO] [stdout] --> pervasive.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 3 | struct_with_invariants!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use verus_builtin_macros::struct_with_invariants; [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::prelude::struct_with_invariants; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- calc_macro.rs - calc_macro::calc (line 17) stdout ---- [INFO] [stdout] error: cannot find macro `calc` in this scope [INFO] [stdout] --> calc_macro.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 3 | calc! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::calc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- seq_lib.rs - seq_lib::assert_seqs_equal (line 3615) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> seq_lib.rs:3616:7 [INFO] [stdout] | [INFO] [stdout] 1 | proof fn subrange_concat(s: Seq, i: int) { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- invariant.rs - invariant::open_local_invariant (line 496) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `=>` [INFO] [stdout] --> invariant.rs:497:26 [INFO] [stdout] | [INFO] [stdout] 3 | open_local_invariant(inv => id1 => { [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- calc_macro.rs - calc_macro::calc (line 37) stdout ---- [INFO] [stdout] error: cannot find macro `calc` in this scope [INFO] [stdout] --> calc_macro.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 5 | calc! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::calc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> calc_macro.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 3 | let x: int = 2; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 3 - let x: int = 2; [INFO] [stdout] 3 + let x: i32 = 2; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use verus_builtin::int; [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::prelude::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> calc_macro.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 4 | let y: int = 5; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 4 - let y: int = 5; [INFO] [stdout] 4 + let y: i32 = 5; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use verus_builtin::int; [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::prelude::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- seq.rs - seq::seq (line 442) stdout ---- [INFO] [stdout] error: cannot find macro `seq` in this scope [INFO] [stdout] --> seq.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 3 | let s = seq![11int, 12, 13]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> seq.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 5 | assert(s.len() == 3); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 5 | assert!(s.len() == 3); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> seq.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 6 | assert(s[0] == 11); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 6 | assert!(s[0] == 11); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> seq.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 7 | assert(s[1] == 12); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | assert!(s[1] == 12); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> seq.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 8 | assert(s[2] == 13); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | assert!(s[2] == 13); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- pervasive.rs - pervasive::struct_with_invariants (line 305) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> pervasive.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 1 | BoolPredicateDecl := predicate { $bool_expr } [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- seq_lib.rs - seq_lib::assert_seqs_equal (line 3634) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> seq_lib.rs:3635:7 [INFO] [stdout] | [INFO] [stdout] 1 | proof fn bitvector_seqs() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- simple_pptr.rs - simple_pptr::PPtr (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PPtr` [INFO] [stdout] --> simple_pptr.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 6 | let (p, Tracked(mut points_to)) = PPtr::::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `PPtr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::PPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 6 | let (p, Tracked(mut points_to)) = PPtr::::empty(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 9 | p.write(Tracked(&mut points_to), 5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 12 | let x = p.read(Tracked(&points_to)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 15 | p.free(Tracked(points_to)); // `points_to` is moved here [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 18 | let x2 = p.read(Tracked(&mut points_to)); // so it can't be used here [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- tokens/frac.rs - tokens::frac::FracGhost (line 86) stdout ---- [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found keyword `mut` [INFO] [stdout] --> tokens/frac.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked mut r = FracGhost::::new(123); [INFO] [stdout] | ^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- set_lib.rs - set_lib::assert_sets_equal (line 1234) stdout ---- [INFO] [stdout] error: cannot find macro `assert_sets_equal` in this scope [INFO] [stdout] --> set_lib.rs:1235:1 [INFO] [stdout] | [INFO] [stdout] 3 | assert_sets_equal!(set1 == set2, elem => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::assert_sets_equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- set_lib.rs - set_lib::assert_sets_equal (line 1228) stdout ---- [INFO] [stdout] error: cannot find macro `assert_sets_equal` in this scope [INFO] [stdout] --> set_lib.rs:1229:1 [INFO] [stdout] | [INFO] [stdout] 3 | assert_sets_equal!(set1 == set2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::assert_sets_equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- simple_pptr.rs - simple_pptr::PPtr (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PPtr` [INFO] [stdout] --> simple_pptr.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 5 | let (p, Tracked(mut perm_p)) = PPtr::::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `PPtr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::PPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 5 | let (p, Tracked(mut perm_p)) = PPtr::::empty(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PPtr` [INFO] [stdout] --> simple_pptr.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 8 | let (q, Tracked(mut perm_q)) = PPtr::::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `PPtr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::PPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 8 | let (q, Tracked(mut perm_q)) = PPtr::::empty(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 11 | p.free(Tracked(perm_p)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 14 | let x = p.read(Tracked(&mut perm_q)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- tokens/frac.rs - tokens::frac::GhostVarAuth (line 335) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `@` [INFO] [stdout] --> tokens/frac.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert(gauth@ == 1); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `@` [INFO] [stdout] --> tokens/frac.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 6 | assert(gvar@ == 1); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `.` [INFO] [stdout] --> tokens/frac.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 7 | proof { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] 8 | gauth.update(&mut gvar, 2); [INFO] [stdout] | -----^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] | [INFO] [stdout] help: try naming a field [INFO] [stdout] | [INFO] [stdout] 8 | gauth: gauth.update(&mut gvar, 2); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `2` [INFO] [stdout] --> tokens/frac.rs:341:33 [INFO] [stdout] | [INFO] [stdout] 7 | proof { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] 8 | gauth.update(&mut gvar, 2); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `assert` [INFO] [stdout] --> tokens/frac.rs:342:6 [INFO] [stdout] | [INFO] [stdout] 9 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 10 | assert(gauth@ == 2); [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `@` [INFO] [stdout] --> tokens/frac.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert(gauth@ == 2); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `@` [INFO] [stdout] --> tokens/frac.rs:344:16 [INFO] [stdout] | [INFO] [stdout] 11 | assert(gvar@ == 2); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GhostVarAuth` [INFO] [stdout] --> tokens/frac.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut gauth, mut gvar) = GhostVarAuth::::new(1); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GhostVarAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::tokens::frac::GhostVarAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `tracked` in this scope [INFO] [stdout] --> tokens/frac.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut gauth, mut gvar) = GhostVarAuth::::new(1); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- simple_pptr.rs - simple_pptr::PPtr (line 58) stdout ---- [INFO] [stdout] error: invalid comparison operator `===` [INFO] [stdout] --> simple_pptr.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 8 | assert(points_to.mem_contents() === MemContents::Uninit); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `===` is not a valid comparison operator, use `==` [INFO] [stdout] | [INFO] [stdout] 8 - assert(points_to.mem_contents() === MemContents::Uninit); [INFO] [stdout] 8 + assert(points_to.mem_contents() == MemContents::Uninit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `===` [INFO] [stdout] --> simple_pptr.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 14 | assert(points_to.mem_contents() === MemContents::Init(5)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `===` is not a valid comparison operator, use `==` [INFO] [stdout] | [INFO] [stdout] 14 - assert(points_to.mem_contents() === MemContents::Init(5)); [INFO] [stdout] 14 + assert(points_to.mem_contents() == MemContents::Init(5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PPtr` [INFO] [stdout] --> simple_pptr.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 6 | let (p, Tracked(mut points_to)) = PPtr::::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `PPtr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::PPtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 6 | let (p, Tracked(mut points_to)) = PPtr::::empty(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemContents` [INFO] [stdout] --> simple_pptr.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 8 | assert(points_to.mem_contents() === MemContents::Uninit); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemContents` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::MemContents; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemContents` [INFO] [stdout] --> simple_pptr.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 14 | assert(points_to.mem_contents() === MemContents::Init(5)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemContents` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::simple_pptr::MemContents; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert(points_to.mem_contents() === MemContents::Uninit); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 8 | assert!(points_to.mem_contents() === MemContents::Uninit); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 9 | assert(points_to.pptr() == p); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | assert!(points_to.pptr() == p); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 12 | p.write(Tracked(&mut points_to), 5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 14 | assert(points_to.mem_contents() === MemContents::Init(5)); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 14 | assert!(points_to.mem_contents() === MemContents::Init(5)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 15 | assert(points_to.pptr() == p); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 15 | assert!(points_to.pptr() == p); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 18 | let x = p.read(Tracked(&points_to)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert(x == 5); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 20 | assert!(x == 5); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tracked` in this scope [INFO] [stdout] --> simple_pptr.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 23 | let y = p.into_inner(Tracked(points_to)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `assert` [INFO] [stdout] --> simple_pptr.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 25 | assert(y == 5); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 25 | assert!(y == 5); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- tokens/seq.rs - tokens::seq::GhostSeqAuth (line 23) stdout ---- [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `sub2` [INFO] [stdout] --> tokens/seq.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 7 | let tracked sub2 = sub.split(3); [INFO] [stdout] | ^^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `seq` in this scope [INFO] [stdout] --> tokens/seq.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostSeqAuth::new(seq![0u64, 1u64, 2u64, 3u64, 4u64, 5u64], 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GhostSeqAuth` [INFO] [stdout] --> tokens/seq.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostSeqAuth::new(seq![0u64, 1u64, 2u64, 3u64, 4u64, 5u64], 0); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GhostSeqAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::tokens::seq::GhostSeqAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `tracked` in this scope [INFO] [stdout] --> tokens/seq.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostSeqAuth::new(seq![0u64, 1u64, 2u64, 3u64, 4u64, 5u64], 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- tokens/map.rs - tokens::map::GhostMapAuth (line 121) stdout ---- [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `sub2` [INFO] [stdout] --> tokens/map.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 7 | let tracked sub2 = auth.insert(map![4u8 => 4u64, 5u8 => 5u64]); [INFO] [stdout] | ^^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map` in this scope [INFO] [stdout] --> tokens/map.rs:123:57 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostMapAuth::new(map![1u8 => 1u64, 2u8 => 2u64, 3u8 => 3u64]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GhostMapAuth` [INFO] [stdout] --> tokens/map.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostMapAuth::new(map![1u8 => 1u64, 2u8 => 2u64, 3u8 => 3u64]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GhostMapAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vstd::tokens::map::GhostMapAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `tracked` in this scope [INFO] [stdout] --> tokens/map.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tracked (mut auth, mut sub) = GhostMapAuth::new(map![1u8 => 1u64, 2u8 => 2u64, 3u8 => 3u64]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] arithmetic/overflow.rs - arithmetic::overflow (line 13) [INFO] [stdout] atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 230) [INFO] [stdout] atomic_ghost.rs - atomic_ghost::atomic_with_ghost (line 299) [INFO] [stdout] calc_macro.rs - calc_macro::calc (line 17) [INFO] [stdout] calc_macro.rs - calc_macro::calc (line 37) [INFO] [stdout] invariant.rs - invariant::open_atomic_invariant (line 353) [INFO] [stdout] invariant.rs - invariant::open_local_invariant (line 459) [INFO] [stdout] invariant.rs - invariant::open_local_invariant (line 480) [INFO] [stdout] invariant.rs - invariant::open_local_invariant (line 496) [INFO] [stdout] invariant.rs - invariant::open_local_invariant (line 505) [INFO] [stdout] map.rs - map::assert_maps_equal (line 355) [INFO] [stdout] map.rs - map::assert_maps_equal (line 368) [INFO] [stdout] pervasive.rs - pervasive::assert_by_contradiction (line 225) [INFO] [stdout] pervasive.rs - pervasive::struct_with_invariants (line 275) [INFO] [stdout] pervasive.rs - pervasive::struct_with_invariants (line 305) [INFO] [stdout] seq.rs - seq::seq (line 442) [INFO] [stdout] seq_lib.rs - seq_lib::assert_seqs_equal (line 3615) [INFO] [stdout] seq_lib.rs - seq_lib::assert_seqs_equal (line 3634) [INFO] [stdout] set_lib.rs - set_lib::assert_sets_equal (line 1228) [INFO] [stdout] set_lib.rs - set_lib::assert_sets_equal (line 1234) [INFO] [stdout] simple_pptr.rs - simple_pptr::PPtr (line 118) [INFO] [stdout] simple_pptr.rs - simple_pptr::PPtr (line 58) [INFO] [stdout] simple_pptr.rs - simple_pptr::PPtr (line 92) [INFO] [stdout] tokens/frac.rs - tokens::frac::FracGhost (line 86) [INFO] [stdout] tokens/frac.rs - tokens::frac::GhostVarAuth (line 335) [INFO] [stdout] tokens/map.rs - tokens::map::GhostMapAuth (line 121) [INFO] [stdout] tokens/seq.rs - tokens::seq::GhostSeqAuth (line 23) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 27 failed; 3 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5df67156be5eb658c6008682e82a15ec0ad2670644d87c476a33d46c10ad991e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df67156be5eb658c6008682e82a15ec0ad2670644d87c476a33d46c10ad991e", kill_on_drop: false }` [INFO] [stdout] 5df67156be5eb658c6008682e82a15ec0ad2670644d87c476a33d46c10ad991e