[INFO] cloning repository https://github.com/jsalzbergedu/example_kani [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsalzbergedu/example_kani" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsalzbergedu%2Fexample_kani", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsalzbergedu%2Fexample_kani'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a23454bd6c11798e1432d057254df14002db253b [INFO] testing jsalzbergedu/example_kani against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsalzbergedu%2Fexample_kani" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jsalzbergedu/example_kani [INFO] finished tweaking git repo https://github.com/jsalzbergedu/example_kani [INFO] tweaked toml for git repo https://github.com/jsalzbergedu/example_kani written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jsalzbergedu/example_kani on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jsalzbergedu/example_kani 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 002eef3b5e611514e890cbbc5348fb5bb1424934452cb3496b7a9f61f732e748 [INFO] running `Command { std: "docker" "start" "-a" "002eef3b5e611514e890cbbc5348fb5bb1424934452cb3496b7a9f61f732e748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002eef3b5e611514e890cbbc5348fb5bb1424934452cb3496b7a9f61f732e748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002eef3b5e611514e890cbbc5348fb5bb1424934452cb3496b7a9f61f732e748", kill_on_drop: false }` [INFO] [stdout] 002eef3b5e611514e890cbbc5348fb5bb1424934452cb3496b7a9f61f732e748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04be5f160ea4cc3981999b2c1bb00c883ecd7652b5c63881fff267e1fc103131 [INFO] running `Command { std: "docker" "start" "-a" "04be5f160ea4cc3981999b2c1bb00c883ecd7652b5c63881fff267e1fc103131", kill_on_drop: false }` [INFO] [stderr] Compiling baby v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kani` [INFO] [stdout] --> src/main.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[kani::proof_for_contract(modify)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `kani` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kani` [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[kani::requires(arr[idx] == 1)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `kani` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kani` [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[kani::modifies(&arr[infinite_looper()])] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `kani` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kani` [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[kani::ensures(arr[idx] == 2)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `kani` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | loop {}; [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 9 | 1 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `baby` (bin "baby") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "04be5f160ea4cc3981999b2c1bb00c883ecd7652b5c63881fff267e1fc103131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04be5f160ea4cc3981999b2c1bb00c883ecd7652b5c63881fff267e1fc103131", kill_on_drop: false }` [INFO] [stdout] 04be5f160ea4cc3981999b2c1bb00c883ecd7652b5c63881fff267e1fc103131