[INFO] cloning repository https://github.com/asGabriel/rust-exercise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asGabriel/rust-exercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasGabriel%2Frust-exercise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasGabriel%2Frust-exercise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a884a0f0d1419a82bd75d75dfbb3f79c0d255d4 [INFO] checking asGabriel/rust-exercise/6a884a0f0d1419a82bd75d75dfbb3f79c0d255d4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FasGabriel%2Frust-exercise" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asGabriel/rust-exercise on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asGabriel/rust-exercise [INFO] finished tweaking git repo https://github.com/asGabriel/rust-exercise [INFO] tweaked toml for git repo https://github.com/asGabriel/rust-exercise written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asGabriel/rust-exercise 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec0aa0b7584929d393e02974bd58c3f7e416278a7112ad15ddc8c80bb18cab42 [INFO] running `Command { std: "docker" "start" "-a" "ec0aa0b7584929d393e02974bd58c3f7e416278a7112ad15ddc8c80bb18cab42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec0aa0b7584929d393e02974bd58c3f7e416278a7112ad15ddc8c80bb18cab42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec0aa0b7584929d393e02974bd58c3f7e416278a7112ad15ddc8c80bb18cab42", kill_on_drop: false }` [INFO] [stdout] ec0aa0b7584929d393e02974bd58c3f7e416278a7112ad15ddc8c80bb18cab42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 780b0dc5291da0134e4349e0a3ef3a6c0e798e630ecf24af5173849c6ab51988 [INFO] running `Command { std: "docker" "start" "-a" "780b0dc5291da0134e4349e0a3ef3a6c0e798e630ecf24af5173849c6ab51988", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking rust-exercise v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/exercise_05.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rust-exercise v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(!is_prime(0), "0 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(!is_prime(1), "1 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(is_prime(2), "2 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | assert!(is_prime(73), "73 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!is_prime(75), "75 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(!is_prime(-1), "-1 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(is_prime(3), "3 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(is_prime(5), "5 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(is_prime(7), "7 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(is_prime(41), "41 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(is_prime(5099), "5099 is prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(!is_prime(4), "4 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(!is_prime(6), "6 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(!is_prime(8), "8 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(!is_prime(9), "9 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(!is_prime(45), "45 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!is_prime(-5), "-5 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(!is_prime(-8), "-8 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_prime` in this scope [INFO] [stdout] --> src/exercise_05.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(!is_prime(-41), "-41 is not prime"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use crate::exercise_05::is_prime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-exercise` (bin "rust-exercise" test) due to 20 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "780b0dc5291da0134e4349e0a3ef3a6c0e798e630ecf24af5173849c6ab51988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780b0dc5291da0134e4349e0a3ef3a6c0e798e630ecf24af5173849c6ab51988", kill_on_drop: false }` [INFO] [stdout] 780b0dc5291da0134e4349e0a3ef3a6c0e798e630ecf24af5173849c6ab51988