[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] checking jsalzbergedu/example_kani/a23454bd6c11798e1432d057254df14002db253b against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsalzbergedu%2Fexample_kani" "/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/jsalzbergedu/example_kani on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b0bcf2a4727fdf1f2da607dcd27e7a750e71eb01f50f91644620df0a03e040c [INFO] running `Command { std: "docker" "start" "-a" "7b0bcf2a4727fdf1f2da607dcd27e7a750e71eb01f50f91644620df0a03e040c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b0bcf2a4727fdf1f2da607dcd27e7a750e71eb01f50f91644620df0a03e040c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0bcf2a4727fdf1f2da607dcd27e7a750e71eb01f50f91644620df0a03e040c", kill_on_drop: false }` [INFO] [stdout] 7b0bcf2a4727fdf1f2da607dcd27e7a750e71eb01f50f91644620df0a03e040c [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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5861e8d286b656cdc213be2090795cb8734b2d0cfe63df28b8f58dd4f123479b [INFO] running `Command { std: "docker" "start" "-a" "5861e8d286b656cdc213be2090795cb8734b2d0cfe63df28b8f58dd4f123479b", kill_on_drop: false }` [INFO] [stderr] Checking 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)]` 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" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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" "5861e8d286b656cdc213be2090795cb8734b2d0cfe63df28b8f58dd4f123479b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5861e8d286b656cdc213be2090795cb8734b2d0cfe63df28b8f58dd4f123479b", kill_on_drop: false }` [INFO] [stdout] 5861e8d286b656cdc213be2090795cb8734b2d0cfe63df28b8f58dd4f123479b